Wan 2.5 Preview Text-to-Video is a preview model in the Alibaba Tongyi Wanxiang series for AI video generation. It creates high-quality videos from text descriptions, featuring controllable 5/10s duration, multiple aspect ratios, audio-driven generation, and intelligent prompt extension for creative content production.
Request
Authorization
Header Params
Body Params application/jsonRequired
Example
{"prompt":"The camera follows a man in black fleeing quickly, with a group of people chasing behind. The camera switches to a side view tracking shot, the character panics and knocks over a fruit stand by the roadside, then gets up and continues to escape, with the sound of the crowd in a panic.","duration":"5","size":"1920*1080","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/text-to-video' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Content-Type: application/json' \
--data'{
"prompt": "The camera follows a man in black fleeing quickly, with a group of people chasing behind. The camera switches to a side view tracking shot, the character panics and knocks over a fruit stand by the roadside, then gets up and continues to escape, with the sound of the crowd in a panic.",
"duration": "5",
"size": "1920*1080",
"promptExtend": true
}'