{"version":"1","model":{"id":"fal-ai/birefnet/v2","name":"BiRefNet V2 (BG Remove)","kind":"image","availability":"available","available":true,"restricted":false,"api_key_only":false,"description":"BiRefNet V2 — improved background removal with additional model variants including 2K and dynamic resolution support.","categories":["background"],"prompt_required":false,"prompt_supported":true,"supports":{"referenceImage":true},"requires":{"referenceImage":true},"aspect_ratios":[],"resolutions":[],"durations":[],"max_images":1,"base_credits":1,"api_gross_margin_percent":20,"added_at":"2026-05-25","popularity_rank":207,"example_prompt":"Upload any image — BiRefNet V2 precisely cuts out the subject and removes the background, leaving a clean transparent PNG ready for compositing.","preview":{"image":"https://cdn.artemotion.ai/file/artemotion-ai-bckt/model-previews/birefnet-bg-remove.png"},"schema_url":"/api/v1/models?id=fal-ai%2Fbirefnet%2Fv2","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://www.artemotion.ai/api/v1/models?id=fal-ai%2Fbirefnet%2Fv2","title":"BiRefNet V2 (BG Remove) generation request","description":"Request body accepted by POST /api/v1/generate for fal-ai/birefnet/v2.","type":"object","properties":{"model_id":{"type":"string","const":"fal-ai/birefnet/v2","description":"ArtEmotion model identifier."},"extra":{"type":"object","additionalProperties":true,"description":"Model-specific settings may also be nested here."},"max_credits":{"type":"number","minimum":1,"description":"Reject before submission if the estimated list price exceeds this cap."},"webhook_url":{"type":"string","format":"uri","maxLength":2048},"webhook_secret":{"type":"string","maxLength":512},"folder_id":{"type":"string"},"prompt":{"type":"string"},"model":{"title":"Model","description":"Model to use for background removal.","default":"General Use (Light)","type":"string","enum":["General Use (Light)","General Use (Light 2K)","General Use (Heavy)","Matting","Portrait","General Use (Dynamic)"]},"operating_resolution":{"title":"Operating Resolution","description":"The resolution to operate on. 2304x2304 is only available with General Use (Dynamic).","default":"1024x1024","type":"string","enum":["1024x1024","2048x2048","2304x2304"]},"output_format":{"title":"Output Format","description":"The format of the output image.","default":"png","type":"string","enum":["webp","png","gif"]},"refine_foreground":{"title":"Refine Foreground","description":"Whether to refine the foreground using the estimated mask.","default":true,"type":"boolean"},"mask_only":{"title":"Mask Only","description":"Return only the segmentation mask without applying it to the image. Skips foreground refinement.","default":false,"type":"boolean"},"output_mask":{"title":"Output Mask","description":"Whether to output the mask used to remove the background.","default":false,"type":"boolean"},"reference_image_url":{"type":"string","format":"uri"}},"required":["model_id","reference_image_url"],"additionalProperties":false},"parameters":[{"key":"model","label":"Model","type":"select","default":"General Use (Light)","options":["General Use (Light)","General Use (Light 2K)","General Use (Heavy)","Matting","Portrait","General Use (Dynamic)"],"description":"Model to use for background removal."},{"key":"operating_resolution","label":"Operating Resolution","type":"select","default":"1024x1024","options":["1024x1024","2048x2048","2304x2304"],"description":"The resolution to operate on. 2304x2304 is only available with General Use (Dynamic)."},{"key":"output_format","label":"Output Format","type":"select","default":"png","options":["webp","png","gif"],"description":"The format of the output image."},{"key":"refine_foreground","label":"Refine Foreground","type":"toggle","default":true,"description":"Whether to refine the foreground using the estimated mask."},{"key":"mask_only","label":"Mask Only","type":"toggle","default":false,"description":"Return only the segmentation mask without applying it to the image. Skips foreground refinement."},{"key":"output_mask","label":"Output Mask","type":"toggle","default":false,"description":"Whether to output the mask used to remove the background."}]}}