Skip to main content
POST
Qwen-Image Text-to-Image
Qwen-Image — a 20B MMDiT model for next-generation text-to-image generation. It is especially good at creating stunning graphic posters with native text.
This is an asynchronous API that only returns the task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to retrieve the generated result.

Request Headers

string
required
Enum value: application/json
string
required
Bearer authentication format: Bearer {{API Secret Key}}.

Request Body

string
required
The text prompt for image generation.
string
The pixel size of the generated media (width*height). The default value is 1024*1024. Pixel range for length and width: 256 ~ 1536.

Response Parameters

string
required
The task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to obtain the generated result.