Create Image
Generate an image with Qwen Image 3.0 from a text prompt, or edit up to 3 input images following the prompt.
Output: one image per request, delivered as a URL in the generated
array of the task result.
Credits: a flat price per image. The parameters do not affect it.
The request is processed asynchronously: the endpoint returns a task_id
immediately. Retrieve the result by polling
GET /v1/ai/text-to-image/qwen-image-3/{task-id} or by providing an optional webhook_url.
Authorizations
Your Magnific API key. Required for authentication. Learn how to obtain an API key
Body
A Qwen Image 3.0 request: generate an image from a text prompt, or edit one guided by up to three images.
The call is asynchronous: it returns a task_id, and the image arrives as
a URL in the task's generated array. One image is generated per request.
Text description of the image to generate, or of the edit to apply.
When images are sent, refer to them by position: "image 1" is the
first one, "image 2" the second.
1 - 10000"A vertical outdoor portrait photograph with the warm ambiance of an afternoon street scene"
Optional input images. Without them the request is text-to-image; with them the model edits or combines them following the prompt. Up to 3 images.
Each image is a public HTTPS URL, a base64-encoded string or an
upload id (upl_...). At most 10 MB, ideally 384 to 2048 px per side.
1 - 3 elementsAspect ratio of the generated image. 1:1 renders at 1024x1024.
1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 1:2, 2:1, 4:5 "1:1"
Content you do not want to appear in the image.
500"blurry, low quality, watermark"
Seed for reproducible results. When omitted, a random seed is used.
0 <= x <= 214748364742
Optional callback URL that will receive asynchronous notifications whenever the task changes status. The payload sent to this URL is the same as the corresponding GET endpoint response, but without the data field.
"https://www.example.com/webhook"
Response
OK - The request has succeeded and the Qwen Image 3.0 process has started.