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

usamaehsan /qwen-image-edit-fastest-2:ad229402

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
image
array
Input image(s). Single image for editing, or 2-4 images for composition
prompt
string
Remove the background
Text prompt describing the edit or composition
negative_prompt
string
Negative prompt (things to avoid)
width
integer
0

Max: 2048

Output width (0 = use input size). Recommended: 512 or 768 for speed
height
integer
0

Max: 2048

Output height (0 = use input size). Recommended: 512 or 768 for speed
num_inference_steps
integer

Min: 1

Max: 50

Number of steps. Using 2 for maximum speed. Can use 2-4
guidance_scale
number
0

Max: 20

Guidance scale (for composition)
true_cfg_scale
number
1

Min: 1

Max: 20

True CFG scale. Recommended: 1.0-2.0
num_images_per_prompt
integer
1

Min: 1

Max: 4

Number of images to generate
seed
integer
Random seed
output_format
None
jpg
Output image format. jpg is faster to encode and smaller

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'}