Qwen Image 3.0
qwen-image-3.0Strong instruction following and typography for posters, layouts, and reference-guided edits.
/v1/images/generationsGenerate with Qwen Image 3.0
Use ImgRouter's unified request contract and this model ID. The example uses recommended defaults from the route's current parameter guide.
curl https://api.imgrouter.com/v1/images/generations \
-H "Authorization: Bearer $IMGROUTER_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: qwen-image-3.0-generate-001" \
-d '{
"model": "qwen-image-3.0",
"prompt": "Editorial product photograph, precise materials, soft studio light",
"size": "1:1",
"resolution": "1K",
"n": 1
}'Request body
modelstring · requiredUse qwen-image-3.0.promptstring · requiredGeneration or editing instruction between 1 and 5,000 characters.sizestringSupported values: 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3.resolutionstringSupported values: 1K, 2K.ninteger · 1–6Number of output images. Defaults to 1 and cannot exceed 6.reference_imagesstring[] · max 3Public HTTPS source images. Send this field to the edit endpoint.Supported options
Route notes
Supports text-to-image and reference-guided editing with one to three images.
Custom pixel sizes are accepted when each edge is between 512 and 2048 pixels.
negative_prompt is useful for excluding unwanted content or visual traits.
Edit with reference images
Send public HTTPS source images with the same core controls. This route accepts up to 3 reference images.
/v1/images/editscurl https://api.imgrouter.com/v1/images/edits \
-H "Authorization: Bearer $IMGROUTER_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: qwen-image-3.0-edit-001" \
-d '{
"model": "qwen-image-3.0",
"prompt": "Preserve the subject and composition. Change the scene to soft blue hour.",
"size": "1:1",
"resolution": "1K",
"n": 1,
"reference_images": [
"https://example.com/reference.jpg"
]
}'Describe both the intended change and the details that must remain consistent. Stable source URLs produce the most reliable edit requests.
Read the completed output
Successful requests return completed image URLs and a request ID. Store the assets you need permanently; routed output URLs may expire.
{
"id": "req_01K4…",
"object": "image.generation",
"created": 1787424152,
"data": [
{ "url": "https://static.imgrouter.com/images/req_01K4.webp" }
],
"usage": { "images": 1 }
}Use GET /v1/requests/{request_id} for reconciliation and GET /v1/balance for the authenticated key's current Credit position.