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

replicate /qwen-image-2.1-lora:0574eb2f

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
Image generation or editing prompt
negative_prompt
string
Negative prompt; used when guidance is greater than 1
image
string
Optional reference image for editing
reference_images
array
Additional reference images, up to ten total
aspect_ratio
None
1:1
Output aspect ratio
width
integer
Custom output width, a multiple of 32
height
integer
Custom output height, a multiple of 32
num_inference_steps
integer
40

Min: 1

Max: 100

Denoising steps
guidance_scale
number
1

Min: 1

Max: 10

True CFG scale; 1 disables classifier-free guidance
num_outputs
integer
1

Min: 1

Max: 4

Number of images
seed
integer

Max: 2147483647

Random seed
lora
string
SimpleTuner LoRA safetensors URL or local path
lora_scale
number
1

Min: -3

Max: 3

Primary LoRA strength
lora_2
string
Optional second LoRA
lora_2_scale
number
1

Min: -3

Max: 3

Second LoRA strength
use_kv_cache
boolean
True
Reuse text and condition-image prefix keys and values
output_format
None
png
Output format
output_quality
integer
95

Min: 1

Max: 100

WebP quality

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}