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

Wan 2.2 Speech to Video

alibaba/wan/2.2/speech-to-video

Wan 2.2 Speech to Video turns a portrait image and a speech audio into a talking video guided by a prompt.

Base price
$1.00USD / run
Execution
async
Model type
video
Input fields
7
Production route

Try the model

Playground

Open playground
Input
Random seed for reproducibility. Range: 0 to 2147483647.
Input audio URL.

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

Input image URL (face / character).
Text prompt guiding the generation.
40120
Frames to generate (40–120, multiple of 4) at 16 fps. Range: 40 to 120.
Output resolution. Allowed values: 480p, 580p, 720p.
Content to avoid.
OutputExample

Examples

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

Model card

Specifications

Pricing

Base price
$1 / 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/2.2/speech-to-video
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

Wan 2.2 Speech to Video

Turn a portrait and a speech track into a talking video. Wan 2.2 lip-syncs the face in image to audio and animates head and body movement; the prompt sets the scene and gestures.

Fields

FieldTypeDefaultNotes
promptstring, required—Text instruction.
imageimage URL, required—Portrait to animate. JPEG, PNG, or WebP URL.
audioaudio URL, required—Speech track (WAV/MP3) that drives the lips.
num_framesinteger 40–12080Frames to generate (40–120, 16 frames per second of video).
resolution480p / 580p / 720p720pSets the rate.
negative_promptstring—What to avoid.
seedinteger 0–2147483647randomFix it to compare prompt changes.

Billing

Billed per output second at the upstream rate: $0.10 at 480p, $0.15 at 580p, $0.20 at 720p. The default 80 frames is 5 seconds.

Output480p580p720p
80 frames (5s, default)$0.50$0.75$1.00
120 frames (7.5s)$0.75$1.125$1.50

Failed runs are not charged.

Prompting

  • Describe gestures and setting; the lips follow the audio automatically.
  • Use a front-facing portrait with the mouth clearly visible.

Limits

  • Up to 120 frames (7.5 seconds) per request.

Also on SandBase

Other Wan 2.2 endpoints: alibaba/wan/2.2/animate/move, alibaba/wan/2.2/animate/replace.

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/2.2/speech-to-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/2.2/speech-to-video",
  "audio": "https://static.sandbase.ai/examples/alibaba/wan/2.2/speech-to-video/input_audio_1.wav",
  "image": "https://static.sandbase.ai/examples/alibaba/wan/2.2/speech-to-video/input_image_0.png",
  "prompt": "Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard.",
  "num_frames": 80,
  "resolution": "720p"
}
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
AlibabaVideo$1.00 / runAug 27, 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 2.2 Speech to Video through SandBase?

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