About Qwen Image 2.0
Qwen Image 2.0 is the accelerated tier of Alibaba's Qwen Image 2.0 series, trading a little of the Pro model's fidelity for faster, cheaper generation while keeping the same text-to-image and editing workflow.
It renders any size from 512x512 up to 2048x2048 total pixels with 2K output by default, takes up to three input images for edits and multi-image composition, and can return up to six candidates per call. Use it for drafts, iteration, and volume work where the Pro tier is more than the job needs.
Prompts are limited to 1,300 tokens and weights are not published.
| Metric | Value |
|---|---|
| Context Length | 1,300 tokens |
| Max Resolution | 2048x2048 (2K) |
| Multilingual | Yes (Chinese, English) |
Ready to build with Qwen Image 2.0?
Try Qwen Image 2.0 in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.
curl -sSf -X POST https://hub.oxen.ai/api/ai/images/edit \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OXEN_API_KEY" \
-d '{
"model": "qwen-image-2",
"prompt": "A retro travel poster reading \"OXEN\" in bold condensed type, an ox on a mountain ridge at golden hour, clean vector illustration with a balanced layout",
"aspect_ratio": "16:9",
"resolution": "2K",
"num_images": 1,
"enable_prompt_expansion": true,
"watermark": false
}'Request parameters
Every field Qwen Image 2.0 accepts in the request body. See the API reference for response formats.
https://hub.oxen.ai/api/ai/images/edit| Field | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | — | Text prompt describing the image to generate, or the edit to apply. Use @Image1, @Image2, etc. to reference the input images. |
input_images | array<string>nullable | No | — | Optional input images to edit or combine. The output keeps the aspect ratio of the last image unless an aspect ratio is chosen. Reference them in the prompt as @Image1, @Image2, etc. Up to 3 images. |
aspect_ratio | string | No | "16:9" | auto16:99:161:14:33:4 |
resolution | string | No | "2K" | 1K2K |
num_images | integer | No | 1 | Number of images to generate, 1 to 6. Only the first is returned; all are billed. Range: 1 – 6 |
enable_prompt_expansion | boolean | No | true | Let the model rewrite the prompt with more detail before rendering. Turn off for tighter control over the wording. |
negative_prompt | string | No | — | What to keep out of the image. Up to 500 characters. |
seed | integernullable | No | — | Seed for reproducible generation, 0 to 2147483647. Results can still vary between runs. |
watermark | boolean | No | false | Add an AI-generated watermark in the bottom-right corner. |