API Docs

Remove backgrounds
programmatically

Integrate Autoremov directly into your application with a simple API workflow for uploads, processing, and downloadable results.

const presign = await fetch("https://api.autoremov.com/api/v1/images/presign", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({ filename: imageFile.name, contentType: imageFile.type }),
}).then((response) => response.json());

await fetch(presign.uploadUrl, {
  method: "PUT",
  headers: { "content-type": imageFile.type },
  body: imageFile,
});

const job = await fetch("https://api.autoremov.com/api/v1/jobs", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({ objectKey: presign.key, format: "png" }),
}).then((response) => response.json());

Upload file

POST

Send the source image in multipart form-data using key `file`.

Read response

JSON

Use `preview_image_link` as the background-removed image in your UI.

Use dimensions

Metadata

Display processed width/height plus original width/height when users need export context.

Download result

Export

Proxy remote result URLs through an attachment route for direct file downloads.