通义万相 Wan2 文生图
图片生成 - Wan2
Wan2 文生图
使用通义万相 Wan2 系列模型生成图片,支持 wan2.5-t2i-preview/wan2.2-t2i-flash/wan2.2-t2i-plus 三种模型
POST
通义万相 Wan2 文生图
使用阿里云通义万相 Wan2 系列模型从文本生成图片。 模型特点:Documentation Index
Fetch the complete documentation index at: https://docs.sinancode.com/llms.txt
Use this file to discover all available pages before exploring further.
- 多模型可选 - 支持 wan2.5-t2i-preview/wan2.2-t2i-flash/wan2.2-t2i-plus
- 原生多模态 - 同一架构支持文本、图像多种模态输入输出
- 中文原生 - 国内领先的中文理解能力,直接使用中文提示词
- 复杂指令理解 - 支持运镜等复杂连续指令
授权
请使用您的 API Token 进行认证
请求体
application/json
任务参数
正向提示词(必填,最大 2000 字符)
Required string length:
1 - 2000模型选择(可选,默认 wan2.5-t2i-preview) 可选值:wan2.5-t2i-preview, wan2.2-t2i-flash, wan2.2-t2i-plus
可用选项:
wan2.5-t2i-preview, wan2.2-t2i-flash, wan2.2-t2i-plus 负向提示词(可选,最大 500 字符)
Maximum string length:
500随机种子(可选,范围 0-2147483647)
必填范围:
0 <= x <= 2147483647图片尺寸(可选,默认 12801280) wan2.5-t2i-preview: 总像素 [768768, 1440*1440],宽高比 [1:4, 4:1] wan2.2 及以下: 宽高 [512, 1440]
响应
OK
Task ID
示例:
"01234567-89ab-cdef-0123-456789abcdef"