> ## Documentation Index
> Fetch the complete documentation index at: https://docs.geekai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Qwen Image 3.0 & Qwen Image 3.0 Pro

Qwen-Image-3.0 accepts up to 4.5K input tokens and handles dense layouts with embedded images, generating newspapers, storyboards, menus, and exam papers in a single pass. It accurately renders text as small as 10 px and reproduces microexpressions, pores, and individual hairs with photographic detail. It draws on external knowledge, natively renders 12 languages and over 20 fonts, and can recreate common web, game, and livestream interfaces.

Qwen-Image-3.0-Pro aims to produce images that are not just attractive but also practical for production work.

### Model parameters

* Model IDs: `qwen-image-3.0`/`qwen-image-3.0-pro`
* Pricing: See the model pages for [Qwen-Image-3.0](https://geekai.co/models/qwen-image-3.0) and [Qwen-Image-3.0-pro](https://geekai.co/models/qwen-image-3.0-pro).
* Endpoint: `https://geekai.co/api/v1/images/generations`
* Parameters: See the [Image API reference](https://docs.geekai.co/en/api/image/generations.md).
* Authentication: [Get an API key](https://geekai.co/user/api_keys).

> [!NOTE]
>
> The following Image API parameters are not supported:
>
> * `strength`
> * `aspect_ratio`
> * `quality`
> * `style_preset`
> * `response_format`
> * `output_format`
> * `mask`
> * `background`
>
> See also: [Official Qwen Image Generation and Editing 3.0 API documentation](https://bailian.console.aliyun.com/cn-beijing?spm=5176.12818093_47.overview_recent.1.2ffa2cc9sPpVb6\&tab=api#/api/?type=model\&url=3047054).

Set the output resolution with `size` as a `widthxheight` string, such as "1024x1024". If omitted, the model recommends a resolution based on the prompt:

* Text-to-image (T2I): Any dimensions with a total pixel count between `512x512` and `2048x2048` and an aspect ratio between `1:8` and `8:1`.
* Image-to-image (I2I): Any dimensions with a total pixel count between `512x512` and `2048x2048` and an aspect ratio between `1:8` and `8:1`.

In GeekAI, use `enhance_prompt` instead of the official `prompt_extend` to optimize prompts automatically. The model refines the original prompt to improve image quality and detail.

Set `n` to specify the number of images, up to 6. The default is 1.

For image-to-image generation, pass up to 3 reference images in `image` as URLs or Base64-encoded data. Use an array for multiple images. Requirements:

* Supported formats: PNG, JPG, JPEG, and WEBP.
* Each image must be no larger than 10 MB.
* Recommended dimensions: 384–2048 pixels for both width and height.

### Pricing

Like GPT-Image-2, Qwen-Image-3.0 can generate images at any resolution from `512x512` to `2048x2048`. Prices depend on resolution:

| Model ID | Resolution | Price (CNY/image) |
| - | - | - |
| `qwen-image-3.0` | 1K | 0.18 |
| `qwen-image-3.0` | 2K | 0.18 |
| `qwen-image-3.0-pro` | 1K | 0.25 |
| `qwen-image-3.0-pro` | 2K | 0.5 |

Unlike GPT-Image-2, which bills by token, Qwen-Image-3.0 bills output images by total pixel count (width × height). Images above 2,250,000 pixels are billed at the 2K rate; images at or below that threshold are billed at the 1K rate.

For `qwen-image-3.0`, 1K and 2K cost the same. For `qwen-image-3.0-pro`, 2K costs twice as much as 1K. Both models charge 0.02 CNY per input reference image.

### Text-to-image generation

Give the model a clear, precise description to quickly generate a high-quality image:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model": "qwen-image-3.0",
    "prompt": "An elegant, stately pair of calligraphy scrolls hangs in a quiet, traditionally furnished Chinese hall. Blue-and-white porcelain sits on the table. The left scroll reads ‘义本生知人机同道善思新’, the right reads ‘通云赋智乾坤启数高志远’, and the horizontal inscription reads ‘智启通义’. Use flowing calligraphy. Hang a traditional Chinese painting of Yueyang Tower between the scrolls.",
    "size": "1024x1024",
    "negative_prompt ": "Low resolution, low image quality, malformed limbs or fingers, oversaturation, waxy appearance, featureless faces, excessive smoothing, artificial-looking imagery, chaotic composition, blurry or distorted text.",
    "watermark": false
}'
```

The response is a JSON object containing the generated image URL and Base64-encoded image data:

```json theme={null}
{
  "model": "qwen-image-3.0",
  "created": 1785944071,
  "task_id": "8b5dbd66-0ebf-430e-b643-ffc2de28f05e",
  "task_status": "succeed",
  "data": [
    {
      "url": "https://static.geekai.co/image/2026/08/05/fe873826fecd34854a3c04a56f468a2d.png",
      "base64": "...base64 encoded image data..."
    }
  ],
  "usage": {
    "billed_units": 1,
    "output_image_type": "qima_output_1k"
  }
}
```

`billed_units` is the billable image count. `output_image_type` indicates the output resolution tier: `qima_output_1k` means 1K and `qima_output_2k` means 2K.

### Image-to-image generation

**Single image**

Pass a single image in `image` to edit it or generate an image based on it:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model": "qwen-image-3.0",
    "prompt": "Generate an image matching the depth map: a battered red bicycle stands on a muddy path with dense old-growth forest in the background",
    "image": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/fpakfo/image36.webp",
    "negative_prompt ": "Low quality"
}'
```

The response is a JSON object containing the generated image URL and Base64-encoded image data:

```json theme={null}
{
    "model": "qwen-image-3.0",
    "created": 1785944426,
    "task_id": "c9c2bdf8-1403-4d42-aa76-062b4dff5949",
    "task_status": "succeed",
    "data": [
        {
            "url": "https://static.geekai.co/image/2026/08/05/338d11a35ef558fb5fff218a605255a5.png",
            "base64": "...base64 encoded image data..."
        }
    ],
    "usage": {
        "billed_units": 1,
        "output_image_type": "qima_output_2k"
    }
}
```

**Multiple images**

Pass multiple images in `image` to generate an image based on several references:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model": "qwen-image-3.0",
    "prompt": "Replace the clothing of the girl in image 2 with the clothing of the girl in image 1",
    "image": [
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imagesToimage_1.png", 
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_5_imagesToimage_2.png",
    ]
}'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.