---
title: Qwen-Image-2.0 | Runware Docs
url: https://runware.ai/docs/models/alibaba-qwen-image-2-0
description: Unified image generation and editing with professional text rendering
---
# Qwen-Image-2.0

Qwen-Image-2.0 is an advanced image generation and editing model from Alibaba that produces high-quality images at native 2K resolution and renders professional-grade text within visuals. It unifies text-to-image and image-to-image editing into a single model with strong semantic understanding and adheres to detailed prompt instructions. The model excels at generating images that include complex textual content, infographics, posters, and layout-driven visuals.

- **ID**: `alibaba:qwen-image@2.0`
- **Status**: live
- **Creator**: Alibaba
- **Release Date**: February 10, 2026
- **Capabilities**: Text to Image, Image to Image, Image Editing

## Pricing

- **2K**: `$0.035`

## Compatibility & Validation

`inputs.referenceImages` cannot be used with `negativePrompt`.

---

`width` and `height` must be used together.

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `imageInference`

Identifier for the type of task being performed

### [taskUUID](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [outputType](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-outputtype)

- **Type**: `string`
- **Default**: `URL`

Image output type.

**Allowed values**: `URL` `base64Data` `dataURI`

### [outputFormat](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-outputformat)

- **Type**: `string`
- **Default**: `JPG`

Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.

- \`JPG\`: Best for photorealistic images with smaller file sizes (no transparency).
- \`PNG\`: Lossless compression, supports high quality and transparency (alpha channel).
- \`WEBP\`: Modern format providing superior compression and transparency support.

> [!NOTE]
> \*\*Transparency\*\*: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., \`PNG\`, \`WEBP\`, \`TIFF\`). \`JPG\` does not support transparency.

**Allowed values**: `JPG` `PNG` `WEBP`

### [outputQuality](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-outputquality)

- **Type**: `integer`
- **Min**: `20`
- **Max**: `99`
- **Default**: `95`

Compression quality of the output. Higher values preserve quality but increase file size.

### [webhookURL](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-webhookurl)

- **Type**: `string`
- **Format**: `URI`

Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/platform/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-deliverymethod)

- **Type**: `string`
- **Default**: `sync`

Determines how the API delivers task results.

**Allowed values**:

- `sync` Returns complete results directly in the API response.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/platform/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-uploadendpoint)

- **Type**: `string`
- **Format**: `URI`

Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.

**Common use cases:**

- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- **CDN integration**: Upload to content delivery networks for immediate distribution.

```text
// S3 presigned URL for secure upload
https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600

// Google Cloud Storage presigned URL
https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789

// Custom storage endpoint
https://storage.example.com/uploads/generated-image.jpg
```

The content data will be sent as the request body to the specified URL when generation is complete.

### [safety](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-safety)

- **Path**: `safety.checkContent`
- **Type**: `object (2 properties)`

Content safety checking configuration for image generation.

#### [checkContent](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-safety-checkcontent)

- **Path**: `safety.checkContent`
- **Type**: `boolean`
- **Default**: `false`

Enable or disable content safety checking. When enabled, defaults to `fast` mode.

#### [mode](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-safety-mode)

- **Path**: `safety.mode`
- **Type**: `string`
- **Default**: `none`

Safety checking mode for image generation.

**Allowed values**:

- `none` Disables checking.
- `fast` Performs a single check.

### [ttl](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-ttl)

- **Type**: `integer`
- **Min**: `60`

Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.

### [includeCost](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-includecost)

- **Type**: `boolean`
- **Default**: `false`

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-numberresults)

- **Type**: `integer`
- **Min**: `1`
- **Max**: `20`
- **Default**: `1`

Number of results to generate. Each result uses a different seed, producing variations of the same parameters.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [referenceImages](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-inputs-referenceimages)

- **Path**: `inputs.referenceImages`
- **Type**: `array of strings`

List of reference images (UUID, URL, Data URI, or Base64).

**Generation Parameters**

Core parameters for controlling the generated content.

### [model](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `alibaba:qwen-image@2.0`

Identifier of the model to use for generation.

**Learn more** (3 resources):

- [Text To Image: Model Selection The Foundation Of Generation](https://runware.ai/docs/guides/text-to-image#model-selection-the-foundation-of-generation) (guide)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/guides/image-inpainting#model-specialized-inpainting-models) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

### [positivePrompt](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-positiveprompt)

- **Type**: `string`
- **Required**: true
- **Min**: `2`
- **Max**: `2000`

Text prompt describing elements to include in the generated output.

**Learn more** (2 resources):

- [Text To Image: Prompts Guiding The Generation](https://runware.ai/docs/guides/text-to-image#prompts-guiding-the-generation) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

### [negativePrompt](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-negativeprompt)

- **Type**: `string`
- **Min**: `2`
- **Max**: `500`

Prompt to guide what to exclude from generation. Ignored when guidance is disabled (CFGScale ≤ 1).

**Learn more** (1 resource):

- [Text To Image: Prompts Guiding The Generation](https://runware.ai/docs/guides/text-to-image#prompts-guiding-the-generation) (guide)

### [width](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-width)

- **Type**: `integer`
- **Step**: `1`

Width of the generated media in pixels.

**Learn more** (2 resources):

- [Image To Image: Dimensions Changing Aspect Ratio](https://runware.ai/docs/guides/image-to-image#dimensions-changing-aspect-ratio) (guide)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/guides/image-outpainting#dimensions-critical-for-outpainting) (guide)

### [height](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-height)

- **Type**: `integer`
- **Step**: `1`

Height of the generated media in pixels.

**Learn more** (2 resources):

- [Image To Image: Dimensions Changing Aspect Ratio](https://runware.ai/docs/guides/image-to-image#dimensions-changing-aspect-ratio) (guide)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/guides/image-outpainting#dimensions-critical-for-outpainting) (guide)

**Provider Settings**

Parameters specific to this model provider. These must be nested inside the \`providerSettings.alibaba\` object.

### [promptExtend](https://runware.ai/docs/models/alibaba-qwen-image-2-0#request-providersettings-alibaba-promptextend)

- **Path**: `providerSettings.alibaba.promptExtend`
- **Type**: `boolean`
- **Default**: `true`

Enable LLM-based prompt rewriting to expand and clarify inputs. Affects reproducibility.

## Response Parameters

### [taskType](https://runware.ai/docs/models/alibaba-qwen-image-2-0#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `imageInference`

Type of the task.

### [taskUUID](https://runware.ai/docs/models/alibaba-qwen-image-2-0#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the task.

### [imageUUID](https://runware.ai/docs/models/alibaba-qwen-image-2-0#response-imageuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output image.

### [imageURL](https://runware.ai/docs/models/alibaba-qwen-image-2-0#response-imageurl)

- **Type**: `string`
- **Format**: `URI`

URL of the output image.

### [imageBase64Data](https://runware.ai/docs/models/alibaba-qwen-image-2-0#response-imagebase64data)

- **Type**: `string`

Base64-encoded image data.

### [imageDataURI](https://runware.ai/docs/models/alibaba-qwen-image-2-0#response-imagedatauri)

- **Type**: `string`
- **Format**: `URI`

Data URI of the output image.

### [seed](https://runware.ai/docs/models/alibaba-qwen-image-2-0#response-seed)

- **Type**: `integer`

The seed used for generation. If none was provided, shows the randomly generated seed.

### [NSFWContent](https://runware.ai/docs/models/alibaba-qwen-image-2-0#response-nsfwcontent)

- **Type**: `boolean`

Flag indicating if NSFW content was detected.

### [cost](https://runware.ai/docs/models/alibaba-qwen-image-2-0#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.

## Examples

### Retro-Futurist Transit Infographic Poster (Text to Image)

![Retro-Futurist Transit Infographic Poster](https://assets.runware.ai/examples/alibaba-qwen-image-2-0/bfa7090a-91bf-4386-8e56-709e28658a36.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "9e78d851-1036-4cfa-afe7-23f9565306e7",
  "model": "alibaba:qwen-image@2.0",
  "positivePrompt": "A beautifully designed retro-futurist public transit infographic poster for the floating city of Aurelia, combining Swiss grid precision with 1970s space-age graphic design. Vertical poster composition with strong hierarchy, bold shapes, clean iconography, elegant color blocking in teal, saffron, cream, midnight blue, and coral. Include highly legible English text integrated into the design with professional typography. Main headline at top: \"AURELIA SKYLINE TRANSIT\". Subtitle beneath: \"Orbit Trams • Canal Ferries • Solar Funiculars\". Add a centered route map with color-coded lines and labeled stops: \"Sunport\", \"Glass Market\", \"North Docks\", \"Moss Library\", \"Crescent Plaza\", \"Cloud Garden\", \"Observatory\", \"South Gate\". Add a fare box reading: \"Day Pass 8 Credits\" and \"Children Under 6 Ride Free\". Add a timetable panel titled \"First Departures\" with rows: \"Tram A 05:40\", \"Ferry C 05:55\", \"Funicular L 06:10\". Add a small footer slogan: \"Move Lightly Through the Future\". Include stylized illustrations of sleek aerial trams, layered terraces, canals, and tiny commuters. Extremely polished poster layout, razor-sharp text rendering, balanced whitespace, museum-quality print aesthetic, subtle paper texture, high detail, visually coherent and realistic as a premium editorial infographic.",
  "negativePrompt": "blurry text, misspelled words, low contrast, cluttered layout, distorted map, warped typography, extra panels, watermark, logo, photo-real human faces",
  "width": 1536,
  "height": 2048,
  "providerSettings": {
    "alibaba": {
      "promptExtend": false
    }
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "9e78d851-1036-4cfa-afe7-23f9565306e7",
  "imageUUID": "6149be29-0250-45fd-b6e7-2148b65ec96a",
  "imageURL": "https://im.runware.ai/image/os/a08d21/ws/4/ii/6149be29-0250-45fd-b6e7-2148b65ec96a.jpg",
  "seed": 935710734,
  "cost": 0.035
}
```

---

### Bilingual Festival Poster (Text to Image)

![Bilingual Festival Poster](https://assets.runware.ai/examples/alibaba-qwen-image-2-0/09a7a175-db0f-4378-a8a7-237c1fe9bae8.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "a9843a8d-c7c1-4377-92e6-76ae6d6b4670",
  "model": "alibaba:qwen-image@2.0",
  "positivePrompt": "Design a premium vertical cultural festival poster for a contemporary night market event, with elegant professional graphic design, cinematic lighting, and highly legible embedded text. Main headline at the top in large gold letters: 'LANTERN NIGHTS'. Subtitle directly below in clean white text: 'Shanghai Riverfront Arts Festival'. Add a red circular badge near the upper right that says 'OCT 18–20'. In the center, show a vibrant evening street scene with glowing lanterns, food stalls, stylish visitors, paper decorations, and reflections on wet stone pavement. Include a modern stage area in the background with subtle light beams and a river skyline beyond. At the bottom, add a neat information block with the following lines exactly: 'Live Music | Street Food | Design Market' and beneath it '7 PM – 11 PM  |  North Bund Wharf'. Add a small bilingual footer line: '欢迎光临  Welcome'. Style: luxury editorial poster, sophisticated grid layout, balanced negative space, sharp typography, rich reds and golds, crisp details, premium print-ready composition.",
  "negativePrompt": "blurry text, misspelled words, distorted letters, low contrast, cluttered layout, extra limbs, warped faces, watermark, logo artifacts, cropped headline",
  "width": 1536,
  "height": 2048,
  "providerSettings": {
    "alibaba": {
      "promptExtend": true
    }
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "a9843a8d-c7c1-4377-92e6-76ae6d6b4670",
  "imageUUID": "29372b24-f0e9-4ab9-bc27-bb0f1cd6c7cd",
  "imageURL": "https://im.runware.ai/image/os/a11d13/ws/4/ii/29372b24-f0e9-4ab9-bc27-bb0f1cd6c7cd.jpg",
  "seed": 215944985,
  "cost": 0.035
}
```

---

### Typographic Festival Poster (Text to Image)

![Typographic Festival Poster](https://assets.runware.ai/examples/alibaba-qwen-image-2-0/791f06d1-4d49-4c1f-af9b-bc2b8d42e148.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "eba86a12-a42c-4720-8e05-92f5350b5e57",
  "model": "alibaba:qwen-image@2.0",
  "positivePrompt": "Design a premium vertical music festival poster with exceptional typography and clean editorial layout. Theme: neon desert synthwave festival at night. Large headline at the top reading exactly: 'LUMINA SOUND FEST 2027'. Subheadline beneath: 'Mojave Arts District • April 18–20'. Add a featured lineup section with readable artist names: 'Astra Nova', 'Glass Horizon', 'Velvet Circuit', 'Echo Bloom'. Add a small ticket box reading: 'Tickets On Sale Now'. Add a footer line reading: 'www.luminasoundfest.com'. Visual style: bold Swiss-grid poster design fused with cinematic synthwave aesthetics, glowing magenta and cyan lighting, subtle desert silhouettes, chrome gradients, crisp vector shapes, layered geometric frames, atmospheric stars, high contrast, refined spacing, professional kerning, immaculate alignment, sharp legible text, premium branding, elegant negative space, print-ready composition.",
  "negativePrompt": "misspelled text, gibberish, blurry typography, warped letters, low contrast, cluttered layout, extra limbs, people, watermark, logo artifacts, distorted perspective",
  "width": 1440,
  "height": 1920,
  "providerSettings": {
    "alibaba": {
      "promptExtend": true
    }
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "eba86a12-a42c-4720-8e05-92f5350b5e57",
  "imageUUID": "6ac32fbd-eb82-43f6-99af-15996aa8974c",
  "imageURL": "https://im.runware.ai/image/os/a11d13/ws/3/ii/6ac32fbd-eb82-43f6-99af-15996aa8974c.jpg",
  "seed": 1582357229,
  "cost": 0.035
}
```