🌑 New: AI Shadows, Image Captioning & Batch Processing now live — see what's new → See tutorial →  |  Get free credits →

AI Image, Video &
Audio Generation API

Remove backgrounds, generate AI videos & images, upscale photos — 13 AI models via one simple REST API. 2-20x cheaper than every competitor.

$0.005
per bg removal
<3s
avg latency
2-20x
cheaper than all
📷 Original
✂️ Background Removed
✨ AI Background
👟
Original — white background
👟
Background removed — 5 credits
👟
AI lifestyle scene — 5 credits
from pixelapi import PixelAPI

api = PixelAPI("your-api-key")

# Remove background — $0.005/image
result = api.remove_background("product.jpg")

# Replace with AI lifestyle scene — $0.020/image
result = api.replace_background("product.jpg",
    prompt="product on marble table, soft studio lighting, bokeh")

# Upscale to 4x resolution — $0.02/image
result = api.upscale("product.jpg")
import requests, base64

def load_b64(path):
    with open(path, "rb") as f:
        return base64.b64encode(f.read()).decode()

resp = requests.post(
    "https://api.pixelapi.dev/v1/virtual-tryon",
    headers={"Authorization": "Bearer pk_live_your_key"},
    json={
        "garment_image": load_b64("tshirt.jpg"),
        "person_image": load_b64("model.jpg"),
        "category": "upperbody",
    }
)
job_id = resp.json()["job_id"]
# Poll for result
import time
while True:
    r = requests.get(f"https://api.pixelapi.dev/v1/virtual-tryon/jobs/{job_id}",
                     headers={"Authorization": "Bearer pk_live_your_key"})
    data = r.json()
    if data["status"] == "completed":
        img_b64 = data["result_image_b64"]
        break
    time.sleep(2)
# Save result
with open("result.jpg", "wb") as f:
    f.write(base64.b64decode(img_b64))
print("Try-on complete!")

Built for developers & e-commerce teams

Shopify Amazon Flipkart Etsy WooCommerce
PixelAPI.dev - Approved on SaaSHub

Everything You Need for AI Content

One API, 14 powerful AI models. Virtual try-on, AI video generation, background removal — all at the cheapest prices in the market.

✂️

Background Removal

Instant transparent PNG. Pixel-perfect edges on products, people, and complex objects.

25 credits · $0.025/image
🎬

AI Video Generation NEW

Generate cinematic video clips from text. WAN 2.1 14B — product demos, social content, creative shorts.

17 credits/sec · $0.017/sec
👗

Virtual Try-On NEW

Let shoppers try clothes on AI models. Upload garment + person image — get photorealistic try-on in seconds. Built for Meesho, Myntra, Amazon sellers.

25 credits · $0.025/image
View tutorial →
🎨

AI Background Generation

Replace backgrounds with AI lifestyle scenes. Describe any setting — marble table, forest, studio lighting.

25 credits · $0.025/image
🖼️

Text-to-Image Generation

Generate images from text with FLUX Schnell and SDXL. Marketing creatives, product mockups, and more.

25 credits · $0.025/image
🔍

4x Image Upscaling

Enlarge images to 4x resolution with Real-ESRGAN. Perfect for print-ready product photos.

25 credits · $0.025/image
👤

Face Restoration

Enhance and restore faces with CodeFormer. Fix blurry portraits, enhance team photos, improve headshots.

25 credits · $0.025/image
🧹

Object Removal

Remove unwanted objects from product photos. Clean up backgrounds, remove watermarks, fix imperfections.

25 credits · $0.025/image
🎵

AI Music Generation NEW

Generate royalty-free music from text prompts. Perfect for product videos, reels, and marketing content.

10 credits · $0.010/track
🔄

img2img + ControlNet

Transform existing images with style transfer, inpainting, and structure-guided generation using SDXL.

15-25 credits · $0.015-0.025

Simple REST API

Clean JSON API. Integrate in minutes. Consistent endpoints, clear documentation, no surprises.

JSON in, URL out
🌑

AI Product Shadows NEW

Add photorealistic drop shadows to product images. Soft, hard, natural, or floating shadow styles. Makes products pop on any background — proven to boost e-commerce conversions.

10 credits · $0.010/image
View tutorial →
📦

Batch Processing POPULAR

Process hundreds of product images in parallel. Remove backgrounds, add shadows, or generate variants — all in one script. Perfect for catalog updates and bulk e-commerce workflows.

Same per-image price · No batch surcharge
Batch tutorial →
🔍

Image Captioning & Tagging NEW

Auto-generate product descriptions, alt text, and SEO tags from images using Vision-Language AI. Turn a photo into a complete product listing in one API call.

5 credits · $0.005/image
View tutorial →
💰

90% Cheaper

We run on our own hardware — no cloud markup. BG removal $0.005 (vs $0.025+), images $0.001 (vs $0.010), video $0.017/s (vs $0.035/s).

Own hardware = lowest prices

Dead Simple Integration

Three lines to remove a background. Five lines to generate a lifestyle scene.

Python
cURL
JavaScript
👗 Try-On
from pixelapi import PixelAPI

client = PixelAPI("pk_live_your_key")

# Remove background
result = client.remove_background("product.jpg")
print(result.url)  # Transparent PNG

# Replace background with AI scene
result = client.replace_background(
    "product.jpg",
    prompt="product on marble countertop, natural window light, minimal"
)

# Generate image from text
result = client.image.generate(
    prompt="Professional product photo of headphones, studio lighting",
    model="flux-schnell"
)

# Upscale 4x
result = client.upscale("low-res-product.jpg")
# Remove background
curl -X POST https://api.pixelapi.dev/v1/image/remove-background \
  -H "Authorization: Bearer pk_live_your_key" \
  -F "[email protected]"

# Replace background with AI scene
curl -X POST https://api.pixelapi.dev/v1/image/replace-background \
  -H "Authorization: Bearer pk_live_your_key" \
  -F "[email protected]" \
  -F "prompt=product on marble table, soft studio lighting"

# Generate image from text
curl -X POST https://api.pixelapi.dev/v1/image/generate \
  -H "Authorization: Bearer pk_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Professional product photo, studio lighting",
    "model": "flux-schnell"
  }'

# Poll for result
curl https://api.pixelapi.dev/v1/image/{job_id} \
  -H "Authorization: Bearer pk_live_your_key"
// Remove background
const form = new FormData();
form.append('image', fileBlob, 'product.jpg');

const res = await fetch('https://api.pixelapi.dev/v1/image/remove-background', {
  method: 'POST',
  headers: { 'Authorization': `Bearer ${apiKey}` },
  body: form
});
const { generation_id } = await res.json();

// Poll for result
const result = await fetch(
  `https://api.pixelapi.dev/v1/image/${generation_id}`,
  { headers: { 'Authorization': `Bearer ${apiKey}` } }
).then(r => r.json());

console.log(result.output_url); // Your processed image

Built for Your Business

From solo Shopify sellers to enterprise teams — PixelAPI scales with you.

🛒

E-commerce Sellers

Automate product photo editing at scale. Remove backgrounds, add lifestyle scenes, and make every listing stand out — without a photographer.

ShopifyAmazonFlipkartEtsy
📢

Marketing Agencies

Generate campaign visuals, edit product shots, and create A/B test variants via API. Automate the repetitive work, focus on creative strategy.

Ad CreativesSocial MediaA/B Testing
💻

App Developers

Add image editing features to your app without building ML infra. Background removal, upscaling, and generation — ready to integrate.

SaaSMobile AppsWeb Apps
👕

Print-on-Demand

Generate product mockups, remove backgrounds from designs, and upscale artwork for print. Automate your entire design pipeline.

MerchPrintfulPrintify

Why PixelAPI is the Best Deal

Same quality, fraction of the price. We run on our own hardware — no cloud markup.

Feature PixelAPI remove.bg Photoroom Clipdrop
Background Removal $0.002 $0.07 – $0.20 $0.02 – $0.10 $0.04
AI Background Replace $0.005 N/A $0.05+ N/A
Image Generation $0.001 N/A N/A $0.04
4x Upscaling $0.02 N/A N/A $0.04
Face Restoration $0.003 N/A N/A N/A
Object Removal $0.005 N/A N/A $0.04
AI Product Shadows $0.010 N/A $0.05+ N/A
Image Generation $0.001 N/A N/A $0.04
Image Captioning / Tags $0.005 N/A N/A N/A
Batch Processing ✅ No surcharge ✅ Extra fee ✅ Extra fee ✅ Rate limited
REST API
Python SDK
Free Tier ✅ 100 credits 1 free/day Limited Limited

🚀 Batch Process Thousands of Images

No batch API needed — use the same endpoints in a loop. Process your entire product catalog overnight for pennies.

Remove backgrounds from 500 product images

import pixelapi, concurrent.futures, pathlib

client = pixelapi.Client("YOUR_API_KEY")

images = list(pathlib.Path("products/").glob("*.jpg"))  # 500 images

def process_one(img_path):
    result = client.remove_background(image=open(img_path,"rb"))
    result.save(f"output/{img_path.stem}_nobg.png")
    return img_path.name

# Process 10 images simultaneously
with concurrent.futures.ThreadPoolExecutor(max_workers=10) as pool:
    done = list(pool.map(process_one, images))

print(f"✅ Processed {len(done)} images — cost: ${len(done)*0.005:.2f}")

500 images × $0.005 = $2.50 total · remove.bg would charge $35–100

Add shadows to entire catalog

import pixelapi, pathlib, asyncio, aiohttp

API_KEY = "YOUR_API_KEY"
BASE = "https://api.pixelapi.dev"

async def add_shadow_batch(images, shadow="soft"):
    async with aiohttp.ClientSession() as session:
        tasks = []
        for img in images:
            tasks.append(session.post(
                f"{BASE}/v1/image/add-shadow",
                headers={"X-API-Key": API_KEY},
                data={"shadow_type": shadow,
                      "image": open(img,"rb").read()}
            ))
        results = await asyncio.gather(*tasks)
    return results

images = list(pathlib.Path("products/").glob("*_nobg.png"))
asyncio.run(add_shadow_batch(images))
print(f"✅ Added shadows to {len(images)} images")

Works with any PixelAPI endpoint — same price, no batch surcharge

10x
concurrent requests
No
batch surcharge
1000+
images / minute
$2.50
per 500 images
📖 Full Batch Tutorial API Reference →

🌑 AI Product Shadows — Boost Sales

Realistic drop shadows make products look premium. Proven to increase e-commerce click-through rates by up to 30%.

🌫️ Soft (studio) ☀️ Hard (sunlight) 🌿 Natural ✨ Floating
  • ✅ Works on transparent PNGs and white backgrounds
  • ✅ Control opacity, angle, blur radius
  • ✅ Pairs perfectly with Background Removal
  • $0.010/image — Photoroom charges $0.05+
Try Free → API Docs →
curl -X POST https://api.pixelapi.dev/v1/image/add-shadow   -H "X-API-Key: YOUR_KEY"   -F "[email protected]"   -F "shadow_type=soft"   -F "shadow_opacity=0.5"   -F "shadow_blur=25"   --output product_with_shadow.png

# Response: PNG with realistic drop shadow
# Cost: 10 credits ($0.010)
# vs Photoroom: $0.05+ · vs remove.bg: N/A

Try Free — No Account Needed

Test every tool right in your browser. No signup, no API key, no credit card.

🎬

AI Video Generator

Text → cinematic video clip in ~2 minutes

NEW — Try it free →
✂️

Background Remover

Instant transparent PNG from any image

🔍

Image Upscaler 4x

Enhance any image to 4x resolution

📝

Text & Watermark Remover

AI-powered text detection and removal

🧹

Object Remover

Remove unwanted objects from photos

👤

Face Restorer

Enhance and fix blurry faces with AI

View all free tools →

Simple, Transparent Pricing

Start free. Pay only for what you use. No surprise bills.

💰 All billing in USD via PayPal. Local currency shown for reference (rates may vary)

Free
$0/mo
100 credits included
  • All tools available
  • 5 requests/min
  • Community support
  • API key access
Get Started Free
Starter
$10/mo
10,000 credits/month
  • All tools available
  • 20 requests/min
  • Email support
  • Priority queue
  • ~10,000 images or 3min video
Subscribe — $10/mo
Scale
$200/mo
300,000 credits/month
  • All tools available
  • 200 requests/min
  • Dedicated support
  • Custom models
  • ~300,000 images or 100min video
Subscribe — $200/mo

Credit Costs per Operation

OperationCreditsCost (USD / INR)vs Competition
✂️ Background Removal1$0.001Photoroom $0.02 · 20x cheaper
🎬 AI Video 480p (per sec)17$0.017Vidu Q3 $0.035/s · 2x cheaper
🎬 AI Video 720p (per sec)25$0.025fal.ai $0.05/s · 2x cheaper
🖼️ Text-to-Image (FLUX/SDXL)1$0.001Replicate $0.010 · 10x cheaper
🌑 AI Product Shadow10$0.010Photoroom $0.05+ · 5x cheaper
🔍 Image Captioning / Tags5$0.005No mainstream competitor · Only PixelAPI
🎨 Background Replace3$0.003Photoroom $0.10 · 33x cheaper
🔍 4x Upscaling2$0.002WaveSpeed $0.01 · 5x cheaper
👤 Face Restoration5$0.005Replicate $0.01 · 2x cheaper
🧹 Object Removal5$0.005cleanup.pictures $0.05 · 10x cheaper
📝 Text/Watermark Removal5$0.005
🎵 AI Music Generation5$0.005fal.ai $0.01 · 2x cheaper

Credits are valid for the current billing period only and do not roll over to the next month. Unused credits expire at the end of each billing cycle. Free tier credits reset monthly from your signup date.

Frequently Asked Questions

What is PixelAPI?

PixelAPI is a REST API for AI-powered product photography and image editing. It lets you remove backgrounds, generate AI lifestyle scenes, upscale images, restore faces, remove objects, and generate images from text — all via simple API calls. We run on our own hardware, making us up to 80% cheaper than alternatives.

How much does background removal cost?

Background removal costs 2 credits per image. On the Starter plan ($10/mo for 10,000 credits), that's just $0.005 per image — compared to $0.07–$0.20 on remove.bg. You can remove up to 5,000 backgrounds per month on Starter.

How does the AI background replacement work?

Upload your product image and provide a text prompt describing the scene you want (e.g., "product on marble table, soft studio lighting"). We automatically remove the background and generate a new AI scene, placing your product naturally in it. Costs 25 credits ($0.025) per image.

What image formats are supported?

We accept JPEG, PNG, and WebP uploads. Background removal outputs transparent PNG. All other operations output high-quality PNG or JPEG. Maximum input size is 10MB, and images can be up to 4096×4096 pixels.

How fast is the processing?

Background removal typically completes in 2–3 seconds. AI background replacement takes 5–10 seconds. Image generation with FLUX takes 3–5 seconds. Upscaling depends on image size but usually completes in 10–30 seconds.

Is there a Python SDK?

Yes! Install with pip install pixelapi. The SDK handles authentication, file uploads, polling, and result downloads. Full documentation at pixelapi.dev/docs.

Can I use processed images commercially?

Absolutely. All images processed through PixelAPI are yours to use commercially — product listings, marketing materials, print, web, wherever you need them.

How do I get started?

Sign up at pixelapi.dev/app with Google. You get 100 free credits instantly — enough to try background removal, generation, and more. No credit card required.

Is this an alternative to remove.bg?

Yes, and much more. PixelAPI offers background removal at a fraction of the price ($0.002 vs $0.07+), plus AI background replacement, image generation, upscaling, face restoration, and object removal — all in one API.

Why is PixelAPI so much cheaper?
🌍 Do you support international customers?

Yes! PixelAPI works globally via our Cloudflare CDN. PayPal payments accepted in 200+ countries. All prices shown in USD with local currency estimates for reference.

💳 What payment methods do you accept?

We accept PayPal (200+ countries) and Razorpay for Indian customers (UPI, cards, netbanking). Indian pricing: ₹500, ₹1,500, ₹5,000/mo.

🔒 Are there data residency restrictions?

Your images are processed on our servers in India and automatically deleted after 24 hours. No permanent storage or data retention. Works globally with fast processing via our CDN.

🕒 What are your support hours?

Email support available 24/7 at [email protected]. We typically respond within 24 hours (often much faster). Based in India (IST timezone) but serve customers globally.

We run all AI models on our own dedicated hardware. No AWS, no GCP, no cloud markup. We pass those savings directly to you. Same quality, 90% lower price.

Start Editing Product Photos in Minutes

100 free credits. No credit card. Full API access. Start building in 30 seconds.

Get Your Free API Key →

or read the documentation first

🤝 Works Great Together

PixelAPI + GEOmind = Complete AI Commerce Solution

Generate perfect product photos with PixelAPI, then optimize them for AI search engines (ChatGPT, Perplexity) with GEOmind.app

Need Help Integrating?

Our team helps you get set up fast. E-commerce integrations, bulk processing, custom workflows — we've got you.

✉️ [email protected]

We typically respond within 24 hours · Read the docs