# Bacon Services Product Photo

> Bacon Services Product Photo is a paid API for AI agents from baconservices.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-31).

Removes a photo's background and centers the product on a 1600×1600 white WebP canvas for e-commerce use.

## Facts

- Endpoint: POST https://baconservices.com/api/agent-commerce/v1/capabilities/product-photo/execute?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bacon-services-product-photo-ab744b07
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KaCl4Zp9Ju0w1fHxHOlU_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bacon-services-product-photo-ab744b07 -d '<json body>'
```

Example prompt: Can you take this product photo at https://mystore.com/photos/sneaker.jpg and remove the background, centering it on a clean white square canvas for my Shopify listing?

## When to prefer this

Choose this endpoint when you need a ready-to-publish e-commerce product shot — not just background removal, but also automatic centering on a standardized 1600×1600 white WebP canvas. Prefer over the sibling 'Remove Background' endpoint when the target is a marketplace listing (Amazon, Shopify, Etsy) that requires a white background and fixed canvas dimensions rather than a transparent PNG.

## Known failure modes

- Image URL is not publicly accessible or returns a non-image response
- Image format is not PNG, JPEG, or WebP
- Neither image_url nor image_base64 is provided
- Image too large or corrupt causing processing failure
- Subject detection fails on highly complex or low-contrast images
- Payment of 0.1 USDC not authorized, resulting in 402 response

## How this service works

Use when an agent needs an e-commerce product shot: removes a photo's background and centres the product on a 1600x1600 white WebP.

## Output

A 1600×1600 pixel WebP image with the product isolated, background removed, and the subject centered on a solid white canvas, ready for e-commerce product listings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "image_url": {
   "type": "string",
   "format": "uri",
   "description": "A public https URL of a PNG, JPEG or WebP image."
  },
  "image_base64": {
   "type": "string",
   "description": "The image bytes, base64-encoded.",
   "contentEncoding": "base64"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bacon-services-product-photo-ab744b07/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from baconservices.com](https://www.zero.xyz/host/baconservices.com/llms.txt)
