Qwen Image API

Qwen Image
Image Generation and Editing

From text to images, from reference images to edited results. Generate, edit, and deliver images in batches through a unified API.

1–3Reference images for editing
1–6Outputs per batch
1K / 2KAvailable output resolutions
Sync / AsyncSynchronous, tasks, and callbacks

One API for generation, editing, and delivery

Designed for real product workflows: complex visual instructions, multi-reference image editing, batch results, and long-term CDN URLs, without combining multiple APIs.

Complex visual expression

Combine subjects, composition, materials, lighting, and text layouts for marketing visuals, product concepts, and design exploration.

Controlled reference image editing

Provide 1–3 images to modify backgrounds, colors, styles, or individual elements while preserving key visual features.

Production-grade result delivery

Supports synchronous requests, asynchronous tasks, and callbacks; successfully generated images are automatically saved to AceDataCloud CDN.

Real generation results

All examples below come from production API tests, not mockups or placeholder assets.

Choose a model without rewriting your integration

qwen-image-3.0

Ideal for high-volume creation, batch output, and rapid design iteration; 1K and 2K outputs share the same standard price.

High-volume creation and batch iteration

qwen-image-3.0-pro

Ideal for posters, commercial visuals, and high-precision final images, with resolution selection in the same request structure.

High-detail 1K / 2K output

For input image, output image, and resolution pricing for both models, refer to the Pricing tab on this page and your current plan. Avoid hard-coding prices in your integration.

From a Request to a Deliverable Result

curl -X POST 'https://api.acedata.cloud/qwen-image/images' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "qwen-image-3.0",
    "prompt": "A premium product photograph on cobalt blue",
    "size": "1024*1024",
    "n": 1,
    "async": false
  }'

Generation Response JSON

The following is an excerpt from an existing generation response. Use the image URL returned in your response.

{
  "success": true,
  "task_id": "565a7f55-72c6-43ed-b274-268ff046e5b4",
  "trace_id": "bb923cec-1550-43b4-8df2-288ac0977b4b",
  "data": [
    {
      "image_url": "https://cdn.acedata.cloud/assets/examples/qwen-image/40d5c76b-2f84-4b04-9ea0-b706417ae622-bac6a9e9de22.png"
    }
  ]
}
{
  "success": true,
  "task_id": "59175cc3-5497-4e0d-86bc-7180642c6683",
  "usage": {
    "input_image_count": 0,
    "output_image_count": 1,
    "output_width": 1024,
    "output_height": 1024
  },
  "cost": {
    "list_amount": 0.3153710247349823,
    "currency": "credit"
  }
}

On the right are the usage and billing fields from a previous successful response. In asynchronous mode, once a task ID is returned, you can query it for free through the Tasks API.

Frequently Asked Questions

How is the final cost determined?

The generation API is billed based on the actual number of input images, number of successful outputs, model, and output specifications; refer to usage and cost in the response.

Where can I get the resulting image?

Get the successfully generated image from data[].image_url in the response. For long-term retention, download the image to your own storage.

Where can I find the complete fields and current pricing?

See the API documentation and the Pricing tab for this service.

Integrate Image Workflows into Your Product

Start with a real request and use the same API for generation, editing, batch processing, and asynchronous delivery.

Get an API Key