# Wan 3.0 API on Wizzx - Model ID: `wan-3.0` (Alibaba Wan 3.0) - Submit: `POST https://api.wizzx.ai/api/v1/task/submit/wan-3.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.065/second, billed in credits; failed tasks are refunded - Page: https://wizzx.ai/model/wan-3.0 - JSON Schema: https://wizzx.ai/api/models/wan-3.0/schema - API reference: https://docs.wizzx.ai/api-reference/endpoint/submit-wan-3-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 | | ≤ 20,000 | Describe the video you want to generate | | `first_frame_image` | url | no | | | Optional opening frame URL (mutually exclusive with Reference Images). | | `last_frame_image` | url | no | | | Optional closing frame URL (requires First Frame). | | `reference_image_urls` | url[] ≤ 10 | no | | | Optional. Up to 10 reference images (mutually exclusive with First Frame). Reference images are not charged. | | `reference_audio_urls` | url[] ≤ 5 | no | | | Optional. Up to 5 reference audio clips. Reference audio is not charged. | | `duration` | integer | no | 5 | 2 – 30 | Video duration in seconds. Duration determines the total. | | `resolution` | string | no | 720p | 480p · 720p · 1080p | Resolution selects the per-second rate. | | `generate_audio` | boolean | no | true | | Audio is included by default and does not change the price. | | `aspect_ratio` | string | no | adaptive | adaptive · 16:9 · 9:16 · 1:1 · 4:3 · 3:4 | | | `seed` | integer | no | | 0 – 2147483647 | Random seed for reproducibility | ## Example body ```json { "resolution": "720p", "duration": 5, "generate_audio": true, "aspect_ratio": "adaptive", "prompt": "Night in a narrow Tokyo alley after rain. A street musician in a long coat plays a slow jazz phrase on a saxophone under a flickering neon sign, puddles reflect pink and blue light. The camera slowly dollies in from a wide shot to a medium shot. Sound: the saxophone melody, rain dripping from awnings, distant traffic." } ```