Qwen - Image generation and editing 3.0
Call Alibaba Cloud Qwen qwen-image-3.0-pro model to perform image generation and editing tasks, supporting both Text-to-Image (T2I) and Image-to-Image/Editing (I2I).
Text-to-Image (T2I): input.messages[0].content[] only contains a text object (prompt).
Image-to-Image/Editing (I2I): input.messages[0].content[] contains 1-3 image objects (input image URLs or Base64) and 1 text object (editing instruction).
The parameters field controls resolution size, count n, intelligent prompt rewriting prompt_extend and prompt_extend_mode, negative prompt negative_prompt, watermark watermark, random seed seed, etc.
Authorizations
Pass Authorization: Bearer <token> in the request header.
Body
Response
Successfully returns image generation results.
Contains model generation results.
Resource usage for this call, only returned on successful calls.
Unique request identifier. Can be used for request tracing and troubleshooting.
Error code for failed requests. Not returned on success.
Detailed error message for failed requests. Not returned on success.