# Qwen Image 2.1 Pro ID: alibaba/qwen-image-2.1-pro Type: image generation Vendor: Alibaba Released: 2026-09-20 Description: Qwen-Image-2.1 Pro is Alibaba's Pro tier for text-to-image generation and prompt-guided edits from up to 10 reference images. ## Modes and inputs - Text → Image (`txt->img`) - Prompt only, no input images - Image → Image (`img->img`) - any image: up to 10 ## Output - Aspect ratios: 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16. Other ratios snap to the closest one. - Auto size: Without `size` (or with `"auto"`), an input marked `as: "source"` sets the shape; with none marked, Mynth keeps the first input's shape when the prompt edits it and picks a ratio for the prompt when it describes a new scene; with no inputs, it picks a ratio for the prompt. See Sizes in https://mynth.io/docs/guides/generate-images.md. - 4K: no - Negative prompt: not supported (dropped, no error) ## Pricing (USD) - Per image: $0.075 - Per input image: Free, charged once for each image it goes into - Only successful results are charged. ## Usage Set the request's `model` field to `alibaba/qwen-image-2.1-pro`. Always pass it explicitly. TypeScript SDK, Text → Image: ```ts import Mynth from "@mynthio/sdk"; const mynth = new Mynth(); const task = await mynth.image.generate({ model: "alibaba/qwen-image-2.1-pro", prompt: "A lighthouse at dusk, 35mm film", size: "16:9", }); console.log(task.urls[0]); ``` REST (cURL), Text → Image: ```bash curl https://api.mynth.io/image/generate \ -H "Authorization: Bearer $MYNTH_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "alibaba/qwen-image-2.1-pro", "prompt": "A lighthouse at dusk, 35mm film", "size": "16:9" }' ``` CLI, Text → Image: ```bash npx @mynthio/cli image generate \ -m alibaba/qwen-image-2.1-pro \ -p "A lighthouse at dusk, 35mm film" \ -s 16:9 ``` TypeScript SDK, Image → Image: ```ts import Mynth from "@mynthio/sdk"; const mynth = new Mynth(); const task = await mynth.image.generate({ model: "alibaba/qwen-image-2.1-pro", prompt: "The same lighthouse, now in heavy fog", inputs: ["https://cdn.example.com/lighthouse.png"], }); console.log(task.urls[0]); ``` REST (cURL), Image → Image: ```bash curl https://api.mynth.io/image/generate \ -H "Authorization: Bearer $MYNTH_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "alibaba/qwen-image-2.1-pro", "prompt": "The same lighthouse, now in heavy fog", "inputs": ["https://cdn.example.com/lighthouse.png"] }' ``` CLI, Image → Image: ```bash npx @mynthio/cli image generate \ -m alibaba/qwen-image-2.1-pro \ -p "The same lighthouse, now in heavy fog" \ -i https://cdn.example.com/lighthouse.png ``` ## Links - Model page: https://mynth.io/models/alibaba%2Fqwen-image-2.1-pro - Playground: https://mynth.io/playground?_m=alibaba%2Fqwen-image-2.1-pro - Vendor page: https://qwen.ai/blog?id=qwen-image-2.1 - API docs (image generation request): https://mynth.io/docs/api-reference/endpoints/image/generate.md - Quickstart: https://mynth.io/docs/getting-started.md - SDK (JS/TS): https://mynth.io/docs/sdks/typescript.md - This page as JSON: https://mynth.io/models/alibaba%2Fqwen-image-2.1-pro.json ## More from Alibaba - Qwen Image 2.0 [alibaba/qwen-image-2.0]: https://mynth.io/models/alibaba%2Fqwen-image-2.0.md - Qwen Image 2.0 Pro [alibaba/qwen-image-2.0-pro]: https://mynth.io/models/alibaba%2Fqwen-image-2.0-pro.md - Qwen Image 2.1 Turbo [alibaba/qwen-image-2.1-turbo]: https://mynth.io/models/alibaba%2Fqwen-image-2.1-turbo.md - Qwen Image 3.0 [alibaba/qwen-image-3.0]: https://mynth.io/models/alibaba%2Fqwen-image-3.0.md - Qwen Image 3.0 Pro [alibaba/qwen-image-3.0-pro]: https://mynth.io/models/alibaba%2Fqwen-image-3.0-pro.md ## Similar models - FLUX.2 Max [black-forest-labs/flux.2-max]: https://mynth.io/models/black-forest-labs%2Fflux.2-max.md - Krea 2 Large [krea/krea-2-large]: https://mynth.io/models/krea%2Fkrea-2-large.md - FLUX.2 Flex [black-forest-labs/flux.2-flex]: https://mynth.io/models/black-forest-labs%2Fflux.2-flex.md - Ideogram [ideogram/ideogram]: https://mynth.io/models/ideogram%2Fideogram.md - Ideogram 4.5 [ideogram/ideogram-4.5]: https://mynth.io/models/ideogram%2Fideogram-4.5.md