Wan 3.0 Prime API (wan3.0-video-prime) on APIMart is the Prime model in Alibaba's Wan 3.0 series. It accepts exactly the same parameters as wan3.0-video: a prompt, first and last frames, or image, video, audio, document and webpage references, for 2 to 30 second video at 480P, 720P or 1080P with audio on by default. It has its own model ID and per-second price.
Service Highlights
Generate from a prompt alone or add image, video, and audio references
General / reference lane
Use a prompt alone or add references, documents, or webpages
Frame lane
The first frame is required and the last frame is optional
Frame inputs cannot be mixed with reference images, videos, audio, files, or webpages in one request.
Enter a prompt or add at least one reference image, video, or audio item.
Upload up to 5 WAV/MP3 files, each 1–15 seconds and 15 MB; total duration up to 15 seconds.
WAV, MP3 (max 15MB, up to 5 audios, duration ≤ 15s)
0/5 audio items added. Uploaded files and URLs share the same limit.
Choose auto duration (-1) or an integer from 2 to 30 seconds. With reference video, input plus output duration cannot exceed 30 seconds.
1080P is the default and highest-priced resolution tier.
Generate an audio track by default. Turning it off does not change the price.
Add the provider watermark to the generated video.
Stored on the APIMart CDN
Transparent pricing with no hidden fees. Pay only for what you use.
| Variant | Tier | GoldCurrent price | Platinum | Diamond | Official | Your savings |
|---|---|---|---|---|---|---|
wan3.0-video-prime | 480P | 0.5143Credits(~$0.0514)/sec | 0.4886Credits(~$0.0489)/sec | 0.4629Credits(~$0.0463)/sec | 0.6429Credits(~$0.0643)/sec | 20% |
| 720P | 1.0286Credits(~$0.1029)/sec | 0.9771Credits(~$0.0977)/sec | 0.9257Credits(~$0.0926)/sec | 1.2857Credits(~$0.1286)/sec | 20% | |
| 1080P | 2.0571Credits(~$0.2057)/sec | 1.9543Credits(~$0.1954)/sec | 1.8514Credits(~$0.1851)/sec | 2.5714Credits(~$0.2571)/sec | 20% |
* Actual costs are subject to final output.
* Total cost = (reference video duration + generated video duration) × the selected model and resolution’s original per-second price × its actual payable percentage ÷ 100.
Call Wan 3.0 Prime on APIMart with the same request as Wan 3.0: text, first and last frames or multimodal references in, a 2 to 30 second video at 480P, 720P or 1080P out, with audio on by default and per-second billing.
50K+
Active Users
99.9%
Uptime
2x
Faster
—
Cost Savings
Call Wan 3.0 Prime on APIMart with one POST request. Generation is asynchronous: submit a task, then poll the task endpoint for the video URL.
Save your APIMart key in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.
POST /v1/videos/generations with model wan3.0-video-prime, your prompt, duration, resolution and size. Add two image_urls for first and last frames. The task ID is in data[0].task_id.
Poll GET /v1/tasks/{task_id} until status is completed, then read the video URL from data.result.videos[0].url[0] and save the file to your own storage.
Wan 3.0 Prime shares the Wan 3.0 API reference, which lists every parameter, input rule and response field.
curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan3.0-video-prime",
"prompt": "A lighthouse keeper climbs a spiral staircase at night, lantern light sweeping the walls, waves crashing outside, slow upward tracking shot",
"duration": 5,
"resolution": "720P",
"size": "16:9"
}'import os
import time
import requests
API_BASE = "https://api.apimart.ai"
headers = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}"}
# 1. Submit the generation task
payload = {
"model": "wan3.0-video-prime",
"prompt": "A lighthouse keeper climbs a spiral staircase at night, lantern light sweeping the walls, waves crashing outside, slow upward tracking shot",
"duration": 5,
"resolution": "720P",
"size": "16:9"
}
resp = requests.post(f"{API_BASE}/v1/videos/generations", headers=headers, json=payload, timeout=60)
resp.raise_for_status()
task_id = resp.json()["data"][0]["task_id"]
# 2. Poll the task until it finishes
for _ in range(200):
task_resp = requests.get(f"{API_BASE}/v1/tasks/{task_id}", headers=headers, timeout=30)
task_resp.raise_for_status()
task = task_resp.json()["data"]
if task["status"] == "completed":
print(task["result"]["videos"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(10)
else:
raise TimeoutError(f"task {task_id} did not finish in time; continue GET polling with this task ID")curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan3.0-video-prime",
"prompt": "The camera moves from the first frame to the last frame as the city lights switch on at dusk",
"image_urls": [
"https://example.com/frame-start.jpg",
"https://example.com/frame-end.jpg"
],
"duration": 5,
"resolution": "720P"
}'TASK_ID="task_xxx" # replace with the task_id returned by the POST request
curl "https://api.apimart.ai/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIMART_API_KEY"| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Required | Default: wan3.0-video-prime | wan3.0-video-prime. wan3.0-video accepts the same parameters at a lower price. |
prompt | string | Required | Default: — | Scene, motion, camera and sound description, up to 20,000 characters. Optional when you send image, video, audio, file or link inputs. |
duration | integer | Optional | Default: 5 | Length in seconds, 2 to 30, or -1 to let the model choose. With a reference video, input plus output must stay within 30 seconds. |
resolution | string | Optional | Default: 1080P | 480P, 720P or 1080P. Price per second rises with resolution. |
size | string | Optional | Default: adaptive | adaptive, 16:9, 4:3, 1:1, 3:4 or 9:16. |
audio | boolean | Optional | Default: true | Generate a soundtrack. Does not change the price. |
image_urls | array | Optional | Default: — | Public image URLs. Without other media, the first is the first frame and the second the last frame; with video, audio, file or link inputs they become reference images (up to 10). |
image_with_roles | array | Optional | Default: — | Images with an explicit role: first_frame, last_frame or reference_image. |
generation_type | string | Optional | Default: — | frame or reference. Decides how bare image_urls are used. |
video_urls | array | Optional | Default: — | Up to 5 reference clips (mp4 or mov), up to 15 seconds in total. |
audio_urls | array | Optional | Default: — | Up to 5 reference audio clips (wav or mp3), up to 15 seconds in total. audio_url accepts a single clip. |
file_url / link_url | string | Optional | Default: — | One document (up to 100 MB and 50 pages) or one public webpage. Use one or the other, not both. |
seed | integer | Optional | Default: — | 0 to 2147483647 for more repeatable results. |
watermark | boolean | Optional | Default: false | Add a watermark to the output. |
nsfw_check | boolean | Optional | Default: false | Moderate the prompt and input images with omni-moderation-latest before submission. |
Compare every Alibaba Wan video model on APIMart. One API key calls all of them, billed per second of video.
| Model | Best for | Resolution | Duration |
|---|---|---|---|
| Wan 3.0 API | Longest Wan clips, with first and last frames or image, video, audio, document and webpage references | 480P / 720P / 1080P | 2–30 s |
| Wan 3.0 Prime APIThis page | Same parameters as Wan 3.0 under a separate model and price | 480P / 720P / 1080P | 2–30 s |
| Wan 2.7 API | Text to video, first and last frames, video continuation and audio-driven clips | 720P / 1080P | 2–15 s |
| Wan 2.7 R2V API | Keeping characters consistent from reference images or videos | 720P / 1080P | 2–15 s |
| Wan 2.7 Video Edit API | Editing or restyling an existing video with an instruction | 720P / 1080P | Follows source, up to 10 s |
| Wan 2.6 API | Multi-shot text to video and image to video with audio and effect templates | 720p / 1080p | 5 / 10 / 15 s |
| Wan 2.6 I2V API | Dedicated image to video from a single first frame | 720p / 1080p | 5 / 10 / 15 s |
| Wan 2.6 I2V Flash API | Image to video at any length from 2 to 15 seconds, with or without audio | 720p / 1080p | 2–15 s |
| Wan 2.5 API | Short clips that always include sound, with a low-cost 480p tier | 480p / 720p / 1080p | 5 / 10 s |
What wan3.0-video-prime accepts, what it returns and how it differs from wan3.0-video
Workflows where a second Wan 3.0 model in the same request format is useful
From sign-up to your first Wan 3.0 Prime video in three steps
Register on APIMart, add balance and create an API key in the dashboard.
Try prompts, frames, references, durations and resolutions above and check the cost estimate before you write code.
Submit tasks from your backend with the example below, then poll for the result.
Answers about wan3.0-video-prime, how it compares with wan3.0-video and how to call it
Wan 3.0 Prime is a model in Alibaba's Wan 3.0 video series. On APIMart its ID is wan3.0-video-prime. It creates 2 to 30 second videos at up to 1080P from text, first and last frames, or image, video, audio, document and webpage references, with audio on by default.
Both models accept exactly the same parameters, so you switch by changing only the model field. Wan 3.0 Prime is billed at its own per-second price, which is currently higher than wan3.0-video at every resolution. Alibaba has not published a quality or speed comparison, and APIMart does not guarantee one, so test both with your own prompts.
Start with Wan 3.0 (wan3.0-video) for most work, because it costs less per second. Try Wan 3.0 Prime when you want to compare a second Wan 3.0 model on the same request. Some providers describe Prime as a faster-delivery tier; check the results and generation times on your own workload before switching.
model and prompt are required unless you send media. Optional fields: duration (2–30 or -1, default 5), resolution (480P, 720P or 1080P, default 1080P), size (adaptive, 16:9, 4:3, 1:1, 3:4 or 9:16), audio (default true), seed, watermark, nsfw_check, generation_type, image_urls, image_with_roles, video_urls, audio_urls or audio_url, and file_url or link_url.
Yes. Send one image in image_urls for the first frame, or two for first and last frames, or label them with image_with_roles. With images only and no other media, the first image is the first frame and the second is the last frame.
No. Frame inputs (first_frame, last_frame) and reference inputs (images, videos, audio, file_url and link_url) cannot be combined. A mixed request returns HTTP 400 before a task is created and is not billed. Use generation_type to tell the model how to treat bare image_urls.
Set duration from 2 to 30 seconds, or -1 to let the model decide; the default is 5. When the request includes a reference video, the reference and the generated video together stay within 30 seconds.
Generation usually takes a few minutes and longer for long or high-resolution clips. Poll GET /v1/tasks/{task_id} every 5–10 seconds until status is completed, then read data.result.videos[0].url[0] and save the file to your own storage.
POST to /v1/videos/generations with model wan3.0-video-prime and your prompt, duration, resolution and size, then read the task ID from data[0].task_id. The request format and the docs page are the same as for Wan 3.0.
Wan 3.0 Prime is billed per second of video, and the rate depends on resolution. Audio does not change the price. See the pricing table on this page; Gold members save 20%, and Platinum and Diamond members save up to 28%.
No. APIMart has no free quota for Wan 3.0 Prime; you pay for each completed task. Alibaba offers Wan 3.0 Prime as a hosted API and has not released its weights.
Sign up for APIMart, add balance and create a key on the API Keys page. Send it as Authorization: Bearer <key>. The same key works for every Wan model and the rest of the APIMart catalog.
Explore more models in the same category.

Gemini Omni 1.1 Flash
Gemini Omni 1.1 Flash is a multimodal video model officially released by Google that supports rapid generation, natural language editing, and cinematic-quality visual control. This page connects to the official service through APIMart’s unified video API and uses separate pricing and task logs.

MiniMax H3 Max
MiniMax H3 Max generates video from text and images at 480P, 768P or 1080P with 5–15 second clips, first/last frames, multimodal references and synced audio.

Grok Imagine Video
Grok Imagine Video 1.5 is xAI's official video model for text-to-video and image-to-video, animating still images from reference image URLs with high visual fidelity.

Wan 3.0 Video
Wan 3.0 is Alibaba's all-in-one video model for text-to-video, first-frame, first-and-last-frame and multimodal reference generation. It accepts image, video, audio and document references and outputs 2–30 second videos at 480P, 720P or 1080P.