Wan2.6 text to image, Upgraded visual quality, aesthetics, and instruction-following deliver precise style control, realistic portraits, long-text understanding, and broad historical/cultural IP coverage, enabling high-quality, highly expressive visual generation. https://bailian.console.alibabacloud.com/cn-beijing?tab=model#/model-market/detail/wan2.6-t2i?serviceSite=asia-pacific-china
Generate image
All API requests must be authenticated using a Bearer token in the Authorization header. Please ensure your API key is active.Authorization: Bearer sk-xxxxxx
These parameters come from the selected model form_schema. Switching models updates this list and the request example.
prompt*stringDescribe the desired content, style, and composition of the generated image. Supports Chinese and English, max 2,100 chars.
negative_prompt?stringDescribe what you do not want in the image. Supports Chinese and English, max 500 chars.
size?stringOutput aspect ratio / size (width*height). Common ratios: 1280*1280 (1:1), 1104*1472 (3:4), 1472*1104 (4:3), 960*1696 (9:16), 1696*960 (16:9).
n?numberNumber of images to generate, 1-4. Billing is based on this value; set to 1 for testing.
prompt_extend?booleanWhen enabled, an LLM intelligently rewrites and refines your prompt for better results (adds 3-5s). Enabled by default.
watermark?booleanWhen enabled, adds an 'AI-generated' watermark in the lower-right corner. Disabled by default.
seed?numberControls randomness, range [0, 2147483647]. Leave empty for random.
created?integerParameter description for Created
data?arrayParameter description for Data