---
title: "qwen-image-fast"
url: "https://docs.api.pruna.ai/guides/models/qwen-image-fast"
image: "https://docs.api.pruna.ai/_og/d/c_Ocean.takumi,title_qwen-image-fast,props_eyJ0aGVtZSI6eyJtb2RlIjoibGlnaHQiLCJjb2xvcnMiOnsicHJpbWFyeSI6IiM3YzNhZWQifX19,p_Ii9ndWlkZXMvbW9kZWxzL3F3ZW4taW1hZ2UtZmFzdCI,s_ZyNr9mToVxxFAsCB.png"
---

# Qwen Image Fast

## [Overview](#overview)

**Rate Limit:** 150 requests per minute

**Category:** Image Generation

**Price:** 0.005$ / image

---

## [Quickstart](#quickstart)

### [Basic Image Generation (Asynchronous)](#basic-image-generation-asynchronous)

```bash
curl -X POST 'https://api.pruna.ai/v1/predictions' \
  -H 'Content-Type: application/json' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Model: qwen-image-fast' \
  -d '{
    "input": {
      "prompt": "A serene Japanese garden with cherry blossoms and a traditional wooden bridge"
    }
  }'
```

### [Basic Image Generation (Synchronous)](#basic-image-generation-synchronous)

```bash
curl -X POST 'https://api.pruna.ai/v1/predictions' \
  -H 'Content-Type: application/json' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Model: qwen-image-fast' \
  -H 'Try-Sync: true' \
  -d '{
    "input": {
      "prompt": "A serene Japanese garden with cherry blossoms and a traditional wooden bridge"
    }
  }'
```

### [Preset Aspect Ratio](#preset-aspect-ratio)

```bash
curl -X POST 'https://api.pruna.ai/v1/predictions' \
  -H 'Content-Type: application/json' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Model: qwen-image-fast' \
  -d '{
    "input": {
      "prompt": "Cinematic landscape of mountains at sunset",
      "aspect_ratio": "16:9",
      "creativity": 0.8,
      "seed": 42
    }
  }'
```

### [Custom Dimensions](#custom-dimensions)

```bash
curl -X POST 'https://api.pruna.ai/v1/predictions' \
  -H 'Content-Type: application/json' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Model: qwen-image-fast' \
  -d '{
    "input": {
      "prompt": "Abstract geometric patterns in vibrant colors",
      "aspect_ratio": "custom",
      "width": 1280,
      "height": 960,
      "creativity": 0.75,
      "disable_safety_checker": false
    }
  }'
```

---

## [Parameters](#parameters)

### [Required Parameters](#required-parameters)

| Parameter | Type   | Description                      |
| :-------- | :----- | :------------------------------- |
| prompt    | string | Text prompt for image generation |

### [Optional Parameters](#optional-parameters)

| Parameter              | Type    | Default    | Description                                                                      |
| :--------------------- | :------ | :--------- | :------------------------------------------------------------------------------- |
| aspect_ratio           | string  | "16:9"     | Aspect ratio for the generated image. Options: "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "custom" |
| width                  | integer | (optional) | Width of the generated image. Only used when aspect_ratio="custom". Must be a multiple of 16 (256-1440) |
| height                 | integer | (optional) | Height of the generated image. Only used when aspect_ratio="custom". Must be a multiple of 16 (256-1440) |
| creativity             | float   | 0.62       | Control the creativity of the model. Higher values increase the seed diversity (0.0-1.0) |
| seed                   | integer | (optional) | Random seed. Set for reproducible generation                                     |
| disable_safety_checker | boolean | false      | Disable safety checker for generated images                                      |