You're looking at a specific version of this model. Jump to the model overview.
qwen /qwen-image-2:266e594f
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| prompt |
string
|
Text prompt for image generation or editing
|
|
| image |
string
|
Optional reference image for image editing, style transfer, or image-to-image generation
|
|
| match_input_image |
boolean
|
False
|
When true and an image is provided, use the input image's aspect ratio and resolution instead of the aspect_ratio parameter
|
| aspect_ratio |
None
|
1:1
|
Aspect ratio of the generated image
|
| enable_prompt_expansion |
boolean
|
True
|
Automatically expand and optimize the prompt for better results
|
| negative_prompt |
string
|
|
Negative prompt to specify elements to avoid in the generated image
|
| seed |
integer
|
Random seed for reproducible generation. Range: 0-2147483647
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}