BiRefNet Background Removal
BiRefNet high-resolution dichotomous image segmentation for background removal. Bilateral reference network that produces sharp matting on fine detail like hair, fur and thin structures, often cleaner than older U2Net or rembg models.
BiRefNet Background Removal is image generation AI model from Replicate, priced at €0.000 per 1M input tokens with a unknown context window.
About this model
Pricing
API Integration
Use our OpenAI-compatible API to integrate BiRefNet Background Removal into your application.
npm install railwailimport railwail from "railwail";
const rw = railwail("YOUR_API_KEY");
const images = await rw.run("birefnet-background-removal", "A beautiful sunset over Tokyo");
console.log(images[0].url);
// Or use the image() method for full control
const res = await rw.image("birefnet-background-removal", "A cat in space", {
size: "1024x1024",
n: 1,
});
console.log(res.data[0].url);Frequently asked questions
Related Models
View all Image GenerationFLUX 1.1 Pro
Black Forest Labs' flagship text-to-image model. Faster generation than FLUX.1 Pro at higher prompt adherence, with strong photorealism and reliable spatial composition. Runs as a hosted Replicate model.
FLUX 1.1 Pro Ultra
FLUX 1.1 Pro in Ultra mode by Black Forest Labs. Generates up to 4 megapixel images with a raw mode for less processed, more natural-looking photography. Best FLUX option when output resolution and fine detail matter.
Flux 1.1 Pro Ultra
FLUX 1.1 Pro in ultra mode. Up to 4 megapixel images with raw mode for photorealism.
Flux Dev
Black Forest Labs' development model. Fast, high-quality image generation with LoRA support.
Start using BiRefNet Background Removal today
Get started with free credits. No credit card required. Access BiRefNet Background Removal and 100+ other models through a single API.