← Back to all generators
qwen/qwen-image-2
Official
View on Replicate →
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.
Capabilities
Reference Images
Negative Prompt
Seed
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
prompt * | string | Text prompt for image generation or editing | — | — |
aspect_ratio | string | Aspect ratio of the generated image | "1:1" | 1:1 16:9 9:16 4:3 3:4 3:2 2:3 2:1 1:2 |
enable_prompt_expansion | boolean | Automatically expand and optimize the prompt for better results | true | — |
image | string (uri) | Optional reference image for image editing, style transfer, or image-to-image generation | — | — |
match_input_image | boolean | When true and an image is provided, use the input image's aspect ratio and resolution instead of the aspect_ratio parameter | false | — |
negative_prompt | string | Negative prompt to specify elements to avoid in the generated image | "" | — |
seed | integer | Random seed for reproducible generation. Range: 0-2147483647 | — | — |
prompt required string Text prompt for image generation or editing
aspect_ratio string Aspect ratio of the generated image
Default:
"1:1" 1:1 16:9 9:16 4:3 3:4 3:2 2:3 2:1 1:2
enable_prompt_expansion boolean Automatically expand and optimize the prompt for better results
Default:
true image string Optional reference image for image editing, style transfer, or image-to-image generation
match_input_image boolean When true and an image is provided, use the input image's aspect ratio and resolution instead of the aspect_ratio parameter
Default:
false negative_prompt string Negative prompt to specify elements to avoid in the generated image
Default:
"" seed integer Random seed for reproducible generation. Range: 0-2147483647
Version:
266e594fa007 Updated: 6/26/2026 39.4K runs
cinemasetfree.com