Loading...
Loading...
Remove backgrounds from images with BiRefNet via inference.sh CLI. Model: BiRefNet (high accuracy background removal). Use for: product photos, portraits, e-commerce, transparent PNGs, photo editing. Triggers: remove background, background removal, remove bg, transparent background, cut out image, background remover, rembg, product photo editing, cutout, transparent png, bg removal, photo cutout
npx skill4agent add 1nfsh/s background-removal
curl -fsSL https://cli.inference.sh | sh && infsh login
infsh app run infsh/birefnet --input '{"image_url": "https://your-photo.jpg"}'infsh app run falai/reve --input '{
"prompt": "remove the background, make it transparent",
"image_url": "https://portrait.jpg"
}'infsh app run falai/reve --input '{
"prompt": "change the background to a beach",
"image_url": "https://product-photo.jpg"
}'# 1. Generate an image
infsh app run falai/flux-dev-lora --input '{"prompt": "a cute robot mascot"}' > robot.json
# 2. Edit with Reve
infsh app run falai/reve --input '{
"prompt": "remove background, transparent",
"image_url": "<url-from-step-1>"
}'# Full platform skill (all 150+ apps)
npx skills add inference-sh/skills@inference-sh
# Image generation
npx skills add inference-sh/skills@ai-image-generation
# FLUX models (including inpainting)
npx skills add inference-sh/skills@flux-image
# Upscaling
npx skills add inference-sh/skills@image-upscalinginfsh app list --category image