DEV Community

Om Prakash
Om Prakash

Posted on

AI Background Removal API (Replace BG) - Snappy & Localized for E-Commerce

Introduction

We are excited to share the release of the updated PixelAPI Background Removal (Replace BG) tool!

This tool is optimized for high-fidelity e-commerce product catalogs, social avatar creation, and automated bulk workflows.

Features

  • Blazing Fast Processing: Snappy UI transition times, with processing animations optimized to never exceed 1.0 second.
  • Perfect Color-Grading Preservation: Built with a localized soft-light blending model that keeps pure blacks and pure whites intact during variant autogeneration. No dirty clipping!
  • Bulk REST API: Process thousands of images in parallel with clean JSON schema responses.
  • Cross-Platform Access: Available on Lensora Mobile App, the PixelAPI Web UI, and the Bulk Developer API.

Video Walkthrough & Showreel

Watch the full walkthrough in high resolution (16:9, H.264/AAC, 1080p) showing the live Lensora application store search, Web UI upload, and Bulk API requests:

👉 Watch the Showreel Video

API Code Example

import requests

url = "https://api.pixelapi.dev/v1/background/replace"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
payload = {
    "images": ["https://pixelapi.dev/landing/product_shoe.png"],
    "background_prompt": "Minimalist white studio light background",
    "color_grading": "soft_light_blend"
}

response = requests.post(url, json=payload, headers=headers)
print(response.json())
Enter fullscreen mode Exit fullscreen mode

Links


Powered by PixelAPI Gateway on RTX 6000 Ada

Top comments (0)