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

# Qwen Image 2.0

> Balanced quality and speed image generation with editing support. See supported inputs, parameters, pricing, response fields, and API examples.

Generate AI images using Qwen Image 2.0, a faster accelerated version of 2.0 Pro. Supports text-to-image and image editing via reference images with the same capabilities at a lower price.

## Model

```
alibaba/qwen-image-2.0
```

## Parameters

| Parameter         | Type    | Required | Description                                                   |
| ----------------- | ------- | -------- | ------------------------------------------------------------- |
| `prompt`          | string  | Yes      | Text description of the image (max 800 chars)                 |
| `aspect_ratio`    | string  | No       | `1:1`, `16:9`, `9:16`, `4:3`, `3:4` (default: `1:1`)          |
| `image_urls`      | array   | No       | Input image URLs for editing or multi-image fusion            |
| `negative_prompt` | string  | No       | What to avoid in the image (max 500 chars)                    |
| `prompt_extend`   | boolean | No       | Smart prompt rewriting (default: `true`)                      |
| `seed`            | integer | No       | Seed for reproducibility                                      |
| `nsfw_check`      | boolean | No       | Check uploaded media inputs for NSFW content. Default: `true` |

## Example - Text-to-Image

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "alibaba/qwen-image-2.0",
    "input": {
      "prompt": "Watercolor painting of a cozy bookshop interior",
      "aspect_ratio": "1:1"
    }
  }'
```

## Example - Image Editing

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "alibaba/qwen-image-2.0",
    "input": {
      "prompt": "Add a rainbow in the sky behind the mountains",
      "image_urls": ["https://example.com/landscape.jpg"]
    }
  }'
```

## Response

```json theme={null}
{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "processing"
  }
}
```

<Note>
  **Volume discounts** are available for almost all models. Reach out at [contact@unifically.com](mailto:contact@unifically.com) to discuss custom pricing.
</Note>
