← All models

Alibaba (Qwen team) / Qwen-Image

Text → ImageOpen5–15s2048×2048
Docs

API Reference

Generate images with Qwen-Image using our SDK, CLI, or REST API.

Try in Playground

Quick Start

Install the SDK and generate your first image in under a minute.

TypeScript SDK

Basic Usage

With Contributor Style

Apply a specific artist's style to your generation. Browse available contributors.

Batch Generation

CLI

Generate images directly from your terminal.

REST API

POST/api/v1/generate

Generate an image with the specified model and prompt.

Request

Response

Parameters

ParameterTypeDescription
prompt*stringText description of the image to generate
model*stringModel ID (e.g., "qwen-image")
contributorstringContributor slug to apply their style
qualitystring"draft" | "standard" | "hd" (default: "standard")
aspect_ratiostring"1:1" | "16:9" | "9:16" | "4:3" | "3:4"

Rate Limits

Free
10 req/min
100 req/day
Pro
60 req/min
Unlimited daily
Enterprise
Custom
Contact sales

Resources