Image model
Qwen Image 2.1 Pro
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.
alibaba/qwen-image-2.1-proAPI
Call Qwen Image 2.1 Pro
Every model takes the same request, so switching to Qwen Image 2.1 Pro is a change to the model field. These samples are written for its own contract and send as they are.
Specifications
What Qwen Image 2.1 Pro accepts
Read from the same registry the API validates against. A request outside it is refused when the task is created, before anything is charged.
Modes and inputs
- Text → Image
- Prompt only
- Image → Image
- Up to 10 images
Output
- Aspect ratios
- 1:1
- 4:3
- 3:4
- 3:2
- 2:3
- 16:9
- 9:16
Leave out
size, or sendauto, and Mynth picks one for the prompt. Any other ratio snaps to the closest of these. Sizes- 4K
- No. A 4k size fails the task
Prompt
- Negative prompt
- Not supported. Dropped before the provider call, no error
The contract as GET /models returns it
{
"modes": {
"txt->img": {},
"img->img": {
"inputs": {
"rules": [
{
"type": "image",
"max": 10
}
]
}
}
}
}Pricing
What it costs
Pay per result, in USD, with no subscription. A failed image or video costs nothing. How pricing works
Rates
- Image
- $0.075 / image
- Input image
- Free
Estimate a request
1 × $0.075
Held when the task is created. Only images that succeed are charged.