LaMa inpainting

Remove Object API

Remove unwanted objects using AI inpainting. Provide a prompt and optionally a mask. Great for product photo cleanup (logos, dust, wires, people in background).

Endpoint

POST https://api.pixelapi.dev/v1/image/remove-object

curl -X POST https://api.pixelapi.dev/v1/image/remove-object \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "prompt=remove the person" \
  -F "[email protected]" \
  -F "[email protected]"

Mask convention: white = area to remove.

Polling

curl https://api.pixelapi.dev/v1/image/UUID \
  -H "Authorization: Bearer YOUR_API_KEY"

Also see: Background Removal APIAI Image Editor