# Wan 2.7 Image API on Wizzx - Model ID: `wan-2.7-image` (Alibaba Wan 2.7 Image) - Submit: `POST https://api.wizzx.ai/api/v1/task/submit/wan-2.7-image` - 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.034/image, billed in credits; failed tasks are refunded - Page: https://wizzx.ai/model/wan-2.7-image - JSON Schema: https://wizzx.ai/api/models/wan-2.7-image/schema - API reference: https://docs.wizzx.ai/api-reference/endpoint/submit-wan-2-7-image ## 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 | | ≤ 4,000 | Describe the image to generate or the edit to apply. | | `image_urls` | url[] ≤ 9 | no | | | Optional. Up to 9 reference images. Reference images are not charged. | | `aspect_ratio` | string | no | 1:1 | 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 | | | `resolution` | string | no | 2K | 1K · 2K | 1K and 2K cost the same. | | `thinking_mode` | boolean | no | | | Enable layout and composition reasoning before rendering. | | `negative_prompt` | string | no | | ≤ 1,000 | Elements to avoid in the generated image. | | `seed` | integer | no | | 0 – … | Random seed for reproducibility | ## Example body ```json { "aspect_ratio": "1:1", "resolution": "2K", "prompt": "Cinematic still: a red vintage tram crossing an old stone bridge over a misty river at sunrise in a European city. Warm low sun breaks through the fog, a few small figures walk on the bridge, birds lift off the water. Photorealistic, 35mm film look, soft volumetric light, natural color." } ```