SandBase is live — $1 in free credits on signupStart free ›

Alibaba modelsvideo generation api

alibaba/wan/2.6/text-to-video

Alibaba Wan 2.6 text-to-video model with cinematic visuals, configurable duration (5 or 10 seconds) and resolution.

Input
The text prompt to generate a video from.
The duration of the generated video in seconds. Valid values are 5 and 10. Allowed values: 5, 10.
The URL of an audio file to guide video generation.
The aspect ratio of the generated video. Allowed values: 1:1, 4:3, 3:4, 16:9, 9:16.
The resolution of the video to generate. Allowed values: 720p, 1080p.
Idle

Example output — click Run to generate your own

API README

Wan 2.6 Text to Video

Wan 2.6 Text to Video turns a written production brief into a complete Wan 2.6 audiovisual scene. The model handles subject motion, environmental action, camera language, shot progression, and sound together, allowing a script-like prompt to guide both what happens and how the sequence is presented.

Write the prompt as a timed scene rather than a list of visual nouns: establish the subject and location, then specify action beats, shot changes, camera movement, dialogue or effects, lighting, and emotional arc. It is well suited to concept trailers, advertising scenes, narrative inserts, and cinematic previsualization.

Highlights

  • Audio-synchronized scene generation. Creates visible action and a coordinated soundtrack within the same video synthesis process.
  • Multi-shot narrative reasoning. Interprets a sequence of shots and transitions as one connected creative idea.
  • Natural subject interaction. Models people, objects, and environment participating in physically plausible movement.
  • Cinematic prompt interpretation. Responds to framing, lens behavior, camera motion, pacing, lighting, and atmosphere.

Pricing

ConfigurationBilling unitPrice
5 seconds720p$0.500
5 seconds1080p$0.750
10 seconds720p$1.000
10 seconds1080p$1.500

When to Use

✅ Good fit❌ Consider alternatives
The project needs this exact text-to-video 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.

{
  "audio": "example",
  "duration": 5,
  "prompt": "Rim light, low contrast, medium close-up, daylight, left-weighted composition, clean single-person shot, warm tones, soft light, sunny day, side light, daytime. A young girl sits in a field of tall grass, with two fluffy little donkeys standing behind her. The girl is about eleven or twelve, wearing a simple floral dress, hair in two braids, with an innocent smile. She sits cross-legged, gently playing with wildflowers beside her. The donkeys are sturdy with perked ears, curiously looking toward the camera. Sunlight bathes the field, creating a warm and natural atmosphere.",
  "resolution": "720p"
}

Technical Specs

SpecValue
Model IDalibaba/wan/2.6/text-to-video
Input fieldsaudio (string)<br>prompt (string)<br>duration (integer; 5, 10)<br>resolution (string; 720p, 1080p)<br>aspect_ratio (string; 1:1, 4:3, 3:4, 16:9, 9:16)
Required inputprompt
Output fieldsurl, content_type
ExecutionAsynchronous job

Related Models

Related Models

alibaba/wan/2.6/image-to-videoAlibaba Wan 2.6 image-to-video model transforming still images into video. Supports first-frame-to-video only.alibaba/wan/2.6/image-to-video/flashWan 2.6 Flash by Alibaba - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.alibaba/wan/2.6/reference-to-videoAlibaba Wan 2.6 reference-to-video model generating video guided by reference content.alibaba/wan/2.6/reference-to-video/flashWan 2.6 Flash by Alibaba - AI-powered video editing and transformation. Apply style transfer, motion control, lip-sync, and visual effects to existing videos with natural language instructions.alibaba/wan/2.1/text-to-video/loraWan 2.1 Lora by Alibaba - generate cinematic videos from text descriptions with AI. Create high-quality video content with natural motion, camera control, and optional audio generation.alibaba/wan/2.1/vaceWan 2.1 Vace by Alibaba - AI-powered video editing and transformation. Apply style transfer, motion control, lip-sync, and visual effects to existing videos with natural language instructions.alibaba/wan/2.1/vace/depthWan 2.1 Vace by Alibaba - AI-powered video editing and transformation. Apply style transfer, motion control, lip-sync, and visual effects to existing videos with natural language instructions.alibaba/wan/2.1/vace/inpaintingWan 2.1 Vace is Alibaba's video-to-video AI model. Transform, enhance, and edit video content using text prompts - from style changes to object manipulation and scene modification.