Wan2.6-r2v is a reference-driven video generation model from Alibaba's Tongyi Wanxiang 2.6 series, supporting multimodal inputs (text/image/video). It supports 720P/1080P resolutions. The model can restore character appearance from reference images or videos, support single-character performance or multi-character interaction, and features intelligent multi-shot scheduling capabilities.
Request
Authorization
Header Params
Body Params application/jsonRequired
Example
{"prompt":"character1 sits on a chair by the window, holding character2, playing a soothing american country folk song.","videoUrls":["https://www.runninghub.cn/view?filename=aac38a450f2c9667f8f1395921133c86d1b1befc94c2aa54000385cebfcffe13.mp4&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3NzMxNDgwODQ2NzYsInRzIjoxNzcyNTQzMjg0Njc2LCJzaWduIjoiZGQ2NTBiNjg4Y2E0NjI4ZDcwYjQxZDFjNDIwZmQ4NTQifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.5102412714912575"],"imageUrls":["https://www.runninghub.cn/view?filename=1f7e7314d40807c5ec9fa37e76a1b8e2ded24b173288ce6cd0a9e805cea9544e.png&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3NzMxNDgwODQ2NzYsInRzIjoxNzcyNTQzMjg0Njc2LCJzaWduIjoiZGQ2NTBiNjg4Y2E0NjI4ZDcwYjQxZDFjNDIwZmQ4NTQifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.11199458432753018"],"size":"1920*1080","duration":"5","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--request POST 'https://www.runninghub.ai/openapi/v2/alibaba/wan-2.6/reference-to-video' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Content-Type: application/json' \
--data-raw'{
"prompt": "character1 sits on a chair by the window, holding character2, playing a soothing american country folk song.",
"videoUrls": [
"https://www.runninghub.cn/view?filename=aac38a450f2c9667f8f1395921133c86d1b1befc94c2aa54000385cebfcffe13.mp4&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3NzMxNDgwODQ2NzYsInRzIjoxNzcyNTQzMjg0Njc2LCJzaWduIjoiZGQ2NTBiNjg4Y2E0NjI4ZDcwYjQxZDFjNDIwZmQ4NTQifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.5102412714912575"
],
"imageUrls": [
"https://www.runninghub.cn/view?filename=1f7e7314d40807c5ec9fa37e76a1b8e2ded24b173288ce6cd0a9e805cea9544e.png&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3NzMxNDgwODQ2NzYsInRzIjoxNzcyNTQzMjg0Njc2LCJzaWduIjoiZGQ2NTBiNjg4Y2E0NjI4ZDcwYjQxZDFjNDIwZmQ4NTQifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.11199458432753018"
],
"size": "1920*1080",
"duration": "5",
"shotType": "single"
}'