# Wan 2.2 Speech-to-Video API on Wizzx - Model ID: `wan-2.2-speech-to-video` (Alibaba Wan 2.2 Speech-to-Video) - Submit: `POST https://api.wizzx.ai/api/v1/task/submit/wan-2.2-speech-to-video` - 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.093/second, billed in credits; failed tasks are refunded - Page: https://wizzx.ai/model/wan-2.2-speech-to-video - JSON Schema: https://wizzx.ai/api/models/wan-2.2-speech-to-video/schema - API reference: https://docs.wizzx.ai/api-reference/endpoint/submit-wan-2-2-speech-to-video ## 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 | | ≤ 2,000 | Describe the video you want to generate | | `image_url` | url | yes | | | Required. Upload a clear portrait or character image URL. | | `audio_url` | url | yes | | | Required. Upload speech audio URL to drive lip sync. | | `resolution` | string | no | 480p | 480p · 580p · 720p | Resolution selects the per-second rate. | | `duration` | integer | no | 5 | 3 – 7 | Video duration in seconds. Duration determines the total. | | `negative_prompt` | string | no | | ≤ 500 | What you don't want in the video (max 500 characters) | | `seed` | integer | no | | 0 – … | Random seed for reproducibility | ## Example body ```json { "resolution": "480p", "duration": 5, "image_url": "https://example.com/input.jpg", "audio_url": "https://example.com/input.mp3", "prompt": "A slow aerial push-in over a coastal cliff road at golden hour, cinematic motion" } ```