# Product Photo Compliance Check

Will this product image pass Amazon, eBay, Etsy or eMAG image rules? Each rule checked with its measurement: white background, size, text, blur.

Send a product photo and a marketplace. You get pass or fail per rule, the numbers behind it and the boxes where text was found. Text printed on the product itself is allowed; text added around it is not.

- Pass or fail per rule with the numbers behind it, so you can tell a seller exactly what to fix.
- Image text detection: finds text added around the product and returns its boxes; text printed on the product itself is allowed.
- One call checks size, white background, how much of the frame the product fills, one product, and sharpness (blur detection), against the rules for an Amazon main image, eBay, an Etsy first photo or an eMAG main image.

## Calls

### `POST https://readymadeapi.com/v1/listing-photo/check`

Check one photo: size, white background, how much of the frame the product fills, one product, no text added around it, sharpness.

- Price: $0.003 per image
- MCP tool: `listing_photo_check_check`
- Answers in the same call.

Request:

```json
{
  "image_url": "https://readymadeapi.com/samples/listing-photo.jpg",
  "marketplace": "amazon-main"
}
```

Answer:

```json
{
  "pass": false,
  "complete": true,
  "width": 1600,
  "height": 1600,
  "rules": [
    {
      "id": "size",
      "status": "pass",
      "measured": 1600,
      "limit": 1000
    },
    {
      "id": "white_background",
      "status": "pass",
      "measured": 1.0,
      "limit": 0.98
    },
    {
      "id": "frame_fill",
      "status": "fail",
      "measured": 0.608,
      "limit": 0.85
    },
    {
      "id": "one_product",
      "status": "pass",
      "measured": 1,
      "limit": 1,
      "boxes": [
        [402, 341, 955, 949]
      ]
    },
    {
      "id": "no_added_text",
      "status": "fail",
      "measured": 2,
      "limit": 0,
      "found": [
        {
          "text": "SALE",
          "box": [65, 102, 257, 172]
        },
        {
          "text": "-20%",
          "box": [93, 178, 239, 240]
        }
      ]
    },
    {
      "id": "sharpness",
      "status": "pass",
      "measured": 398.0,
      "limit": 15.0
    }
  ]
}
```

## Limits

- One image and one marketplace per call: PNG, JPEG or WebP; by link, up to 15 MB.
- Boxes are on a 0 to 1000 scale across the image, whatever its size.
- Frame fill, one product and added text are measured only on a white background; otherwise they come back "unknown" and "complete" is false.

## Questions

**Why is a rule "unknown"?**

The product is found by its white background. On any other background we cannot say how much of the frame it fills, whether there is one product or whether text was added, so those rules answer "unknown" rather than guess.

**Which marketplaces?**

An Amazon main image, eBay, an Etsy first photo and an eMAG main image; send the one you want as marketplace.

**Is a pass a guarantee the marketplace accepts it?**

No. It checks the published image rules it can measure: size, white background, frame fill, one product, added text and sharpness.

**What is it for?**

Checking photos before they are uploaded, in a listing tool or a seller onboarding flow, so they are not rejected later.

## Using it

- Send `Authorization: Bearer <key>` and a JSON body. Keys and credit: https://readymadeapi.com/account
- Every answer carries `X-Request-Id`, `X-Units` and `X-Charged-Usd`.
- An error is a JSON problem with a `title` to act on and a `detail` in plain words; nothing is charged for it.
- Full schema: https://readymadeapi.com/openapi.json
