DOCUMENTATION
Object removal as an API.
Erasa removes objects from images with one API call. Prompt it or mask it, get the result at the original resolution, and keep every request idempotent.
Quickstart
First erase request in two minutes.
Read
Authentication
Bearer keys, scopes, and prefixes.
Read
Erase API
Prompt, mask, multipart, JSON, credits.
Read
Webhooks
Signed job events and retries.
Read
One request
cURL
curl https://api.erasa.app/v1/erase \
-H "Authorization: Bearer $ERASA_KEY" \
-H "Idempotency-Key: $REQUEST_ID" \
-F image=@street.jpg \
-F prompt="power lines"The API accepts multipart uploads up to 15 MB today, or JSON with an HTTPS image_url. Output is a short-lived signed URL backed by R2.
Production inference is live on Modal L40S. Prompt-only jobs run Grounding DINO + SAM detection, then LaMa inpainting; uploaded masks go straight to LaMa. The fast tier is tuned for small and medium objects — large removals can leave a soft fill while the diffusion quality tier is calibrated.
What you get
- Prompt or mask targeting, with masks taking precedence.
- Credit reservation before inference; failed jobs are free.
- Idempotency keys with stored responses.
- Signed R2 URLs for input and output.
- Scoped API keys with HMAC hashing.