Remove backgrounds from images automatically in 5 seconds. Don't waste time manually selecting pixels. Just upload a photo & get instant cutout with professional quality.
Everything you need to automate background removal and enhance your images at scale.
Automatically remove background from any image with AI precision. Supports PNG, JPG, and WebP formats. Perfect for e-commerce, profile pictures, and creative projects.
POST /v2/rembg/
Apply beautiful blur effects to your image backgrounds. Adjustable radius up to 50px for perfect depth of field. Create professional bokeh effects instantly.
POST /v2/rembg/blur/
Replace background with any solid color using RGB format. Perfect for product photography and portraits. Match your brand colors effortlessly.
POST /v2/rembg/color/
Create stunning gradient backgrounds with custom top and bottom colors. Make your subjects pop with modern, eye-catching designs.
POST /v2/rembg/gradient/
Add realistic drop shadows to your cutout subjects. Customize shadow color, offset, and blur radius for perfect depth and dimension.
POST /v2/rembg/shadow/
Remove backgrounds from videos with our advanced AI technology. Supports all major video formats and maintains high quality output.
Video process
See the difference in quality. Our AI delivers cleaner edges and better detail preservation.
Best
Best
Best
Remove backgrounds from videos with our custom enterprise plans. Dedicated GPU servers, unlimited requests, and enhanced model quality.
Person Walking
Dance Motion
Portrait
Full Body
Action Scene
With Audio
Contact us for custom enterprise plans with dedicated GPU servers.
Simple, transparent pricing. Choose the plan that fits your needs.
Get started in minutes with our simple REST API. Just send an image and receive the result.
curl -X POST "https://fapihub.com/v2/rembg/" \ -H "token: YOUR_API_KEY" \ -F "image=@photo.jpg"
import requests
response = requests.post(
"https://fapihub.com/v2/rembg/",
headers={"token": "YOUR_API_KEY"},
files={"image": open("photo.jpg", "rb")}
)
with open("result.png", "wb") as f:
f.write(response.content)
const formData = new FormData();
formData.append("image", imageFile);
const response = await fetch(
"https://fapihub.com/v2/rembg/",
{
method: "POST",
headers: { "token": "YOUR_API_KEY" },
body: formData
}
);
const resultBlob = await response.blob();
$c = curl_init();
curl_setopt_array($c, [
CURLOPT_URL => "https://fapihub.com/v2/rembg/",
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_POST => 1,
CURLOPT_HTTPHEADER => ["token: YOUR_API_KEY"],
CURLOPT_POSTFIELDS => ["image" => new CURLFile("photo.jpg")]
]);
$res = curl_exec($c);
file_put_contents("res.png", $res);
The API returns the processed image directly as binary data. For transparent backgrounds, the response is PNG format. Processing time is typically under 5 seconds.
Everything you need to know about the Background Remover API.