You're looking at a specific version of this model. Jump to the model overview.

qwen /qwen-image-2-pro:23a89744

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
size
None
1024*1024
Image resolution (width*height). Total pixels must be between 512*512 and 2048*2048
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'}