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

aiunivers /utopianpony-inpainting:3b425733

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
RGB image to inpaint
mask
string
Mask: white=keep, black=replace
prompt
string
Positive prompt
negative_prompt
string
low quality, blurry, distorted, watermark, logo, text, artifacts, chromatic aberration
Negative prompt (defaults include artifact suppression)
steps
integer
40

Min: 1

Max: 150

Inference steps
guidance_scale
number
7.5

Max: 30

CFG guidance scale
scheduler
string
dpm
Scheduler (euler|euler_a|dpm)
strength
number
0.55

Min: 0.05

Max: 1

Inpaint strength (higher = more change; lower for subtle edits)
seed
integer
Random seed (blank = random)
disable_safety_checker
boolean
False
Disable safety checker
guidance_rescale
number
0

Max: 1

Guidance rescale to mitigate over-saturation / burn from high CFG (0 = off)
mask_threshold
integer
0

Max: 255

Threshold (0-255) to binarize mask after optional inversion (0 = skip)
mask_feather
integer
0

Max: 128

Feather (Gaussian blur radius) applied AFTER binarization for softer edges (0 = none)
invert_mask
boolean
False
Invert mask BEFORE threshold (use if your white/black semantics are reversed)
karras
boolean
True
Use Karras sigmas for smoother scheduler noise (where supported)
preserve_composition
boolean
True
Pass SDXL original/target size hints to better preserve aspect & framing
resize_mode
string
extend
Size conform mode: extend | pad | scale

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