You're looking at a specific version of this model. Jump to the model overview.
usamaehsan /qwen-image-edit-fastest:9ea4af26
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). Provide a single image for editing, or multiple images (2-4) for composition tasks
|
|
| prompt |
string
|
Remove the background
|
Text prompt describing the edit or composition to perform
|
| negative_prompt |
string
|
|
Negative prompt (things to avoid in the output)
|
| width |
integer
|
0
Max: 2048 |
Width of output image. Set to 0 to use input image width. Recommended: 512 for speed, 768 for balanced, 1024 for quality
|
| height |
integer
|
0
Max: 2048 |
Height of output image. Set to 0 to use input image height. Recommended: 512 for speed, 768 for balanced, 1024 for quality
|
| num_inference_steps |
integer
|
3
Min: 1 Max: 50 |
Number of denoising steps. Recommended: 3-4 for lightning-4steps, 8 for lightning-8steps, 20-40 for base model
|
| guidance_scale |
number
|
1
Max: 20 |
Guidance scale (for multi-image composition)
|
| true_cfg_scale |
number
|
2
Min: 1 Max: 20 |
True guidance scale. Higher = stronger prompt adherence. Recommended: 2.0-4.0
|
| num_images_per_prompt |
integer
|
1
Min: 1 Max: 4 |
Number of images to generate per prompt
|
| lora_mode |
None
|
lightning-4steps
|
LoRA mode: lightning-4steps (DEFAULT, 3-4 steps), lightning-8steps (8 steps), none (base model, 20-40 steps)
|
| seed |
integer
|
Random seed. Leave blank to randomize
|
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'}