Wan 3.0 Video API
Alibaba's Wan 3.0 text-to-video at 1080p
wan3-videoAsync taskvideoLive price on TokPort: $0.62 per secondFields marked * are required. The same definitions are published as OpenAPI 3.0 (https://tokport.io/api/openapi?model=wan3-video), ready for code generators and agents.
Text to video
POST /v1/videosInput
| Field | Type | Description |
|---|---|---|
| model* | string | Model id. Always "wan3-video". |
| prompt* | string | What should happen in the clip: subject, motion, camera move and mood. |
| seconds | string (enum) | Clip length in seconds. Billed per second of output.4568101215default: 5 |
| ratio | string (enum) | Frame aspect ratio.16:99:16default: 16:9 |
Output
Asynchronous. The submit response returns a task `id` with status `queued`. Poll `GET /v1/videos/{id}` until `status` is `completed` (progress 0–100), then download bytes from `GET /v1/videos/{id}/content`. Failed tasks are refunded.
{
"id": "task_gz9n3dcAaaJ942r9iXjyLzvW7CU9W9eG",
"object": "video",
"model": "seedance-2-0",
"status": "queued",
"progress": 0,
"created_at": 1791535189
}Runnable example: API tab.