qwen/qwen-image-2 🔢🖼️📝❓✓ → 🖼️
About
A next-generation image generation and editing model from Alibaba's Qwen team. Supports text-to-image and image editing with strong text rendering, especially for Chinese.
Example Output
Prompt:
"A serene Japanese garden with a red bridge over a koi pond, morning light"
Output
Performance Metrics
8.47s
Prediction Time
8.51s
Total Time
All Input Parameters
{
"seed": 1001,
"prompt": "A serene Japanese garden with a red bridge over a koi pond, morning light",
"aspect_ratio": "4:3",
"negative_prompt": "",
"match_input_image": false,
"enable_prompt_expansion": true
}
Input Parameters
- seed
- Random seed for reproducible generation. Range: 0-2147483647
- image
- Optional reference image for image editing, style transfer, or image-to-image generation
- prompt (required)
- Text prompt for image generation or editing
- aspect_ratio
- Aspect ratio of the generated image
- negative_prompt
- Negative prompt to specify elements to avoid in the generated image
- match_input_image
- When true and an image is provided, use the input image's aspect ratio and resolution instead of the aspect_ratio parameter
- enable_prompt_expansion
- Automatically expand and optimize the prompt for better results
Output Schema
Output
Example Execution Logs
Using seed: 1001 Generating image with qwen-image-2.0 (text-to-image)... Sending request to qwen-image-2.0 with size=1024*768 Response status: stop Generated 1 image(s) in 6.1sec Downloading 1374486 bytes Downloaded 1.31MB in 2.11sec
Version Details
- Version ID
266e594fa007032292c211586354fe193d7aa4e675a1eeb0aef0c6a424468ddd- Version Created
- March 4, 2026