For Developers

Powerful API for Background Removal

Integrate our high-performance background removal API into your applications, websites, and workflows. Process thousands of images with just a few lines of code.

curl -X POST \
  https://api.changethebackground.com/v1/remove \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -F 'image=@product.jpg'

API Features

Everything you need to integrate powerful background removal into your applications

RESTful API

Simple and intuitive REST API with comprehensive documentation and examples

High Performance

Process thousands of images per minute with low latency and high availability

Secure Authentication

API keys, OAuth 2.0, and JWT authentication options for secure integration

Scalable Infrastructure

Built on cloud infrastructure that scales automatically with your needs

CLI Tools

Command-line interface for batch processing and automation workflows

Webhooks

Real-time notifications for asynchronous processing and event-driven architecture

Quick Start Examples
curl -X POST \
  https://api.changethebackground.com/v1/remove \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -F 'image=@product.jpg' \
  -F 'format=png' \
  -F 'bg_color=transparent'

API Reference

POST
/v1/remove

Remove background from an image

Parameters

NameTypeRequiredDescription
imagefileYesImage file to process
formatstringNoOutput format (png, jpg, webp)
bg_colorstringNoBackground color (hex or 'transparent')
sizestringNoOutput size (original, medium, small)
cropbooleanNoAuto-crop the result
POST
/v1/batch

Process multiple images in one request

Parameters

NameTypeRequiredDescription
imagesarrayYesArray of image files or URLs
formatstringNoOutput format for all images
webhook_urlstringNoURL to notify when batch is complete
GET
/v1/status/:job_id

Check status of an asynchronous job

Parameters

NameTypeRequiredDescription
job_idstringYesID of the processing job

SDKs & Libraries

Official client libraries to help you integrate faster in your preferred language

Platform Integrations

AWS Lambda

Serverless image processing

Google Cloud Functions

Event-driven background removal

Vercel Edge Functions

Low-latency image processing

Cloudflare Workers

Edge computing integration

GitHub Actions

CI/CD pipeline automation

Docker

Containerized deployment

API Pricing

Flexible pricing options for developers and businesses of all sizes

  • Pay-as-you-go with no monthly commitments
  • Volume discounts for high-usage applications
  • Custom plans for enterprise requirements
Developer
$0.01
per image
Business
$0.005
per image
Enterprise
Custom
volume pricing
Free Tier
100
images/month

Ready to Get Started?

Sign up for a free API key and start integrating background removal into your applications today.