Qwen-Image Text to Image
Image Generator
Qwen-Image Text to Image
POST
Qwen-Image Text to Image
Qwen-Image — a 20B MMDiT model for next-gen text-to-image generation. Especially strong at creating stunning graphic posters with native text.

Request Headers
Supports:
application/jsonBearer authentication format, for example: Bearer {{API Key}}.
Request Body
Text prompt for image generation.
The size of the generated media in pixels (width*height). Default is
1024*1024. Range: 256 ~ 1536 per dimension.Response
Use the task_id to request the Task Result API to retrieve the generated outputs.
Example
Here is an example of how to use the Qwen-Image Text to Image API.- Generate a task_id by sending a POST request to the Qwen-Image Text to Image API.
Request:
Response:
- Use
task_idto get output images.
images of response.
Request:
Response:
Image files:

Last modified on June 10, 2026