Wan 2.5 Preview Image-to-Video is a preview model in the Alibaba Tongyi Wanxiang series for AI-powered image animation. It transforms a single image into smooth, dynamic video up to 1080P resolution, with optional text prompts and audio guidance. Features controllable 5/10s duration, automatic aspect ratio matching, and intelligent prompt extension.
Request
Authorization
Header Params
Body Params application/jsonRequired
Example
{"prompt":"A two-person martial arts duel in a modern urban night scene. Shot composition: start with a wide-angle to show the empty streets and the confrontation between the two, then follow with medium shots to capture the rhythm of attack and defense, using close-ups for key impact points (fist and kick hits, breathing, muscle exertion). Include low-angle revolving shots, over-the-shoulder shots, and quick pans to highlight the movement paths and spatial relationships. The action should conform to realistic center of gravity and reaction forces to avoid a floating feeling. Lighting uses street lamps and neon reflections, with slight water and reflections on the ground; the overall style is realistic, tense, and cinematic.","imageUrl":"https://www.runninghub.cn/view?filename=d8764fb77190b0e1385e3aca9d3ae391928891cd3f546b7d8ce7fcad1b9f4af2.jpg&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3NzY0MTIzMDEzNTYsInRzIjoxNzc1ODA3NTAxMzU2LCJzaWduIjoiZjI1NWQ3ZWU2ZmFjMzUzYWFjZDg3YzViMzUyOTE3MjIifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.22789516997099724","duration":"5","resolution":"1080p","promptExtend":true}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location'https://www.runninghub.ai/openapi/v2/alibaba/wan-2.5-preview/image-to-video' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Content-Type: application/json' \
--data'{
"prompt": "A two-person martial arts duel in a modern urban night scene. Shot composition: start with a wide-angle to show the empty streets and the confrontation between the two, then follow with medium shots to capture the rhythm of attack and defense, using close-ups for key impact points (fist and kick hits, breathing, muscle exertion). Include low-angle revolving shots, over-the-shoulder shots, and quick pans to highlight the movement paths and spatial relationships. The action should conform to realistic center of gravity and reaction forces to avoid a floating feeling. Lighting uses street lamps and neon reflections, with slight water and reflections on the ground; the overall style is realistic, tense, and cinematic.",
"imageUrl": "https://www.runninghub.cn/view?filename=d8764fb77190b0e1385e3aca9d3ae391928891cd3f546b7d8ce7fcad1b9f4af2.jpg&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3NzY0MTIzMDEzNTYsInRzIjoxNzc1ODA3NTAxMzU2LCJzaWduIjoiZjI1NWQ3ZWU2ZmFjMzUzYWFjZDg3YzViMzUyOTE3MjIifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.22789516997099724",
"duration": "5",
"resolution": "1080p",
"promptExtend": true
}'