Upload file
POSTSend the source image in multipart form-data using key `file`.
API Docs
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());Send the source image in multipart form-data using key `file`.
Use `preview_image_link` as the background-removed image in your UI.
Display processed width/height plus original width/height when users need export context.
Proxy remote result URLs through an attachment route for direct file downloads.