APIMart
Wan 3.0 model icon
Video

Wan 3.0 API

Wan 3.0 API (Wan3.0) on APIMart gives you Alibaba's newest Wan video model through the Wan API. Send a prompt alone, a first frame with an optional last frame, or image, video, audio, document and webpage references, and get a 2–30 second video at 480P, 720P or 1080P with audio on by default. Model ID: wan3.0-video.

Up to 30 Seconds480P / 720P / 1080PFrames or ReferencesAudio by Default

Service Highlights

  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Input

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.

118/20000

Enter a prompt or add at least one reference image, video, or audio item.

Optional Reference MaterialsImages, videos, and audio are all optional. Reference materials cannot be combined with first or last frames.
0/10
0/5 · 0.0/15s
  

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.

5s

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.

Output

Stored on the APIMart CDN

Wan 3.0 API Pricing

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

VariantTierGoldCurrent pricePlatinumDiamondOfficialYour savings
wan3.0-video480P0.3288Credits(~$0.0329)/sec0.3124Credits(~$0.0312)/sec0.2959Credits(~$0.0296)/sec0.411Credits(~$0.0411)/sec20%
720P0.6575Credits(~$0.0658)/sec0.6246Credits(~$0.0625)/sec0.5918Credits(~$0.0592)/sec0.8219Credits(~$0.0822)/sec20%
1080P1.315Credits(~$0.1315)/sec1.2493Credits(~$0.1249)/sec1.1835Credits(~$0.1184)/sec1.6438Credits(~$0.1644)/sec20%

* 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 API - Alibaba Wan 3.0 Video Generation

Wan API access to Alibaba Wan 3.0 on APIMart: turn a prompt, first and last frames, or image, video, audio and document references into a 2–30 second video at 480P, 720P or 1080P, with audio on by default and per-second billing.

50K+

Active Users

99.9%

Uptime

2x

Faster

—

Cost Savings

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

Call the Wan API with one POST request. Generation is asynchronous: submit a task, then poll the task endpoint for the video URL.

  1. 1

    Authenticate Wan API requests

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

  2. 2

    Submit a Wan 3.0 task

    POST /v1/videos/generations with model wan3.0-video, 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 video result

    Poll GET /v1/tasks/{task_id} every 5–10 seconds until status is completed, then read the video URL from data.result.videos[0].url[0] and save the file to your own storage.

    See the Wan 3.0 API reference for 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",
    "prompt": "A paper boat drifts down a rain-soaked city street at dusk, neon reflections on the water, slow tracking shot, soft rain sounds",
    "duration": 5,
    "resolution": "720P",
    "size": "16:9"
  }'

Wan 3.0 API Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredDefault: wan3.0-videowan3.0-video, or wan3.0-video-prime with the same parameters.
promptstringRequiredDefault: —Scene, motion, camera and sound description, up to 20,000 characters. Optional when you send image, video, audio, file or link inputs.
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, 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: —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 APIThis pageLongest Wan clips, with first and last frames or image, video, audio, document and webpage references480P / 720P / 1080P2–30 s
Wan 3.0 Prime APISame 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