⌘K

Wan 2.7 - Image Pro Intl

wan27_image_pro_intl

Wan 2.7 Image generates images from text prompts.

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_pro_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 object required

DashScope image request input.

input.messages array required

Prompt message array. The example passes the text prompt through messages[0].content[0].text.

parameters object

DashScope generation options.

parameters.size string

Output image size, for example 1K, 2K, or 4K where supported by the selected Wan 2.7 image model and scenario.

parameters.n integer

Number of images to generate.

parameters.watermark boolean

Whether to add a watermark.

parameters.thinking_mode boolean

Whether to enable thinking mode for text-to-image requests. It is enabled by default by Alibaba DashScope.

parameters.seed integer

Random 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-pro.