Wan 3.0 Video Prime API
Wan 3.0 Video Prime API with VezAPI. Explore model capabilities, credit pricing, request parameters, and integration examples.
Wan 3.0 Video Prime API documentation
Integrate Wan 3.0 Video Prime 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 Prime
/api/v1/jobs/createTaskModel IDs: wan/3-0-video-prime
| Parameter | Type | Description & constraints |
|---|---|---|
modelrequired | string | wan/3-0-video-prime is a high-speed model. The model name used to generate videos. This field is required. - This endpoint must be `wan/3-0-video-prime` Values: |
callBackUrloptional | string | Callback URL for task completion notifications. This parameter is optional. If provided, the system sends a POST request to this URL when the task is completed, regardless of whether it succeeds or fails. If not provided, no callback notification is sent. |
inputrequired | object | Parameters for Wan 3.0 video generation. |
input.promptoptional | string | Text prompt. Chinese and English are supported. Up to 20,000 characters. Required for text-to-video; for other modes, it is recommended to provide it together with media. In reference mode, use Image1/Video1/Audio1 to reference the provided materials.
|
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 or 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 all-purpose reference mode. Up to 10 images. Correspond to Image1, Image2, and so on in the prompt according to array order. Same specifications as `first_frame_url`. Cannot be provided together with the first-frame or last-frame image.
|
input.reference_video_urlsoptional | array | Reference videos for all-purpose reference mode. Up to 5 videos. Each video must be 1–15s, with a combined duration of ≤ 15s. Correspond to Video1, Video2, and so on according to array order. Formats: mp4, mov; each side [240, 4096] px; aspect ratio ≤ 8:1; each file ≤ 100MB. There is an additional output-side limit: the input video duration plus `duration` cannot exceed 30 seconds.
|
input.reference_audio_urlsoptional | array | Reference audio files for all-purpose reference mode. Up to 5 audio files. Each file must be 1–15s, with a combined duration of ≤ 15s. Correspond to Audio1, Audio2, and so on 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 image. 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 image.
|
input.resolutionoptional | string | Output resolution level. Default: **1080P**. Values: Default: |
input.aspect_ratiooptional | string | Output aspect ratio. `adaptive` (default) automatically selects the aspect ratio based on the input materials and intent. Values: Default: |
input.durationoptional | integer | Output video duration in seconds. Default: 5. When there is no video input, the value must be within [2, 30]. When reference videos are provided: input video duration plus 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 is 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-prime",
"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 Prime 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 |
|---|---|---|---|
| wan3.0 video prime, 1080p, video | 50.4 | per second | $0.504 |
| wan3.0 video prime, 720p, video | 25.2 | per second | $0.252 |
| wan3.0 video prime, 480p, video | 12.2 | per second | $0.122 |