# BiRefNet > State-of-the-art open-source background removal (BiRefNet). High-fidelity dichotomous image segmentation with excellent edge quality on hair and fine details. - **Provider**: replicate - **Model ID**: men1scus/birefnet - **Category**: background_removal - **Credits**: 5 per request - **Pricing Type**: fixed ## API Endpoint Base URL: https://api.core.today/v1 ### Create Prediction POST /predictions ### Get Status GET /predictions/{job_id} ### Cancel DELETE /predictions/{job_id} ## Authentication Header: `X-API-Key: YOUR_API_KEY` ## Input Parameters - `image` (string, **required**): Input image - `resolution` (string, optional): Resolution in WxH format, e.g., '1024x1024' (Default: ``) ## Example Request ```json { "model": "men1scus/birefnet", "input": { "image": "https://replicate.delivery/pbxt/LLcFnHRq5MfjLpWbnLXZEtZIVn1io5sKf2lDnfQrh6tmcFK9/dog.jpg" } } ``` ## Response Format ```json { "job_id": "abc123", "status": "pending", "provider": "replicate", "model": "black-forest-labs/flux-schnell", "created_at": "2026-01-01T00:00:00Z", "result": null, "error": null } ``` Status values: `pending`, `processing`, `completed`, `failed`, `cancelled` ## Usage Flow 1. POST /predictions with model and input → receive job_id 2. Poll GET /predictions/{job_id} until status is `completed` or `failed` 3. Result contains output URL(s) or data ## Output Type url ## Tags background-removal, segmentation, birefnet, high-fidelity, open-source ## Documentation https://replicate.com/men1scus/birefnet