Wan 3.0 Video API
Wan 3.0 Video API with VezAPI. Explore model capabilities, credit pricing, request parameters, and integration examples.
Wan 3.0 Video API documentation
Integrate Wan 3.0 Video with your VezAPI key. The operations below share the same authentication and account balance.
https://api.vezapi.comSend Authorization: Bearer YOUR_VEZAPI_KEY. Use a unique Idempotency-Key for each submission; reuse it only when checking the same request.
Wan 3.0 - Video
/api/v1/jobs/createTaskModel IDs: wan/3-0-video
| Parameter | Type | Description & constraints |
|---|---|---|
modelrequired | string | wan/3-0-video is the standard model. The name of the model used to generate videos. This field is required. - This endpoint must be `wan/3-0-video` Values: |
callBackUrloptional | string | The callback URL for task completion notifications. This parameter is optional. If provided, the system will send a POST request to this URL when the task is completed, regardless of whether it succeeds or fails. If not provided, no callback notification will be sent. |
inputrequired | object | Parameters for Wan 3.0 video generation. |
input.promptoptional | string | Text prompt, supporting both Chinese and English. Up to 20,000 characters. Required for text-to-video generation; for other modes, it is recommended to provide it together with media. In reference mode, use Image1/Video1/Audio1 to reference the provided media.
|
input.first_frame_urloptional | string | URL of the first-frame image. Up to 1 image, used strictly as the first frame of the video. Used for first-frame-to-video / first-and-last-frame-to-video generation. Cannot be provided together with `reference_*_urls`. Formats: JPEG/JPG, PNG (transparency not supported), BMP, WEBP; each side [240, 8000] px; aspect ratio ≤ 8:1; ≤ 20MB. |
input.last_frame_urloptional | string | URL of the last-frame image. Use together with first_frame_url. Same format limits as first_frame_url. |
input.reference_image_urlsoptional | array | Reference images for the all-purpose reference mode, with up to 10 images. Correspond to Image1, Image2, … in the prompt according to array order. Specifications are the same as `first_frame_url`. Cannot be provided together with the first-frame/last-frame parameters.
|
input.reference_video_urlsoptional | array | Reference videos for the all-purpose reference mode, with up to 5 clips. Each clip must be 1–15 seconds, with a total duration ≤ 15 seconds. Correspond to Video1, Video2, … according to array order. Formats: mp4, mov; each side [240, 4096] px; aspect ratio ≤ 8:1; each file ≤ 100MB. There is an additional constraint on the output side: the input video duration + `duration` must not exceed 30 seconds.
|
input.reference_audio_urlsoptional | array | Reference audio for the all-purpose reference mode, with up to 5 clips. Each clip must be 1–15 seconds, with a total duration ≤ 15 seconds. Correspond to Audio1, Audio2, … according to array order. Formats: wav, mp3; ≤ 15MB. Reference audio can be used as the only media input; pairing it with a reference image or video usually gives better results.
|
input.reference_file_urlsoptional | array | File-to-video generation. Up to 1 file. Cannot be provided together with `reference_link_urls`, or with the first-frame/last-frame parameters. Formats: docx/doc/xlsx/xls/pptx/ppt/pdf/txt/key/pages/numbers/md; ≤ 100MB; pdf/docx/ppt/key/pages, etc. ≤ 50 pages.
|
input.reference_link_urlsoptional | array | Link-to-video generation. Up to 1 publicly accessible webpage that does not require login. Cannot be provided together with `reference_file_urls`, or with the first-frame/last-frame parameters.
|
input.resolutionoptional | string | Output resolution. Default: **1080P**. Values: Default: |
input.aspect_ratiooptional | string | Output aspect ratio. `adaptive` (default) automatically selects the ratio based on the input media and intent. Values: Default: |
input.durationoptional | integer | Output video duration in seconds. Default: 5. Without video input, the range is [2, 30]. With reference videos: input video duration + output duration ≤ 30. Pass `-1` to use an intelligent duration determined by the model. Default: |
input.audiooptional | boolean | Whether the output video includes an audio track. Default: true. Default: |
input.seedoptional | integer | Random seed used to reproduce results. If omitted, a random seed will be used.
|
input.nsfw_checkeroptional | boolean | Defaults to false. When false, no additional content filtering is applied and results are returned directly by the model. |
Request example
curl -X POST 'https://api.vezapi.com/api/v1/jobs/createTask' \
-H 'Authorization: Bearer YOUR_VEZAPI_KEY' \
-H 'Idempotency-Key: your-unique-request-id' \
-H 'Content-Type: application/json' \
-d '{
"model": "wan/3-0-video",
"input": {
"prompt": "A kitten running across a rooftop under the moonlight, neon lights flickering in the distance, cinematic quality, with smooth camera movement.",
"resolution": "1080P",
"aspect_ratio": "adaptive",
"duration": 5
}
}'Responses and errors
HTTP 200
Request successful.
| Parameter | Type | Description & constraints |
|---|---|---|
codeoptional | integer | Status code of the request. The HTTP status is 200 even when the request fails, so always check this field: 200 means success; any other value means the request failed and msg describes the reason. Common values: 401 invalid or missing API key; 402 insufficient credits; 429 rate limit exceeded; 422 or 500 the request could not be processed (read msg and check your parameters before retrying). Values: |
msgoptional | string | Response message, error description upon failure |
datarequired | object | |
data.taskIdrequired | string | The task ID can be used with the "Get Task Details" endpoint to query the task status. |
Task status and callbacks
For asynchronous tasks, keep the returned taskId. Query GET /api/v1/jobs/recordInfo?taskId=... or provide callBackUrl when creating the task. Only the account that created a task can access it or derive new resources from it.
A timeout can mean the submission was accepted. Inspect the existing request in your dashboard; do not create another task automatically. Callback delivery is retried and may arrive more than once. Deduplicate with X-VezAPI-Event-Id.
Files, logs and billing
Generated media normally follows a 14-day provider lifetime; uploaded files expire after 24 hours. Save the files you need before expiration. VezAPI streams registered files without keeping a permanent media library. Request logs are retained for two calendar months.
Credits are reserved before submission. Final deductions match actual discounted consumption one for one. Unknown usage pauses new paid requests. If available funds cannot cover final usage while protecting other reservations, settlement stays pending until funded; model usage cannot make the wallet negative. Time-based inputs require server-side metadata reads; a failed read prevents submission.
Send a request using your VezAPI key. Successful generations use your account credits.
/api/v1/jobs/createTaskYour response will appear here.
Wan 3.0 Video API pricing
Rates below are reference estimates; final deductions equal actual discounted consumption, one for one. At the standard pack rate, 1,000 credits ≈ $10. Larger packs reduce the effective credit price.
| Specification | Credits | Unit | USD reference |
|---|---|---|---|
| wan 3.0 video, 1080p, video | 32 | per second | $0.32 |
| wan 3.0 video, 720p, video | 16 | per second | $0.16 |
| wan 3.0 video, 480p, video | 8 | per second | $0.08 |