WooCommerce + PixelPanda API

Background Removal API for WooCommerce

Add automatic background removal to your WooCommerce store using PHP. No plugins required — just a few lines in functions.php.

Why WooCommerce stores need this

Auto-clean on upload

Hook into WordPress's upload system. When anyone uploads a product image, automatically remove the background before it attaches to the product.

Consistent storefront

No more mismatched backgrounds across product pages. Every product gets a clean, professional look — automatically.

No plugin dependency

Works with plain PHP and cURL. No third-party plugins that slow your site, break on updates, or charge monthly fees.

One API call — works with any PHP hosting

Send your product image. Get a transparent PNG back. No WordPress plugins, no ImageMagick, no GD library.

curl -X POST https://pixelpanda.ai/api/v1/remove-background   -H "Authorization: Bearer pk_live_your_api_key"   -F "file=@product.jpg"

# Response:
# {
#   "success": true,
#   "image_url": "https://pub-xxx.r2.dev/results/abc123.png",
#   "credits_remaining": 199
# }

Works with any PHP version that has cURL (basically all of them). See PHP code examples for copy-paste snippets.

Pricing for WooCommerce stores

ProductsCostTime
50 products$1.25~3 minutes
200 products$10.00~12 minutes
1,000 products$25.00~1 hour

One-time cost for existing products. New uploads are processed automatically. Credits never expire.

Common questions

No. Add the PHP code above to your theme's functions.php or a custom mu-plugin. Uses PHP's built-in cURL — no Composer, no dependencies.
The API takes 2-4 seconds per image. The upload will take slightly longer, but the user gets a clean image immediately. For a faster UX, process in the background using wp_schedule_single_event().
Yes. Write a WP-CLI command or admin page that queries all products, gets their images, and runs each through the API. See the PHP batch processing example on the PHP language page.
~$0.20/image with the $10 Impulse pack (50 credits, one-time, no subscription), or ~$0.029/image with the $7.99/week subscription (280 credits/week, cancel anytime). Credits never expire.

Automate background removal for WooCommerce

280 credits/week for $7.99. Production-ready in minutes.

Get Your API Key