# Wan 2.7 Image Pro API on Wizzx - Model ID: `wan-2.7-image-pro` (Alibaba Wan 2.7 Image Pro) - Submit: `POST https://api.wizzx.ai/api/v1/task/submit/wan-2.7-image-pro` - 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.084/image, billed in credits; failed tasks are refunded - Page: https://wizzx.ai/model/wan-2.7-image-pro - JSON Schema: https://wizzx.ai/api/models/wan-2.7-image-pro/schema - API reference: https://docs.wizzx.ai/api-reference/endpoint/submit-wan-2-7-image-pro ## 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 · 4K | All resolutions share the same price; 4K is supported for text-to-image without reference images. | | `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": "Editorial product photograph of a handmade ceramic teapot with a pale celadon crackle glaze on a walnut table. Steam curls from the spout, two small cups and a sprig of jasmine sit beside it, morning window light from the side, shallow depth of field, ultra-detailed glaze texture." } ```