APIMart
Back to models
Wan 3.0 model icon
VideoUp to 30 Seconds480P / 720P / 1080PFrames or ReferencesAudio by Default

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.

Wan 3.0 API Pricing

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

Pricing by specification

VariantTierGoldCurrent pricePlatinumDiamondOfficialYour savings
wan3.0-video480P0.3288Credits/sec~$0.0329/sec0.3124Credits/sec~$0.0312/sec0.2959Credits/sec~$0.0296/sec0.417Credits/sec~$0.0417/sec21.1%
720P0.6575Credits/sec~$0.0658/sec0.6246Credits/sec~$0.0625/sec0.5918Credits/sec~$0.0592/sec0.833Credits/sec~$0.0833/sec21%
1080P1.315Credits/sec~$0.1315/sec1.2493Credits/sec~$0.1249/sec1.1835Credits/sec~$0.1184/sec1.667Credits/sec~$0.1667/sec21.1%

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

Active Users
50K+
Uptime
99.9%
Faster
2x
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.
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 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