Authentication
authorization string required
All APIs require authentication via Bearer Token.
Authorization: Bearer YOUR_API_KEY
Parameters
model string required
Model ID to use for the request.
Value: wan27_r2v
input array required
The Vtrix generation API requires input to be an array. Model parameters must be placed under input[0].params. The cURL example is the request format for Vtrix customers, not the raw Alibaba DashScope request format.
input[0].params object required
Provider request body forwarded to Alibaba DashScope. Put request fields under input and generation options under parameters.
input
objectrequiredDashScope video request input.
input.prompt
stringText prompt describing the expected video content or edit instruction.
input.negative_prompt
stringNegative prompt describing what should not appear in the result.
input.media
arrayInput media array. For reference-to-video, use media types such as
reference_image,reference_video, orfirst_frame; areference_voiceURL may be attached to reference media when needed.
parameters
objectDashScope generation options.
parameters.duration
integerOutput video duration in seconds.
parameters.resolution
stringOutput video resolution, for example
720P.
parameters.ratio
stringOutput video aspect ratio, for example
16:9.
parameters.prompt_extend
booleanWhether to enable prompt rewriting.
parameters.watermark
booleanWhether to add a watermark.
parameters.audio_setting
stringAudio handling mode for video edit requests. Valid values include
autoandorigin.
parameters.seed
integerRandom seed.
Notes
- The cURL example on this page is the Vtrix customer request format, not the raw Alibaba DashScope request format.
- Put model parameters under
input[0].params. - This model uses an async task flow. Create a task first, then poll the result by
id. - This model maps to upstream model
wan2.7-r2v.