AI Background Remover

Background Remover API from Images

Try Demo

Details

Endpoint

POST https://api.magicapi.dev/api/v1/capix/rembg/rembg

Request Headers

  • Content-Type: application/json

  • x-magicapi-key: API_TOKEN

Request Body

{
  "image_url": "https://storage.ws.pho.to/s2/7aa4876bc1f50bc92fc54cb3c326181ac5bbf5ef_m.jpeg"
}
  • image_url: URL of the image for which the background needs to be removed.

Result

Code Examples

curl -X 'POST' \
  'https://api.magicapi.dev/api/v1/capix/rembg/rembg' \
  -H 'accept: application/json' \
  -H 'x-magicapi-key: API_KEY' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'image_url=https%3A%2F%2Ftelegra.ph%2Ffile%2F46a973ad6ff03f32b40a0.png'

Last updated