Skip to main content

Qwen Image

POST /v1/images/generations
Crazyrouter exposes the first batch of Qwen Image generation models through the OpenAI Images-compatible public contract. Clients keep using /v1/images/generations; Alibaba official and third-party channels stay internal as providers only.

Public Models

ModelUpstream execution shapeCustomer-facing capabilityVerification
qwen-image-plusasync generationtext-to-imageverified
qwen-image-maxsync generationtext-to-imageverified
qwen-image-2.0sync generationtext-to-imageverified
qwen-image-2.0-prosync generationtext-to-imageBeta
qwen-image-2.0-pro is already aligned in protocol and code, but the production carrier evidence is still being closed, so it remains Beta for now.

Public Contract

Request Parameters

ParameterTypeRequiredDescription
modelstringYesqwen-image-plus, qwen-image-max, qwen-image-2.0, or qwen-image-2.0-pro
promptstringYestext-to-image prompt
sizestringNooutput size; use sizes currently exposed by the model page or playground
nintegerNonumber of images, default 1
response_formatstringNourl or b64_json

Request Example

curl -X POST https://crazyrouter.com/v1/images/generations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "qwen-image-max",
    "prompt": "A premium perfume poster with soft studio lighting and the title Morning Mist in Chinese",
    "size": "1024x1024",
    "n": 1,
    "response_format": "url"
  }'

Response Example

{
  "created": 1709123456,
  "data": [
    {
      "url": "https://crazyrouter.com/files/qwen_image_abc123.png"
    }
  ]
}

Official Billing Truth

The current official truth for Qwen Image is billing per successfully generated image, not input/output token display pricing.
ModelOfficial billingOfficial priceCurrent doc state
qwen-image-plusper image¥0.20 / imageverified
qwen-image-maxper image¥0.50 / imageverified
qwen-image-2.0per image¥0.20 / imageverified
qwen-image-2.0-proper image¥0.50 / imageBeta

Scope Notes

  • This first batch commits only the public text-to-image capability. Additional upstream multimodal abilities are not exposed as separate customer protocols yet.
  • Providers may run async or sync upstream paths internally, but the customer-facing contract remains the same OpenAI Images request/response shape.
  • The edit model qwen-image-edit-2509 is not part of this first-batch generation closure. Treat editing as a separate capability decision.