Skip to main content

Type Alias: FalBiRefNetVariant

FalBiRefNetVariant = "General Use (Light)" | "General Use (Light 2K)" | "General Use (Heavy)" | "Matting" | "Portrait" | "General Use (Dynamic)"

Defined in: packages/agentos/src/io/segmentation/types.ts:163

The BiRefNet weights fal's fal-ai/birefnet/v2 endpoint runs, as its model field names them. General Use (Light) is the endpoint's default and the one fal recommends for most images; General Use (Heavy) is slower and more accurate; Portrait is trained for portrait images and Matting for matting; General Use (Dynamic) takes resolutions from 256x256 to 2304x2304.