by Alibaba

Up to 30-second clips with synced audio

alibaba/wan-3.0/text-to-video
Wan 3.0 AI Video Generator online
  • Up to 1080p
  • 2–30s clips
  • Sound included
  • Start and end frames
  • Up to 10 reference images
  • 5 aspect ratios
  • Create Video
  • Image to Video
  • Reference to Video
  • Extend Video
  • Edit Video

About Wan 3.0

The Wan 3.0 API is the flexible mid-priced video option: four endpoints, any whole-second duration from 2 to 30, and audio generated in the same file. Text to video jobs typically finish in about three minutes; reference jobs take a little longer. Because duration is free-form, it fits apps that need exact lengths (a 7 second story slot, a 2 second banner loop) better than models with fixed steps.

Call it with the model name alibaba/wan-3.0/text-to-video on POST /jobs/createTask, from $0.215.

Introduction

Wan 3.0 Text to video generates a 2 to 30 second clip with sound from nothing but a written prompt. prompt is the only required field; duration_seconds, resolution (480p, 720p or 1080p, default 720p), aspect_ratio (default 16:9), generate_audio, enable_prompt_expansion and seed are optional controls you can leave at their defaults. Because no image anchors the shot, the model invents every face, garment and set from the words. That gives the widest creative range of the Wan 3.0 modes and the least control over a specific person.

Choose a Wan 3.0 mode by starting material

What you have at the startMode
a written scene or scriptWan 3.0 Text to video
an approved opening imageWan 3.0 Image to video
separate visual, motion, or sound referencesWan 3.0 Reference to video

Key features

Sound written into the same request

generate_audio is on by default, so the returned file already carries sound locked to the picture. The armoury example uses this deliberately: its prompt ends with an "Audio:" line — a leather glove slapping onto wood, lacing creaking, a torch spitting — and those sounds come back with the actions that cause them. Set the field to false only when the shot will be scored separately.

Any whole length from 2 to 30 seconds

duration_seconds accepts every whole number from 2 to 30, with 5 as the default, or -1 for smart duration, where the model picks the length from the prompt. The dune example runs the default 5 seconds at 720p in 16:9 — enough for one aerial glide from the storm wall down to her face. Longer clips drift more in identity and geometry, so settle the look at 5 seconds before extending.

Request parameters

ParameterRequiredDescription
seedNoUse the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647
promptYesDescribe what you want to make.
resolutionNoChoose an available output size. 480p · 720p · 1080p · Default: 720p
aspect_ratioNoThe shape of the frame: wide, square or tall. 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · adaptive · Default: 16:9
generate_audioNoAdds sound made to match the picture: voices, ambience and effects. Default: true
enable_thinkingNoThe model plans more carefully first. Slower, but better with complex references. Default: false
duration_secondsNoLength of the generated clip. -1–30 · Default: 5
enable_prompt_expansionNoLets the model add detail to a short prompt. Default: false

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per second
resolution 480p$0.043
resolution 720p$0.085
resolution 1080p$0.17

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

Use cases

Atmospheric set pieces without a source image

When no photograph of the location exists, the prompt has to build it. The dune example describes a sunset dune crest, a colossal sandstorm rolling in, an emerald silk gown streaming in the wind and a camera that glides down from an aerial view to her face, all from the sentence alone. Requests like this suit mood films and pitch reels where the environment matters more than a specific face.

First-person framing

The point-of-view example is written as one continuous take: the camera is the viewer's own eyes, a single tungsten lamp is the only light, and the brief states that the wardrobe stays exactly as written throughout. Stating what stays unchanged is as useful as stating what moves, because it stops the model from resolving an ambiguous prompt in its own direction.

Prompt guide & pro tips

Order the prompt: subject, action, camera, light, sound

Write one subject, one action, one camera move, then a note each for light and sound. Long adjective lists move the result less than one clear action does.

Specify the framing when a detail carries the scene

The armoury prompt names its framing — medium close-up from the hips up, low three-quarter angle, 85mm — because a wide shot would lose the glove, the lacing and the torchlight on her shoulders. When a detail matters, say how large it should be in the frame instead of hoping the model picks a close shot.

Keep prompt expansion off for precise briefs

enable_prompt_expansion defaults to false here. Switching it on rewrites the prompt before generation, which helps a two-line idea and works against a detailed brief like the ones above. For controlled reruns, hold seed and change one field at a time; a fixed seed makes comparisons fair but does not guarantee identical frames. Text alone cannot keep one face across runs, so use reference-to-video for recurring characters.

API quick start

Call the Wan 3.0 API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model alibaba/wan-3.0/text-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "alibaba/wan-3.0/text-to-video",
  "input": {
    "prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration_seconds": 5
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

What to build with the Wan 3.0 API

  • Social schedulers that render clips to the exact length of a platform slot.
  • Shop tools that loop a product shot by sending the packshot as image_url and last_image_url.
  • Character channels that send a stored reference set with every episode request.

Wan 3.0 parameter notes

  • duration_seconds is any integer from 2 to 30 (or -1 to let the model choose). Price scales with the seconds you request.
  • aspect_ratio adaptive on image to video inherits the source frame; set an explicit ratio to force a crop.
  • enable_thinking spends more time planning complex prompts. Turn it on for scenes with several actors or actions.
  • reference-to-video also accepts reference_file_url and reference_link_url for material hosted elsewhere.

How Wan 3.0 API pricing adds up

All four endpoints use the same per-second table: 480p, 720p and 1080p, with 1080p at four times the 480p rate. A short 480p draft is cheap enough for previews; charge your users by the second and resolution they choose.

  • resolution 480p, 5-second clip: $0.215 each, $21.50 for 100 clips
  • resolution 1080p, 5-second clip: $0.85 each, $85.00 for 100 clips

Async jobs, webhooks and rate limits

Every Wan 3.0 request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for alibaba/wan-3.0/text-to-video never runs or bills twice.

Common Wan 3.0 API errors

errorCodeWhat it usually means and how to fix it
invalid_requestCheck duration_seconds: it must be an integer from 2 to 30, or -1 for automatic duration. Wan 3.0 supports up to 1080p; use Wan 3.0 Pro for 2K or 4K output.
invalid_assetReference media too long, unsupported or unreachable. Upload through /common/upload-url and pass popnow:// references.
generation_failedOccasionally a long take fails mid-render. Retry with /jobs/retry, ideally at a shorter duration.

Wan 3.0 API questions

How much does the Wan 3.0 API cost?

Wan 3.0 starts at $0.215 for a 5-second clip with Create Video, its lowest-priced task. Prices by option: 480p $0.043 per second, 720p $0.085 per second, 1080p $0.17 per second. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What is the model name for Wan 3.0 in the API?

Put alibaba/wan-3.0/text-to-video for Create Video; alibaba/wan-3.0/image-to-video for Image to Video; alibaba/wan-3.0/reference-to-video for Reference to Video; alibaba/wan-3.0/video-extend for Extend Video; alibaba/wan-3.0/video-edit for Edit Video in the model field of POST /jobs/createTask.

How long do Wan 3.0 API jobs take?

Text to video around three minutes for a default clip, image to video a little faster, reference to video a little slower. Longer and higher resolution clips take more time.

Can I pass a first and last frame to the Wan 3.0 API?

Yes, on alibaba/wan-3.0/image-to-video: image_url is the opening frame and last_image_url the closing frame.

Which Wan 3.0 model should I call for 4K?

Wan 3.0 Pro. Plain Wan 3.0 stops at 1080p, and the request is rejected if you ask for more.

What are the limits of the Wan 3.0 API?

Clip length: 2–30 s; Resolutions: 480p · 720p · 1080p; Aspect ratios: 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · adaptive. Requests outside these limits are rejected before anything is charged.

Can I try Wan 3.0 without writing code?

Run Wan 3.0 in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.

All Wan models

Wan 3.0 Pro renders the same kinds of shots at 1080p, 2K or 4K for a higher price. Plain Wan 3.0 is the better value for drafts and social clips.

More about Wan 3.0