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

Wan Alpha

alibaba/wan/alpha

Wan Alpha is Alibaba's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.

Base price
$0.10USD / run
Execution
async
Model type
video
Input fields
10

Try the model

Playground

Open playground
Input
The prompt to guide the video generation.
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
The resolution of the generated video. Allowed values: 240p, 360p, 480p, 720p.
The seed for the random number generator.
The output type of the generated video. Allowed values: X264 (.mp4), VP9 (.webm), PRORES4444 (.mov), GIF (.gif).
Whether to binarize the mask.
160
The frame rate of the generated video. Range: 1 to 60.
01
The threshold for mask binarization. When binarize_mask is True, this threshold will be used to binarize the mask. This will also be used for transparency when the output type is `.webm`. Range: 0 to 1.
01
The upper bound of the mask clamping. Range: 0 to 1.
01
The lower bound of the mask clamping. Range: 0 to 1.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.10 / 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/alpha
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

Wan Alpha

Wan Alpha creates professional text-to-video clips from scripts and descriptive prompts, emphasizing realistic motion, lighting, and scene composition. It serves as an exploratory Wan generation model for converting narrative ideas into moving visual concepts without requiring a source image or reference clip.

Use a complete scene description with subject, action, environment, camera position, movement, time of day, lighting, and mood. It works best for concept development and cinematic ideation where the creator wants the model to invent the full visual world rather than preserve an existing asset.

Highlights

  • Script-to-scene translation. Turns written narrative direction into a staged moving sequence.
  • Realistic motion rendering. Produces subject and environmental movement intended to feel physically connected.
  • Lighting-aware cinematography. Builds illumination and atmosphere into the generated scene rather than adding them as flat style labels.
  • Composed visual storytelling. Coordinates subject placement, background, camera, and action into a readable shot.

Pricing

ResolutionPrice per generated second
240p$0.010
360p$0.010
480p$0.020
720p$0.040

When to Use

✅ Good fit❌ Consider alternatives
The project needs this exact multimodal creation workflowThe intended task belongs to a different media route
Available source media matches every required fieldRequired assets or usage rights are unavailable
The brief can define subject, action, camera, and styleOutput must be deterministic at frame or pixel level
Supported duration, resolution, and framing fit deliveryFinal placement requires unsupported specifications
An asynchronous generation job fits productionA live or frame-synchronous response is mandatory

Prompt Guide

Describe the result as a shot or design brief: identify subjects and references, state the action or transformation, specify environment and composition, then add camera behavior, lighting, pacing, style, sound, and preservation constraints where relevant. Use exact reference identifiers exposed by the local schema.

{
  "fps": 16,
  "prompt": "A cinematic scene with clearly directed subject action, camera movement, lighting, pacing, and atmosphere",
  "resolution": "240p",
  "seed": 1
}

Technical Specs

SpecValue
Model IDalibaba/wan/alpha
Input fieldsfps (integer; 1–60)<br>seed (integer)<br>prompt (string)<br>resolution (string; 240p, 360p, 480p, 720p)<br>aspect_ratio (string; 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16)<br>binarize_mask (boolean)<br>mask_clamp_lower (number; 0–1)<br>mask_clamp_upper (number; 0–1)<br>video_output_type (string; X264 (.mp4), VP9 (.webm), PRORES4444 (.mov), GIF (.gif))<br>mask_binarization_threshold (number; 0–1)
Required inputprompt
Output fieldsurl, content_type
ExecutionAsynchronous job

Related Models

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/alpha
# 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/alpha",
  "fps": 16,
  "prompt": "Medium shot. A little girl holds a bubble wand and blows out colorful bubbles that float and pop in the air. The background of this video is transparent. Realistic style.",
  "resolution": "480p",
  "binarize_mask": false,
  "mask_clamp_lower": 0.1,
  "mask_clamp_upper": 0.75,
  "video_output_type": "VP9 (.webm)",
  "mask_binarization_threshold": 0.8
}
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 AlphaThis model
Alibaba
Video$0.10 / runOct 16, 2025
AlibabaVideo$1.40 / runOct 4, 2026
AlibabaVideo$2.80 / runOct 4, 2026
AlibabaVideo$1.00 / runOct 4, 2026
AlibabaVideo$2.00 / runOct 4, 2026
AlibabaVideo$0.70 / runAug 24, 2026

Questions

FAQ

How do I call Alibaba Wan Alpha through SandBase?

Create a SandBase API key, then send requests with the model ID "alibaba/wan/alpha" 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 Alpha and the other models in the catalog; you do not need to sign up with Alibaba separately.