{
"created": 123,
"data": [
{
"url": "<string>",
"b64_json": "<string>",
"revised_prompt": "<string>"
}
],
"metadata": {}
}调用 Ali wan2.7-image-pro 执行文生图。
公开调用方案保留顶层 model、input、response_format,并将 size、n、watermark、thinking_mode、enable_sequential、color_palette、seed 设计为顶层字段。提示词位于 input.messages[0].content[0].text。请求体不接受顶层 parameters。
{
"created": 123,
"data": [
{
"url": "<string>",
"b64_json": "<string>",
"revised_prompt": "<string>"
}
],
"metadata": {}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
文生图模型名称。
wan2.7-image-pro Show child attributes
统一响应格式。
url, b64_json 输出图片分辨率规格,例如 1K、2K、4K,或显式宽高像素值。网关会映射到上游 parameters.size。
输出图片数量。关闭组图模式时范围为 1-4,开启组图模式时范围为 1-12。网关会映射到上游 parameters.n。
1 <= x <= 12是否添加水印。显式传 false 会保留并映射到上游 parameters.watermark。
是否开启思考模式。网关会映射到上游 parameters.thinking_mode。
是否开启组图输出模式。网关会映射到上游 parameters.enable_sequential。
自定义颜色主题。网关会映射到上游 parameters.color_palette。
Show child attributes
随机种子。显式传 0 会保留并映射到上游 parameters.seed。