工具 API

wan_generate_submit

Submit a Wan image generation task (wan2.6-t2i model by Alibaba DashScope). Returns a job_id immediately. Use wan_generate_result to poll for results. Args: prompt: Image description / prompt text (Chinese or English) size: Official wan2.6-t2i size. Use '*' separator or ratio alias. Recommended: 1280*1280 (1:1, default), 1696*960 (16:9), 960*1696 (9:16), 1472*1104 (4:3), 1104*1472 (3:4). Custom width*height must stay within 1280*1280–1440*1440 pixels and 1:4–4:1. Legacy 1024*1024 / 1280*720 / 720*1280 map to the official equivalents. Transparent PNG alpha is not supported. n: Number of images to generate (1-4). Default: 1 negative_prompt: Things to avoid in the image. Default: empty prompt_extend: Whether to let AI expand the prompt for better results. Default: true watermark: Whether to add watermark. Default: false

creative100 积分

调用信息

工具标识
wan-image.wan_generate_submit
服务提供方
通义万相
平均响应
0 ms
近 7 天调用
0

输入参数

prompt必填

string

size

string

n

integer

negative_prompt

string

prompt_extend

boolean

watermark

boolean