Skip to content
QwenChecking

Qwen Image 3.0 / Text to Image

qwen-image-3-0-text-to-image

text to imageOutput: ImageInput: text
Loading price…
Official list price · Not verified
Get API key

Parameters

Required
prompt: stringrequired

Positive prompt describing the desired image content, style, composition, and text rendering. Chinese and English are supported. ≤ 3000 chars

Common options
size: string

Output resolution as width*height, from 262144 to 4194304 pixels, with aspect ratio between 1:8 and 8:1. Leave empty to let the model choose. 262144–4194304 pixels; width*height · Aspect ratio 1:8–8:1

imageNum: integer

Number of images generated per request. Defaults to 1.

promptExtendMode: string

Prompt rewriting mode, effective only when promptExtend is enabled. Use direct for direct rewriting or agent for agent-based rewriting.

Advanced (4)
negativePrompt: string

Negative prompt describing unwanted content. ≤ 600 chars

promptExtend: boolean

Whether to enable intelligent prompt rewriting. Enabled by default; improves results for short prompts.

enableThinking: boolean

Enable thinking mode for prompt rewriting. On by default: better quality, slower. Turn off to cut rewrite time to about 20s. Only takes effect when promptExtend=true. Supported for Direct T2I and Agent T2I.

seed: integer

Random seed in [0, 2147483647]. Fixing the seed reproduces results; leave empty for random. 0–2147483647

Request preview

{
  "model": "qwen-image-3-0-text-to-image",
  "input": {
    "imageNum": 1,
    "promptExtend": true,
    "promptExtendMode": "direct",
    "enableThinking": true
  }
}

The web playground sends this body with your signed-in session. From code, send the same body with an API key.

Estimated charge

Loading price…

Credits are reserved when a task is accepted and charged only on success. Failed tasks release the reservation; unconfirmed outcomes remain reserved until verified.