{
  "id": "alibaba/qwen-image-2.1-turbo",
  "name": "Qwen Image 2.1 Turbo",
  "type": "image",
  "vendor": "Alibaba",
  "description": "Qwen-Image-2.1 Turbo is Alibaba's 8-step checkpoint for text-to-image generation and prompt-guided edits from up to 10 reference images.",
  "supports": [
    {
      "id": "txt->img",
      "label": "Text → Image",
      "description": "Generate an image from a text prompt"
    },
    {
      "id": "img->img",
      "label": "Image → Image",
      "description": "Transform or edit a reference image with a prompt"
    },
    {
      "id": "inputs",
      "label": "Inputs",
      "description": "Supports reference/input images"
    }
  ],
  "modes": {
    "txt->img": {},
    "img->img": {
      "inputs": {
        "rules": [
          {
            "type": "image",
            "max": 10
          }
        ]
      }
    }
  },
  "roles": [],
  "output": {
    "aspectRatios": [
      "1:1",
      "4:3",
      "3:4",
      "3:2",
      "2:3",
      "16:9",
      "9:16"
    ],
    "has4k": false,
    "autoSizeModes": []
  },
  "prompt": {
    "negativePrompt": false
  },
  "pricing": {
    "currency": "USD",
    "perImage": 0.015,
    "perInputImage": 0
  },
  "license": {
    "commercialUse": null,
    "url": null
  },
  "releaseDate": "2026-10-09",
  "version": null,
  "samples": [
    {
      "mode": "txt->img",
      "language": "ts",
      "code": "import Mynth from \"@mynthio/sdk\";\n\nconst mynth = new Mynth();\n\nconst task = await mynth.image.generate({\n  model: \"alibaba/qwen-image-2.1-turbo\",\n  prompt: \"A lighthouse at dusk, 35mm film\",\n  size: \"16:9\",\n});\n\nconsole.log(task.urls[0]);"
    },
    {
      "mode": "txt->img",
      "language": "curl",
      "code": "curl https://api.mynth.io/image/generate \\\n  -H \"Authorization: Bearer $MYNTH_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"model\": \"alibaba/qwen-image-2.1-turbo\",\n    \"prompt\": \"A lighthouse at dusk, 35mm film\",\n    \"size\": \"16:9\"\n  }'"
    },
    {
      "mode": "txt->img",
      "language": "cli",
      "code": "npx @mynthio/cli image generate \\\n  -m alibaba/qwen-image-2.1-turbo \\\n  -p \"A lighthouse at dusk, 35mm film\" \\\n  -s 16:9"
    },
    {
      "mode": "img->img",
      "language": "ts",
      "code": "import Mynth from \"@mynthio/sdk\";\n\nconst mynth = new Mynth();\n\nconst task = await mynth.image.generate({\n  model: \"alibaba/qwen-image-2.1-turbo\",\n  prompt: \"The same lighthouse, now in heavy fog\",\n  inputs: [\"https://cdn.example.com/lighthouse.png\"],\n});\n\nconsole.log(task.urls[0]);"
    },
    {
      "mode": "img->img",
      "language": "curl",
      "code": "curl https://api.mynth.io/image/generate \\\n  -H \"Authorization: Bearer $MYNTH_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"model\": \"alibaba/qwen-image-2.1-turbo\",\n    \"prompt\": \"The same lighthouse, now in heavy fog\",\n    \"inputs\": [\"https://cdn.example.com/lighthouse.png\"]\n  }'"
    },
    {
      "mode": "img->img",
      "language": "cli",
      "code": "npx @mynthio/cli image generate \\\n  -m alibaba/qwen-image-2.1-turbo \\\n  -p \"The same lighthouse, now in heavy fog\" \\\n  -i https://cdn.example.com/lighthouse.png"
    }
  ],
  "showcase": [],
  "guide": null,
  "links": {
    "page": "https://mynth.io/models/alibaba%2Fqwen-image-2.1-turbo",
    "json": "https://mynth.io/models/alibaba%2Fqwen-image-2.1-turbo.json",
    "txt": "https://mynth.io/models/alibaba%2Fqwen-image-2.1-turbo.txt",
    "md": "https://mynth.io/models/alibaba%2Fqwen-image-2.1-turbo.md",
    "playground": "https://mynth.io/playground?_m=alibaba%2Fqwen-image-2.1-turbo",
    "homepage": "https://qwen.ai/blog?id=qwen-image-2.1",
    "quickstart": "https://mynth.io/docs/getting-started.md",
    "sdk": "https://mynth.io/docs/sdks/typescript.md",
    "apiDocs": "https://mynth.io/docs/api-reference/endpoints/image/generate.md"
  },
  "family": [
    {
      "id": "alibaba/qwen-image-2.0",
      "name": "Qwen Image 2.0",
      "page": "https://mynth.io/models/alibaba%2Fqwen-image-2.0",
      "md": "https://mynth.io/models/alibaba%2Fqwen-image-2.0.md"
    },
    {
      "id": "alibaba/qwen-image-2.0-pro",
      "name": "Qwen Image 2.0 Pro",
      "page": "https://mynth.io/models/alibaba%2Fqwen-image-2.0-pro",
      "md": "https://mynth.io/models/alibaba%2Fqwen-image-2.0-pro.md"
    },
    {
      "id": "alibaba/qwen-image-2.1-pro",
      "name": "Qwen Image 2.1 Pro",
      "page": "https://mynth.io/models/alibaba%2Fqwen-image-2.1-pro",
      "md": "https://mynth.io/models/alibaba%2Fqwen-image-2.1-pro.md"
    },
    {
      "id": "alibaba/qwen-image-3.0",
      "name": "Qwen Image 3.0",
      "page": "https://mynth.io/models/alibaba%2Fqwen-image-3.0",
      "md": "https://mynth.io/models/alibaba%2Fqwen-image-3.0.md"
    },
    {
      "id": "alibaba/qwen-image-3.0-pro",
      "name": "Qwen Image 3.0 Pro",
      "page": "https://mynth.io/models/alibaba%2Fqwen-image-3.0-pro",
      "md": "https://mynth.io/models/alibaba%2Fqwen-image-3.0-pro.md"
    }
  ],
  "similar": [
    {
      "id": "black-forest-labs/flux.2-dev",
      "name": "FLUX.2 Dev",
      "page": "https://mynth.io/models/black-forest-labs%2Fflux.2-dev",
      "md": "https://mynth.io/models/black-forest-labs%2Fflux.2-dev.md"
    },
    {
      "id": "meta/muse-image",
      "name": "Muse Image",
      "page": "https://mynth.io/models/meta%2Fmuse-image",
      "md": "https://mynth.io/models/meta%2Fmuse-image.md"
    },
    {
      "id": "krea/krea-2-turbo",
      "name": "Krea 2 Turbo",
      "page": "https://mynth.io/models/krea%2Fkrea-2-turbo",
      "md": "https://mynth.io/models/krea%2Fkrea-2-turbo.md"
    },
    {
      "id": "microsoft/mai-image-2.6-flash",
      "name": "MAI Image 2.6 Flash",
      "page": "https://mynth.io/models/microsoft%2Fmai-image-2.6-flash",
      "md": "https://mynth.io/models/microsoft%2Fmai-image-2.6-flash.md"
    },
    {
      "id": "tongyi-mai/z-image",
      "name": "Z-Image",
      "page": "https://mynth.io/models/tongyi-mai%2Fz-image",
      "md": "https://mynth.io/models/tongyi-mai%2Fz-image.md"
    }
  ]
}