API Documentation
  • Welcome!
  • Quick Start
  • API methods
  • Easy integration
  • Handling Large File Sets
  • Supported formats
  • Webhooks
  • Common usecases
    • Auto enhance image quality
    • Create business photo or avatar from face image
    • Face swap
    • Create beautiful product photo
    • Genarate image in high resolution
    • Remove background
    • AI Drawing to Image - Doodle
    • Real estate
    • Enhancing documents
    • Car dealer photo
  • Image processing
    • Resize and padding
    • Denoise and sharpen
    • Enhance lighting and colors
    • Enhance face details
    • Background removal and generation
    • Image generation
    • Inpainting and outpainting (uncrop)
    • Frame identification
    • Print
    • Captions
    • Additional parameters
    • Presets
  • Account & settings
    • Account information
  • storages
    • Description
    • AWS S3
    • AWS S3 IAM Configuration
  • Presets
    • E-commerce
    • Real-estate
    • Print/Photo
    • Digital Art
  • Technology
    • Algorithms
    • Upscale
    • Background removal
      • Remove BG recommendation
    • Sharpen & Noise reduction
    • Enhance Lighting
  • FAQ
Powered by GitBook
On this page
  1. Common usecases

Remove background

PreviousGenarate image in high resolutionNextAI Drawing to Image - Doodle

Last updated 6 months ago

The background removal feature uses AI to isolate the main subject of an image by removing the background with high accuracy. This is especially useful for applications like e-commerce, social media, or design, where a subject needs to be highlighted or placed on a different background.

To enable background removal, include the background: { remove: "auto" } parameter in your API request. The model will process the image to detect the primary subject and automatically remove the background, outputting an image with alpha channel consisting transparency mask.

Let's remove background around bottle of perfume

with API request:

{
    "url": "https://deep-image.ai/api-example.png",
    "background": {
       "remove": "auto"
    }
}

And result is:

Image with transparent background