# Qwen Image 2.0 API on Wizzx - Model ID: `qwen-image-2.0` (Alibaba Qwen Image 2.0) - Submit: `POST https://api.wizzx.ai/api/v1/task/submit/qwen-image-2.0` - Status: `GET https://api.wizzx.ai/api/v1/task/{task_id}` - Idempotency: optional `Idempotency-Key: ` header on submit - Auth: header `Authorization: Bearer $WIZZX_API_KEY` (server-side only) - Price: from $0.031/image, billed in credits; failed tasks are refunded - Page: https://wizzx.ai/model/qwen-image-2.0 - JSON Schema: https://wizzx.ai/api/models/qwen-image-2.0/schema - API reference: https://docs.wizzx.ai/api-reference/endpoint/submit-qwen-image-2-0 ## Flow 1. POST the JSON body to the submit URL. The response contains `data.task_id`. 2. Poll `GET /api/v1/task/{task_id}` until `data.status` is `SUCCEEDED`, then read the output URLs from `data.result_urls`. 3. Stop on `FAILED` or `REVIEW_REQUIRED`. Do not resubmit automatically. ## Parameters | Field | Type | Required | Default | Allowed | Description | |---|---|---|---|---|---| | `prompt` | string | yes | | ≤ 800 | Describe the image to generate or the edit to apply. | | `image_urls` | url[] ≤ 3 | no | | | Optional. Add up to 3 images to edit or guide the result. Reference images are not charged. | | `aspect_ratio` | string | no | 1:1 | 1:1 · 4:3 · 3:4 · 16:9 · 9:16 · 3:2 · 2:3 | Choose the output canvas. This does not change the price. | | `resolution` | string | no | 1K | 1K · 2K | 1K and 2K cost the same. | | `negative_prompt` | string | no | | ≤ 500 | What to avoid in the image (max 500 characters). | ## Example body ```json { "aspect_ratio": "1:1", "resolution": "1K", "prompt": "A minimalist poster with a bold serif headline" } ```