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

sprited /birefnet-toonout:e051ca72

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
resolution
integer
1024

Min: 256

Max: 2048

Inference resolution (square). 1024 matches training.
output_format
None
rgba
rgba = cutout with alpha; mask = grayscale matte; color = composite on background_color
mask_blur
integer
0

Max: 64

Gaussian blur radius applied to the matte (softer edges)
mask_offset
integer
0

Min: -64

Max: 64

Grow (+) or shrink (-) the matte by this many pixels
invert
boolean
False
Invert the matte (keep background instead of subject)
background_color
string
#222222
Hex color for output_format=color, e.g. #222222

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