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_image_intl
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 prompt messages under input and generation options under parameters.
input
objectrequiredDashScope image request input.
input.messages
arrayrequiredPrompt message array. The example passes the text prompt through
messages[0].content[0].text.
parameters
objectDashScope generation options.
parameters.size
stringOutput image size, for example
1K,2K, or4Kwhere supported by the selected Wan 2.7 image model and scenario.
parameters.n
integerNumber of images to generate.
parameters.watermark
booleanWhether to add a watermark.
parameters.thinking_mode
booleanWhether to enable thinking mode for text-to-image requests. It is enabled by default by Alibaba DashScope.
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-image.