Wan 2.7 Image to Video API

alibaba/wan-2.7/image-to-video

Wan 2.7 Image to Video animates still images into continuous 2–15 second videos at 720p or 1080p, supporting first-and-last frame interpolation, realistic lighting continuity, and camera motion guidance. It preserves subject appearance, clothing texture, and native image framing while introducing expressive, physically plausible motion.

Input
398/5,000
Image Urls[0]

Drag and drop files, paste from clipboard, or provide a URL.

1/1 files added

Image Urls[1] (optional)

Drag and drop files, paste from clipboard, or provide a URL.

1/1 files added

Video Url (optional)

Drag and drop files, paste from clipboard, or provide a URL.

Audio Url (optional)

Drag and drop files, paste from clipboard, or provide a URL.

Output
Ready
720p · 5 s × 12 credits/s = 60 credits ($0.300)
Continue using

Examples

Begin exactly at Image 1 and end at Image 2. In one continuous five-second locked shot, the same red fox slowly uncurls, plants its paws and rises to stand facing right. Preserve facial features, red fur, white chest, tail, rock and snowy woodland. Natural gentle body mechanics, no cuts or camera movement. No text, lettering, captions, logos, watermarks, brands, advertising or product packaging.

Locked macro shot. The large dew drop slides slowly down the diagonal spider-silk thread, stretching the thread slightly. Preserve the delicate web structure, fern background and soft highlights. Only the drop and a slight web vibration move. One continuous three-second shot. No text, lettering, captions, logos, watermarks, brands, advertising or product packaging.

One steady wide shot. A gentle sea breeze billows the blue and ivory linen sheets once, then they settle. Keep the rope, posts and distant coastline fixed. Realistic cloth folds, sunlight passing through fabric, subtle sea movement. No cuts. No text, lettering, captions, logos, watermarks, brands, advertising or product packaging.

Wan 2.7 Image to Video

Wan 2.7 Image to Video transforms single static images or image pairs into fluid dynamic video clips lasting 2 to 15 seconds. Leveraging Alibaba Tongyi Lab's Diffusion Transformer architecture, it supports dual-image keyframe interpolation to accurately lock starting and ending compositions. The model inherits the native aspect ratio of the input image and offers optional prompt guidance for nuanced camera movements while maintaining high character identity stability.

Why Choose Wan 2.7 Image to Video?

  • Lock start and end frames with precisionUpload two images in image_urls to fix both opening and closing keyframes, letting the model smoothly interpolate natural trajectories.

  • Preserve facial identity and textureHigh-fidelity character conditioning ensures that faces, clothing patterns, and fine lighting details remain steady throughout the clip.

  • Generate from 2 to 15 secondsSet any integer duration between 2 and 15 seconds to produce quick social micro-animations or full narrative video beats.

  • Automatically preserve native image ratioVideos adapt directly to the dimensions of the input starting frame, preventing artificial stretching or unexpected cropping.

  • Optional text prompt guidanceProvide natural language commands to steer camera angles, lighting dynamics, or subject gestures, or leave empty for auto-motion.

Parameters

ParameterRequirementDescription
promptNo

Prompt, trimmed; maximum 5,000 Unicode characters. Optional for image-to-video.

Default—
image_urlsYes

One or two images in order: required start frame, optional end frame. HTTP(S), Data URI or Base64.

Default—
audio_urlNo

Optional public HTTP(S) audio URL.

Default—
resolutionNo

720p or 1080p. Default: 720p.

Default720p
durationNo

2–15 whole seconds; default 5.

Default5
multi_shotsNo

Optional multi-shot control. Omitted by default.

Default—
seedNo

Optional integer from 0 to 2147483647.

Default—
enable_safety_checkerNo

Optional safety checker setting; omitted by default.

Default—
video_urlNo

Public HTTP(S) video URL. Required for video editing; optional for image-to-video.

Default—

How to Use Wan 2.7 Image to Video

  1. Upload your source starting imageProvide a high-resolution starting image via URL, Data URI, or Base64, and optionally add an ending frame image.

  2. Configure duration and camera promptsSet desired output duration (2–15 seconds) and add optional prompt instructions such as pan right or gentle breeze.

  3. Submit task and download videoRun the request via API or Playground, monitor the asynchronous task status, and retrieve your final MP4 video.

Pricing

Credits = output seconds × resolution rate. Failed tasks are refunded automatically.

UsageRateDetails
720p12 credits/s ($0.06/s)All four workflows use the same rate.
1080p18 credits/s ($0.09/s)All four workflows use the same rate.

Best Use Cases

  • Portrait and character animationBreathe life into digital avatars, illustrated protagonists, and historical portraits without losing facial bone structure.

  • Product showcase motionTransform static e-commerce catalog photos into luxurious rotating or dynamically lit video presentations.

  • Cinematic establishing shotsConvert landscape, architectural, or concept art stills into panning, breathing cinematic environments.

  • Keyframe storyboard interpolationProvide start and end frames from illustration boards to bridge action gaps with realistic in-between motion.

Pro Tips for Wan 2.7 Image to Video

  • Utilize dual-frame interpolation for controlled transitions:When staging complex actions, upload a start frame and an end frame in image_urls to establish bounded motion paths.
  • Focus prompts on camera movement rather than static traits:Since visual elements are drawn from the image, dedicate the prompt to verbs like slow tracking shot, gentle zoom in, or tilt up.
  • Ensure clear subject lighting in the source frame:Clean, well-lit input images produce sharper temporal details and significantly minimize edge softening during fast movement.
  • Experiment with multi_shots for cinematic pacing:Toggle multi_shots: true when producing longer 10–15s clips to introduce subtle cutaways or varied focal angles naturally.

Notes

  • Image input capacity:Provide 1 image for start frame animation, or exactly 2 images for start-and-end frame interpolation.
  • Aspect ratio preservation:Image to Video automatically follows the dimensions of your source image. The aspect_ratio parameter is not used.
  • Automatic credit refund:If a task fails during generation or media processing, all deducted credits are refunded immediately to your account.

Wan 2.7 Image to Video API frequently asked questions

What is the Wan 2.7 Image to Video API?

Wan 2.7 Image to Video is an Alibaba Tongyi Lab model for animating still images into video. It transforms one or two input images into 2 to 15-second high-definition videos at 720p or 1080p, supporting first-and-last frame interpolation, character identity preservation, and camera trajectory control. Built on a Diffusion Transformer architecture with Wan-VAE 3D temporal compression, it preserves source composition, lighting style, and subject details while adding realistic physical motion. You can call it programmatically or try it from the playground above.

How does Wan 2.7 Image to Video handle first and last frame control?

You can provide two image URLs in the image_urls array. The first image acts as the opening frame and the second image anchors the ending frame, enabling the model to calculate smooth, physically plausible transitions between the two compositions.

What duration range does Wan 2.7 Image to Video support?

Wan 2.7 Image to Video supports any whole second integer from 2 seconds up to 15 seconds. The default value is 5 seconds, which you can adjust depending on the required movement scope and credit budget.

Does Wan 2.7 Image to Video require a text prompt?

No, the prompt parameter is optional for Wan 2.7 Image to Video. If left empty, the model automatically analyzes the visual context of the image to generate natural ambient motion; if provided, it follows your camera and action directives.

How does Wan 2.7 Image to Video determine the video aspect ratio?

Wan 2.7 Image to Video does not take an aspect_ratio parameter. Instead, it natively adapts to the dimensions and aspect ratio of your input starting image, ensuring that original framing and compositions are preserved without distortion.

How does Wan 2.7 Image to Video maintain character face consistency?

The model extracts deep spatial-temporal visual features directly from the input starting image. Throughout the generated frames, facial identity, skin tone, hair, and clothing details are anchored by the Diffusion Transformer attention mechanisms to prevent drift.

Does Wan 2.7 Image to Video support multi-shot scene transitions?

Yes, setting multi_shots to true allows the model to organize the clip into sequential visual phases or subtle perspective shifts, which is particularly effective for longer 10 to 15-second generation runs.