APIMart
Back to models
Wan 3.0 Prime model icon
VideoSame Inputs as Wan 3.0Up to 30 Seconds480P / 720P / 1080POwn Model and Price

Wan 3.0 Prime API

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.

Wan 3.0 Prime API Pricing

Transparent pricing with no hidden fees. Pay only for what you use.

Pricing by specification

VariantTierGoldCurrent pricePlatinumDiamondOfficialYour savings
wan3.0-video-prime480P0.5143Credits/sec~$0.0514/sec0.4886Credits/sec~$0.0489/sec0.4629Credits/sec~$0.0463/sec0.625Credits/sec~$0.0625/sec17.7%
720P1.0286Credits/sec~$0.1029/sec0.9771Credits/sec~$0.0977/sec0.9257Credits/sec~$0.0926/sec1.25Credits/sec~$0.125/sec17.7%
1080P2.0571Credits/sec~$0.2057/sec1.9543Credits/sec~$0.1954/sec1.8514Credits/sec~$0.1851/sec2.5Credits/sec~$0.25/sec17.7%

* 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.

Wan 3.0 Prime API - Alibaba wan3.0-video-prime

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.

Active Users
50K+
Uptime
99.9%
Faster
2x
Cost Savings
—

Wan 3.0 Prime API Example: Text to Video and First and Last Frame

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.

  1. 1

    Authenticate Wan 3.0 Prime requests

    Save your APIMart key in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.

  2. 2

    Submit a Wan 3.0 Prime task

    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.

  3. 3

    Get the Wan 3.0 Prime video

    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.

POST /v1/videos/generations
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"
  }'

Wan 3.0 Prime API Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredDefault: wan3.0-video-primewan3.0-video-prime. wan3.0-video accepts the same parameters at a lower price.
promptstringRequiredDefault: —Scene, motion, camera and sound description, up to 20,000 characters. Optional when you send image, video, audio, file or link inputs.
prompt_extendbooleanOptionalDefault: trueHelps with short prompts, but may increase generation time. Required when using a document or webpage.
durationintegerOptionalDefault: 5Length in seconds, 2 to 30, or -1 to let the model choose. With a reference video, input plus output must stay within 30 seconds.
resolutionstringOptionalDefault: 1080P480P, 720P or 1080P. Price per second rises with resolution.
sizestringOptionalDefault: adaptiveadaptive, 21:9, 16:9, 4:3, 1:1, 3:4 or 9:16.
audiobooleanOptionalDefault: trueGenerate a soundtrack. Does not change the price.
image_urlsarrayOptionalDefault: —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_rolesarrayOptionalDefault: —Images with an explicit role: first_frame, last_frame or reference_image.
generation_typestringOptionalDefault: —frame or reference. Decides how bare image_urls are used.
video_urlsarrayOptionalDefault: —Up to 5 reference clips (mp4 or mov), up to 15 seconds in total.
audio_urlsarrayOptionalDefault: —Up to 5 reference audio clips (wav or mp3), up to 15 seconds in total. audio_url accepts a single clip.
file_url / link_urlstringOptionalDefault: —One document (up to 100 MB and 50 pages) or one public webpage. Use one or the other, not both.
seedintegerOptionalDefault: —Omit or use -1 for a random seed; use an integer from 0 to 2147483647 for more repeatable results.
watermarkbooleanOptionalDefault: falseAdd a watermark to the output.
nsfw_checkbooleanOptionalDefault: falseModerate the prompt and input images with omni-moderation-latest before submission.

Compare Alibaba Wan Video Models

Compare every Alibaba Wan video model on APIMart. One API key calls all of them, billed per second of video.

ModelBest forResolutionDuration
Wan 3.0 APILongest Wan clips, with first and last frames or image, video, audio, document and webpage references480P / 720P / 1080P2–30 s
Wan 3.0 Prime APIThis pageSame parameters as Wan 3.0 under a separate model and price480P / 720P / 1080P2–30 s
Wan 2.7 APIText to video, first and last frames, video continuation and audio-driven clips720P / 1080P2–15 s
Wan 2.7 R2V APIKeeping characters consistent from reference images or videos720P / 1080P2–15 s
Wan 2.7 Video Edit APIEditing or restyling an existing video with an instruction720P / 1080PFollows source, up to 10 s
Wan 2.6 APIMulti-shot text to video and image to video with audio and effect templates720p / 1080p5 / 10 / 15 s
Wan 2.6 I2V APIDedicated image to video from a single first frame720p / 1080p5 / 10 / 15 s
Wan 2.6 I2V Flash APIImage to video at any length from 2 to 15 seconds, with or without audio720p / 1080p2–15 s
Wan 2.5 APIShort clips that always include sound, with a low-cost 480p tier480p / 720p / 1080p5 / 10 s