Alibaba Wan 2.6 Text-to-Image (alibaba/wan-2.6/text-to-image) is Alibaba’s text-to-image generation model for creating high-quality visuals from a single natural-language prompt. It’s built for practical creative workflows—concept art, product visuals, portraits, and stylized imagery—where you want strong prompt adherence plus flexible custom sizing.
Request
Authorization
Header Params
Body Params application/jsonRequired
Example
{"prompt":"A small cute cartoon kitten general, exquisite detailed golden armor, slightly large helmet, brave posture, standing on a cliff edge, fantasy style","duration":"5","resolution":"1080*1920","shotType":"single"}
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.6/text-to-video' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Content-Type: application/json' \
--data'{
"prompt": "A small cute cartoon kitten general, exquisite detailed golden armor, slightly large helmet, brave posture, standing on a cliff edge, fantasy style",
"duration": "5",
"resolution": "1080*1920",
"shotType": "single"
}'