Qwen-Image
Call Qwen-Image by Alibaba through the Advanced Computing API, with one API key and prepaid pricing.
- Inputs
- Text
- Provider
- Alibaba
- Output
- Image
- Inputs
- Text
Qwen-Image is billed per generated image: $0.075 per image at 1K, the resolution it generates at.
- Aspect ratio doesn't change the price.
- A failed generation costs nothing.
What you are charged follows the pricing page. See pricing
Use the same API and key as every other Advanced Computing model. Copy the request, add your key and send it.
Input fields
The mode field is required: it names how to generate, and each mode takes its own fields. Fields ending in _url or _urls are input assets.
| Field | Type | Default | Description |
|---|---|---|---|
modeRequired | string | — | How to generate. Each mode takes its own fields. One of: text |
promptRequired | string | — | What to generate, in natural language. 1 to 2000 characters |
negative_promptOptional | string | — | What the output should avoid. Up to 2000 characters |
resolutionOptional | string | 1K | Resolution of the output. One of: 1K |
aspect_ratioOptional | string | 1:1 | Width to height ratio of the output. One of: 1:1, 4:3, 3:4, 16:9, 9:16 |
seedOptional | integer | — | Fixes the random seed, so the same input repeats its output. 0 to 2147483647 |
modeRequiredstring
How to generate. Each mode takes its own fields.
One of: text
promptRequiredstring
What to generate, in natural language.
1 to 2000 characters
negative_promptOptionalstring
What the output should avoid.
Up to 2000 characters
resolutionOptionalstring = 1K
Resolution of the output.
One of: 1K
aspect_ratioOptionalstring = 1:1
Width to height ratio of the output.
One of: 1:1, 4:3, 3:4, 16:9, 9:16
seedOptionalinteger
Fixes the random seed, so the same input repeats its output.
0 to 2147483647
curl https://advanced-computing.com/api/v1/generations \
-H "Authorization: Bearer $AC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-image-2512",
"input": {
"mode": "text",
"prompt": "A poster with the words \"Summer Sale\" over a beach at sunset",
"aspect_ratio": "3:4"
}
}'Try the model with your own parameters. Each generation is charged to your balance at the listed price.
Output
Related models
Other models with the same output to compare.
Start generating with Qwen-Image
Create an account, get your API key and send your first request.