1. Get Your API Key
1
Create an Account
Go to dash.poof.bg and sign up with your email, Google, GitHub, GitLab or Microsoft.
2
Copy Your API Key
Your API key is displayed on the dashboard. It starts with
pk_.3
Keep It Secret
Treat your API key like a password. Never commit it to version control or expose it in client-side code.
2. Make Your First Request
Choose your preferred method:- cURL
- Python
- TypeScript
3. See the Result
Your output file now contains the image with the background removed:Success! You’ve made your first background removal request.
What’s Next?
Customize Output
Learn about formats, sizes, and background colors
Check Usage
Monitor your credit usage via the API
Handle Errors
Implement robust error handling
Explore Integrations
Use our official SDKs and integrations
Remove Video Backgrounds
Transparent WebM, ProRes or GIF, or MP4 on a solid colour, from clips and animated GIFs up to 5 minutes. Works best on a clearly separated subject
Poll a Job
Check a video job’s progress and download its result
Common Options
Here are some popular parameter combinations:Video
The same endpoint removes backgrounds from video; Poof detects the media type from the file content. A video is accepted with202 and a job: wait for the job, then download its result_url. Video costs 5 credits per second of source video (10 above 30 fps). Animated GIF input is billed at 5 credits per second whatever its frame rate.
- cURL
- Python
- TypeScript