Wan 3.0 Text-to-Video is built on Alibaba Wan 3.0 all-in-one video model (wan3.0-video). Generate coherent, naturally lit video from a text prompt only, with no reference image or video. Output is natively up to 30 seconds with smart duration, 480P/720P/1080P, adaptive aspect ratio and optional audio.
Request
Authorization
Header Params
Body Params application/jsonRequired
Example
{"prompt":"A kitten running across rooftops under moonlight, neon city lights flickering in the distance, cinematic look, smooth camera move.","resolution":"720P","aspectRatio":"adaptive","duration":"5","audio":true,"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-3.0/text-to-video' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Content-Type: application/json' \
--data'{
"prompt": "A kitten running across rooftops under moonlight, neon city lights flickering in the distance, cinematic look, smooth camera move.",
"resolution": "720P",
"aspectRatio": "adaptive",
"duration": "5",
"audio": true,
"promptExtend": true
}'