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

lightweight-ai /brush:d1635255

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
string
Input image
mask
string
White-Black mask image (white=keep, black=edit)
prompt
string
Prompt to guide generation
negative_prompt
string
ugly, low quality
Negative prompt
invert_mask
boolean
True
Invert mask
blended
boolean
False
Apply blurred blending
control_strength
number
1
BrushNet control strength
guidance_scale
number
12
Classifier-free guidance scale
num_inference_steps
integer
50
Diffusion steps
seed
integer
42
Random seed
randomize_seed
boolean
False
Randomize seed

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