API Free WeekHundreds of APIs are free to call this week.Browse free APIs

Wan 3.0 Video

15% OFFalibaba/wan/3.0/video

Alibaba Wan 3.0 Video generates videos up to 30 seconds with native audio from text, a first/last frame, or reference images, videos, and audio.

Base price
$0.42$0.50USD / run
Execution
async
Model type
video
Input fields
11
Production route

Try the model

Playground

Open playground
Input
Text instruction for the generated video.

PNG, JPEG, WebP, or GIF · 20 MiB maximum

URL of the image used as the first frame (JPEG, PNG, BMP, or WebP). Cannot be combined with `images`, `videos`, or `audios`.

PNG, JPEG, WebP, or GIF · 20 MiB maximum

URL of the image used as the last frame (JPEG, PNG, BMP, or WebP). Cannot be combined with `images`, `videos`, or `audios`.

PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 10

Up to 10 reference image URLs (JPEG, PNG, BMP, or WebP; up to 20MB each, 240-8000px per side). Refer to them in the prompt as Image 1, Image 2, and so on. Cannot be combined with `image` or `end_image`.
Up to 5 reference video URLs (MP4 or MOV; 1-15s each, 15s total, under 100MB each). Cannot be combined with `image` or `end_image`.
Up to 5 reference audio URLs (WAV or MP3; 1-15s each, 15s total, under 15MB each). Cannot be combined with `image` or `end_image`.
Output duration in seconds (2-30), or `auto` to let the model pick a length from the prompt and inputs. `auto` is pre-authorized at 30 seconds and billed on the actual output length. Allowed values: auto, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30.
Output aspect ratio. Omit to let the model choose: 16:9 for text-only requests, otherwise matching the input image. Allowed values: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16.
Output video resolution. Allowed values: 480p, 720p, 1080p.
Generate a synchronized audio track. Pricing is the same either way.
Random seed (0-2147483647) for reproducible results. Omit for a random seed; the same seed may still produce slightly different results. Range: 0 to 2147483647.
15% OFF
OutputExample

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.42 / run

Context & modalities

Input
Schema-defined
Output
video

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
Alibaba
Model ID
alibaba/wan/3.0/video
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

Wan 3.0 Video

A single endpoint for the whole Wan 3.0 model. Send only a prompt for text-to-video, a first/last frame for image-to-video, or any mix of reference images, videos, and audio for reference-driven generation. Clips run 2–30 seconds at 30fps with sound generated alongside the picture.

Pick an input mode

ModeSendCan't combine with
Textprompt only—
Framesimage, optional end_imageimages, videos, audios
Referencesany of images, videos, audiosimage, end_image

Mixing frames and references is rejected with a 400 before anything is billed. A reference video plus an edit or continuation instruction also works here; the dedicated video-edit and video-extend endpoints give those cases a simpler schema.

Fields

FieldTypeDefaultNotes
promptstring, required—Up to 5,000 characters.
imageimage URL—First frame. JPEG/PNG/BMP/WebP, 240–8000px per side, ≤20MB, no transparency.
end_imageimage URL—Last frame; needs image.
imagesimage URL[] (≤10)—Referenced as Image 1, Image 2, …
videosvideo URL[] (≤5)—MP4/MOV, 1–15s each, 15s total, ≤100MB. Referenced as Video 1, …
audiosaudio URL[] (≤5)—WAV/MP3, 1–15s each, 15s total, ≤15MB. Referenced as Audio 1, …
duration2–30 or auto5auto lets the model pick the length.
resolution480p / 720p / 1080p720pSets the per-second rate.
aspect_ratioadaptive / 21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16adaptiveadaptive follows the prompt and inputs.
generate_audiobooleantrueNative dialogue, music, and effects. Same price on or off.
seedinteger 0–2147483647randomFix it to compare prompt changes.

Billing

You pay for output seconds only: $0.05 at 480p, $0.10 at 720p, $0.20 at 1080p. Input images, audio, and video are not metered.

OutputBilled480p720p1080p
2s2s$0.10$0.20$0.40
5s (default)5s$0.25$0.50$1.00
10s10s$0.50$1.00$2.00
30s30s$1.50$3.00$6.00

With duration: "auto" the run is pre-authorized at 30 seconds, then settled on the length that was actually generated. Failed runs are not charged. Output files are copied to SandBase storage and the returned URL stays valid for 7 days; download anything you need to keep.

Prompting

  • Assign each reference a role: “Image 1 is the courier, Video 1 sets the camera move, Audio 1 is her voice.”
  • Numbering is per type and follows array order, so reordering images changes what “Image 2” means.
  • Put spoken lines in quotes and name the speaker.
  • Wan 3.0 has no negative prompt; say what you want rather than what to avoid.

Limits

  • Reference video length plus output length must stay within 30 seconds.
  • Up to 10 images, 5 videos (15s total), and 5 audio clips (15s total) per request.
  • Older integrations that send media: [{type, url}] are still accepted and treated as reference images; new integrations should use the fields above.

Also on SandBase

Other Wan 3.0 endpoints: alibaba/wan/3.0/text-to-video, alibaba/wan/3.0/image-to-video, alibaba/wan/3.0/reference-to-video, alibaba/wan/3.0/video-edit, alibaba/wan/3.0/video-extend.

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
alibaba/wan/3.0/video
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "alibaba/wan/3.0/video",
  "image": "https://static.sandbase.ai/samples/image-to-video/i2v-black-cat-sky-img0.png",
  "prompt": "A cinematic tracking shot of a sailboat crossing a glowing sea at sunset",
  "duration": 5,
  "resolution": "720p",
  "generate_audio": true
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
Wan 3.0 VideoThis model
Alibaba
Video$0.50 / runAug 20, 2026
AlibabaVideo$0.50 / runOct 5, 2026
AlibabaVideo$0.50 / runOct 5, 2026
AlibabaVideo$1.40 / runOct 4, 2026
AlibabaVideo$0.70 / runOct 4, 2026
AlibabaVideo$1.00 / runOct 4, 2026

Questions

FAQ

How do I call Alibaba Wan 3.0 Video through SandBase?

Create a SandBase API key, then send requests with the model ID "alibaba/wan/3.0/video" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

Do I need a separate Alibaba account?

No. One SandBase API key and balance gives you access to Alibaba Wan 3.0 Video and the other models in the catalog; you do not need to sign up with Alibaba separately.