← All models
Alibaba (Qwen team) / Qwen-Image
Text → ImageOpen5–15s2048×2048
API Reference
Generate images with Qwen-Image using our SDK, CLI, or REST API.
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/generateGenerate an image with the specified model and prompt.
Request
Response
Parameters
| Parameter | Type | Description |
|---|---|---|
| prompt* | string | Text description of the image to generate |
| model* | string | Model ID (e.g., "qwen-image") |
| contributor | string | Contributor slug to apply their style |
| quality | string | "draft" | "standard" | "hd" (default: "standard") |
| aspect_ratio | string | "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