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

Alibaba modelsvideo generation api

alibaba/wan/motion

Wan Motion 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.

Input
Optional text prompt to guide the generation.

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

URL of the reference image (provides the character appearance).
URL of the driving video (provides the motion).
Enhances identity preservation by preprocessing the reference image with Flux Kontext Edit before animation. Produces more faithful face and appearance transfer at the cost of slightly longer processing time.
Adapts the driving video's motion to match the reference image's body proportions. Recommended when the driving video subject and reference image have different body shapes or sizes.
Random seed for reproducibility.
Idle

Example output — click Run to generate your own

API README

Wan Motion

Wan Motion transfers or directs movement in existing visual material, combining Wan video transformation with motion control, style change, lip synchronization, and effects. Its emphasis is not simply generating a new clip, but reshaping how a supplied subject performs while retaining enough source context for continuity.

Use it when the creative goal starts with an existing character or clip and calls for a new performance, synchronized mouth movement, controlled action, or a different visual treatment. State the motion target and timing clearly, then describe which identity, framing, and environmental qualities must survive the transformation.

Highlights

  • Directed motion transfer. Applies a new action or movement pattern to source-led visual content.
  • Lip-synchronized performance. Coordinates mouth movement with spoken timing for character or presenter footage.
  • Identity-aware transformation. Preserves recognizable subject traits while changing performance or style.
  • Effect-integrated editing. Combines controlled motion with visual treatment and scene-level effects in one transformed sequence.

Pricing

Billing componentPrice
Generated video$0.060 per second
Enhanced identity, when enabled+$0.080 per request

When to Use

✅ Good fit❌ Consider alternatives
The model's named workflow matches the source material and intended outputA different input modality or model route is required
A managed asynchronous result is suitable for the production pipelineA synchronous, interactive editor is essential
The documented controls cover the required duration, framing, or formatThe project needs controls outside this endpoint's schema
Creative iteration benefits from a repeatable request structureExact deterministic pixels, frames, geometry, or samples are mandatory
A finished downloadable media asset is the desired deliverableEditable source layers or a native project file are required

Prompt Guide

For image-conditioned generation, state the intended result first, then add the subject or source treatment, progression, style, and delivery constraints. Keep one creative variable per phrase, use the documented field names for controls, and change one setting at a time when comparing results.

{
  "image": "https://example.com/start-frame.png",
  "prompt": "woman dancing",
  "video": "https://example.com/source.mp4"
}

Technical Specs

SpecValue
Model IDalibaba/wan/motion
Inputsadapt_motion, enhance_identity, image, prompt, seed, video
Required inputsprompt, image
Output fieldscontent_type, url
ExecutionAsync (submit, then poll for result)

Related Models

Related Models

alibaba/wan/2.1/flf-to-videoWan 2.1 Flf To Video 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.1/image-to-videoWan 2.1 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.1/image-to-video/loraWan 2.1 Lora is Alibaba's image-to-video AI model. Bring static images to life with fluid animation, consistent character motion, and professional-grade video output.alibaba/wan/2.1/text-to-videoWan 2.1 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.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.