Remove backgrounds, generate AI videos & images, upscale photos — 13 AI models via one simple REST API. 2-20x cheaper than every competitor.
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!")
One API, 14 powerful AI models. Virtual try-on, AI video generation, background removal — all at the cheapest prices in the market.
Instant transparent PNG. Pixel-perfect edges on products, people, and complex objects.
25 credits · $0.025/imageGenerate cinematic video clips from text. WAN 2.1 14B — product demos, social content, creative shorts.
17 credits/sec · $0.017/secLet 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/imageReplace backgrounds with AI lifestyle scenes. Describe any setting — marble table, forest, studio lighting.
25 credits · $0.025/imageGenerate images from text with FLUX Schnell and SDXL. Marketing creatives, product mockups, and more.
25 credits · $0.025/imageEnlarge images to 4x resolution with Real-ESRGAN. Perfect for print-ready product photos.
25 credits · $0.025/imageEnhance and restore faces with CodeFormer. Fix blurry portraits, enhance team photos, improve headshots.
25 credits · $0.025/imageRemove unwanted objects from product photos. Clean up backgrounds, remove watermarks, fix imperfections.
25 credits · $0.025/imageGenerate royalty-free music from text prompts. Perfect for product videos, reels, and marketing content.
10 credits · $0.010/trackTransform existing images with style transfer, inpainting, and structure-guided generation using SDXL.
15-25 credits · $0.015-0.025Clean JSON API. Integrate in minutes. Consistent endpoints, clear documentation, no surprises.
JSON in, URL outAdd 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/imageProcess 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 surchargeAuto-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/imageWe 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 pricesThree lines to remove a background. Five lines to generate a lifestyle scene.
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
From solo Shopify sellers to enterprise teams — PixelAPI scales with you.
Automate product photo editing at scale. Remove backgrounds, add lifestyle scenes, and make every listing stand out — without a photographer.
Generate campaign visuals, edit product shots, and create A/B test variants via API. Automate the repetitive work, focus on creative strategy.
Add image editing features to your app without building ML infra. Background removal, upscaling, and generation — ready to integrate.
Generate product mockups, remove backgrounds from designs, and upscale artwork for print. Automate your entire design pipeline.
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 |
No batch API needed — use the same endpoints in a loop. Process your entire product catalog overnight for pennies.
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
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
Realistic drop shadows make products look premium. Proven to increase e-commerce click-through rates by up to 30%.
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
Test every tool right in your browser. No signup, no API key, no credit card.
Text → cinematic video clip in ~2 minutes
NEW — Try it free →Instant transparent PNG from any image
Enhance any image to 4x resolution
AI-powered text detection and removal
Remove unwanted objects from photos
Enhance and fix blurry faces with AI
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)
| Operation | Credits | Cost (USD / INR) | vs Competition |
|---|---|---|---|
| ✂️ Background Removal | 1 | $0.001 | Photoroom $0.02 · 20x cheaper |
| 🎬 AI Video 480p (per sec) | 17 | $0.017 | Vidu Q3 $0.035/s · 2x cheaper |
| 🎬 AI Video 720p (per sec) | 25 | $0.025 | fal.ai $0.05/s · 2x cheaper |
| 🖼️ Text-to-Image (FLUX/SDXL) | 1 | $0.001 | Replicate $0.010 · 10x cheaper |
| 🌑 AI Product Shadow | 10 | $0.010 | Photoroom $0.05+ · 5x cheaper |
| 🔍 Image Captioning / Tags | 5 | $0.005 | No mainstream competitor · Only PixelAPI |
| 🎨 Background Replace | 3 | $0.003 | Photoroom $0.10 · 33x cheaper |
| 🔍 4x Upscaling | 2 | $0.002 | WaveSpeed $0.01 · 5x cheaper |
| 👤 Face Restoration | 5 | $0.005 | Replicate $0.01 · 2x cheaper |
| 🧹 Object Removal | 5 | $0.005 | cleanup.pictures $0.05 · 10x cheaper |
| 📝 Text/Watermark Removal | 5 | $0.005 | — |
| 🎵 AI Music Generation | 5 | $0.005 | fal.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.
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.
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.
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.
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.
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.
Yes! Install with pip install pixelapi. The SDK handles authentication, file uploads, polling, and result downloads. Full documentation at pixelapi.dev/docs.
Absolutely. All images processed through PixelAPI are yours to use commercially — product listings, marketing materials, print, web, wherever you need them.
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.
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.
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.
We accept PayPal (200+ countries) and Razorpay for Indian customers (UPI, cards, netbanking). Indian pricing: ₹500, ₹1,500, ₹5,000/mo.
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.
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.
100 free credits. No credit card. Full API access. Start building in 30 seconds.
Get Your Free API Key →or read the documentation first
PixelAPI + GEOmind = Complete AI Commerce Solution
Generate perfect product photos with PixelAPI, then optimize them for AI search engines (ChatGPT, Perplexity) with GEOmind.app
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