---
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](https://assets.runware.ai/covers/alibaba-qwen-image-2-0.jpg)

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.

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

## Pricing

$0.035 per run · ~14s per request

**4 example generations**

- [reference-to-image](https://runware.ai/docs/models/alibaba-qwen-image-2-0/examples#example-cloud-seeding-documentary-thumbnail) · 1536×1024: `$0.035` (~17s)
- [reference-to-image](https://runware.ai/docs/models/alibaba-qwen-image-2-0/examples#example-museum-textile-freezing-explainer) · 1536×1024: `$0.035` (~17s)
- [text-to-image](https://runware.ai/docs/models/alibaba-qwen-image-2-0/examples#example-harbor-crane-operator-portrait) · 1024×1024: `$0.035` (~12s)
- [text-to-image](https://runware.ai/docs/models/alibaba-qwen-image-2-0/examples#example-nocturnal-tidepool-survey-poster) · 1024×1024: `$0.035` (~4s)

times vary, measured end to end · [How pricing works](https://runware.ai/docs/models-api/pricing)

## 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`

Webhook URL that receives JSON responses 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/models-api/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 results directly in the API response. Over HTTP, a task still running after 120 seconds continues as an async task and comes back with status 'processing'. Poll for its results using getResponse.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/models-api/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 (1 property)`

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`

Enable or disable content safety checking. Increases total generation time and adds a small charge on top of the generation cost.

### [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`

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`
- **Min items**: `1`
- **Max items**: `3`

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

**Core Parameters**

Primary parameters that define the task output.

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

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

Send `auto` instead of an AIR identifier to have the model router choose the model for this task. The rest of the request is unchanged, every value you send is kept, and only the parameters you leave out are filled in. See [Model Router](https://runware.ai/docs/models-api/model-router).

**Learn more** (3 resources):

- [Text To Image: Model Selection](https://runware.ai/docs/learn/text-to-image#model-selection) (learn)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/learn/image-inpainting#model-specialized-inpainting-models) (learn)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/learn/image-outpainting#other-critical-parameters) (learn)

### [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** (1 resource):

- [Prompts](https://runware.ai/docs/learn/prompts) (learn)

### [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):

- [Prompts: Negative Prompts](https://runware.ai/docs/learn/prompts#negative-prompts) (learn)

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

- **Type**: `integer`
- **Min**: `1`
- **Max**: `4096`
- **Step**: `1`

Width of the generated media in pixels.

**Learn more** (2 resources):

- [Dimensions](https://runware.ai/docs/learn/dimensions) (learn)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/learn/image-outpainting#dimensions-critical-for-outpainting) (learn)

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

- **Type**: `integer`
- **Min**: `1`
- **Max**: `4096`
- **Step**: `1`

Height of the generated media in pixels.

**Learn more** (2 resources):

- [Dimensions](https://runware.ai/docs/learn/dimensions) (learn)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/learn/image-outpainting#dimensions-critical-for-outpainting) (learn)

**Settings**

Technical parameters to fine-tune the inference process. These must be nested inside the \`settings\` object.

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

- **Path**: `settings.promptExtend`
- **Type**: `boolean`
- **Default**: `true`

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

**Features**

Standalone addons and post-processing features.

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

- **Path**: `advancedFeatures.watermark`
- **Type**: `object (6 properties)`

Configuration object for adding watermarks to generated videos. Watermarks can be applied using either text or image content with customizable positioning and appearance. You must provide either `text` or `image` content for the watermark, but not both.

**Text watermark**:

```json
"advancedFeatures": {
  "watermark": {
    "text": "© 2025 Company",
    "displayPosition": "bottom-right",
    "opacity": 0.6,
    "fontColor": "#ffffff",
    "bgColor": "#000000"
  }
}
```

**Image watermark**:

```json
"advancedFeatures": {
  "watermark": {
    "image": "c64351d5-4c59-42f7-95e1-eace013eddab",
    "displayPosition": "top-left",
    "opacity": 0.6
  }
}
```

**Tiled watermark**:

```json
"advancedFeatures": {
  "watermark": {
    "text": "PREVIEW",
    "tiled": true,
    "opacity": 0.4,
    "fontColor": "#cccccc"
  }
}
```

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

- **Path**: `advancedFeatures.watermark.text`
- **Type**: `string`
- **Min**: `2`
- **Max**: `32`

Watermark text.

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

- **Path**: `advancedFeatures.watermark.image`
- **Type**: `string`

Watermark image (UUID, URL, Data URI, or Base64).

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

- **Path**: `advancedFeatures.watermark.displayPosition`
- **Type**: `string`

Watermark position.

**Allowed values**: `top-left` `top-center` `top-right` `center-left` `center-center` `center-right` `bottom-left` `bottom-center` `bottom-right` `tiled`

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

- **Path**: `advancedFeatures.watermark.opacity`
- **Type**: `float`
- **Min**: `0.1`
- **Max**: `1`
- **Step**: `0.01`

Watermark opacity.

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

- **Path**: `advancedFeatures.watermark.fontColor`
- **Type**: `string`

Text color in hex format.

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

- **Path**: `advancedFeatures.watermark.bgColor`
- **Type**: `string`

Background color in hex format.

## Response Parameters

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

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

Identifier for the type of task this response belongs to.

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

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

UUID v4 identifier echoed from the original request, used to match async responses to their tasks.

### [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.

### [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

### text-to-image (text-to-image)

![Harbor Crane Operator Portrait](https://assets.runware.ai/examples/alibaba-qwen-image-2-0/3bcef330-22f4-4c00-bddc-659fd46d6348.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "e84ac19d-5176-448b-a9ed-1959976f1d15",
  "model": "alibaba:qwen-image@2.0",
  "positivePrompt": "Square photorealistic editorial portrait from a premium personal photoshoot: a confident 58-year-old Korean woman who works as a harbor gantry-crane operator, standing inside the elevated control cabin at dawn. Waist-up composition, direct but relaxed eye contact, weathered expressive face, short silver-black hair, one hand resting naturally on a steel console rail. She wears a beautifully fitted rust-orange work coverall with subtle reflective piping over a charcoal turtleneck, practical work gloves tucked into a pocket, and a yellow safety helmet held at her side. Through broad cabin windows, softly defocused container cranes, mist, stacked cargo containers, and pale harbor water establish her profession without overwhelming the portrait. Cool blue morning ambience balanced by warm amber cabin light, restrained palette of steel blue, rust orange, charcoal, and fog white. Authentic industrial details, dignified and quietly powerful mood, contemporary magazine portraiture, natural skin texture, realistic fabric and metal, subtle 35mm film grain, shallow depth of field, crisp eyes, soft directional key light, clean square composition, no lettering or logos.",
  "negativePrompt": "text, captions, logos, corporate branding, fashion runway pose, glamour retouching, plastic skin, exaggerated machinery, science-fiction controls, unsafe equipment use, extra fingers, malformed hands, duplicate person, helmet worn incorrectly, cluttered composition, harsh HDR, oversaturated colors, cartoon, illustration",
  "width": 1024,
  "height": 1024,
  "providerSettings": {
    "alibaba": {
      "promptExtend": true
    }
  }
}
```

---

### text-to-image (text-to-image)

![Nocturnal Tidepool Survey Poster](https://assets.runware.ai/examples/alibaba-qwen-image-2-0/e43bccd5-f7c7-4f2b-b26e-0445ec0ce747.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "8d39b660-231a-4072-95f2-780e7bef3f07",
  "model": "alibaba:qwen-image@2.0",
  "positivePrompt": "Create a finished square event poster for a public marine-science night survey, full-bleed artwork with no frame or mockup. The central image is a dramatic overhead macro view into a tidepool after dark: a translucent sea anemone, ochre sea star, tiny hermit crab, wet black rocks, and rippling seawater illuminated by ultraviolet field lamps. Electric cyan bioluminescent highlights glow against deep navy and near-black, with restrained coral-orange accents. Contemporary scientific editorial art direction, crisp photographic detail combined with subtle sonar-like contour lines and small specimen-index marks. Strong asymmetrical composition with the tidepool life concentrated diagonally across the center and clean dark space for information. Render all lettering sharply and exactly as written. Large condensed sans-serif title at upper left: “TIDEPOOL AFTER DARK”. Smaller subtitle: “A GUIDED NIGHT SURVEY”. Event details in a precise modular block at lower left: “SAT 18 OCT • 8:30 PM” and “NORTH JETTY • HARBOR FIELD STATION”. Small footer line: “HEADLAMPS PROVIDED • AGES 12+”. Premium cultural-event poster, atmospheric, intelligent, adventurous, highly legible hierarchy, print-ready square composition.",
  "negativePrompt": "daylight beach, tropical resort imagery, fantasy creatures, mermaids, cartoon style, retro travel poster, psychedelic festival graphics, cluttered typography, misspelled text, duplicated letters, extra event details, logos, QR codes, website UI, buttons, poster mockup, wall scene, frame, glare",
  "width": 1024,
  "height": 1024,
  "providerSettings": {
    "alibaba": {
      "promptExtend": false
    }
  }
}
```

---

### reference-to-image (reference-to-image)

![Cloud Seeding Documentary Thumbnail](https://assets.runware.ai/examples/alibaba-qwen-image-2-0/41443154-dbc3-41fe-a19c-f8f785f0b578.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "865f15f2-ec25-4cb9-89b2-6b35130c09cc",
  "model": "alibaba:qwen-image@2.0",
  "positivePrompt": "Create a finished landscape video thumbnail for a serious investigative documentary about cloud seeding and water rights. Build a dramatic editorial composite from all three supplied images: preserve the scientist’s recognizable face, clothing, and serious expression from reference image 1 and place her large on the left third; preserve the distinctive silver aircraft and flare-rack details from reference image 2, showing it banking through a dark cobalt storm cloud in the upper-right; use the exposed shoreline patterns and branching channels from reference image 3 as the drought landscape spanning the bottom half. Connect the elements with a sweeping diagonal boundary between rain-darkened clouds and sun-scorched terrain. Add subtle rain shafts behind the aircraft and a narrow beam of hard sunlight across the scientist’s face. Bold investigative color grade: electric cobalt blue, chalk white, rust orange, and near-black, with crisp cutout edges, restrained halftone grain, and premium current-affairs documentary art direction. Include one large, perfectly legible headline on the right: “WHO OWNS THE RAIN?” in condensed uppercase white sans-serif lettering, with “RAIN?” accented in rust orange. Keep the headline clear of the aircraft and readable at thumbnail size. Strong hierarchy, urgent but credible mood, uncluttered 3:2 composition, no logo, no interface, no additional text.",
  "width": 1536,
  "height": 1024,
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/3ac6dc27-f86b-4966-9bf0-e963fb0e2358.jpg",
      "https://assets.runware.ai/assets/inputs/3254fd21-224b-45fd-a454-d4f467b57dcb.jpg",
      "https://assets.runware.ai/assets/inputs/a258d445-dc1b-4ceb-b83c-71e952ee6609.jpg"
    ]
  }
}
```

---

### reference-to-image (reference-to-image)

![Museum Textile Freezing Explainer](https://assets.runware.ai/examples/alibaba-qwen-image-2-0/7e2ade95-11a9-40ed-b14d-087227a2511a.jpg)

```json
{
  "taskType": "imageInference",
  "taskUUID": "6f78f950-4fc9-4678-b883-caaa6a427ee3",
  "model": "alibaba:qwen-image@2.0",
  "positivePrompt": "Create a finished 3:2 landscape museum staff-training infographic titled exactly “FREEZING INFESTED TEXTILES”. Use reference image 1 as the exact visual basis for the burgundy-and-gold ceremonial jacket, preserving its recognizable silhouette, colors and embroidery as the hero object repeated through the workflow. Use reference image 2 to guide the realistic freezer, worktable, archival materials and conservation-room details. Present a clear left-to-right five-step process with large numbered circles, directional arrows and concise text: “1  INSPECT — Photograph damage. Remove loose accessories.” “2  BAG — Wrap with tissue. Double-bag and seal.” “3  FREEZE — Hold at −30°C for 72 HOURS.” “4  THAW SEALED — Keep bag closed for 24 HOURS.” “5  CHECK — Inspect, document and return to quarantine.” Add a small cutaway sidebar titled “WHY KEEP IT SEALED?” showing condensation forming outside the bag, with the caption “Prevents moisture from settling on the textile.” Include a slim bottom note: “Follow your institution’s conservation and integrated pest management protocols.” Art direction: sophisticated museum technical illustration combining precise flat vector diagrams with subtle paper texture and restrained dimensional shading; warm ivory background, burgundy, charcoal, ice blue and muted gold palette; crisp Swiss editorial grid, generous margins, excellent hierarchy, highly legible professional typography. No logo, no interface, no mockup; one standalone infographic.",
  "width": 1536,
  "height": 1024,
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/242212f5-dd7c-4923-8815-d72acf95c76a.jpg",
      "https://assets.runware.ai/assets/inputs/158882d5-3790-4d2d-b24a-4ebd8844b074.jpg"
    ]
  }
}
```