Media editor: build vs buy in the age of AI
Polotno

BACKGROUND REMOVAL

Enable AI image background removal in your editor

Integrate AI-powered image background removal directly into your editor, fast, accurate, and configurable for any workflow.

With Polotno SDK and the Remove Background Cloud API, developers can embed seamless image background removal directly into their products. The feature sends image data to Polotno’s endpoint and returns a transparent result, all while staying within your front-end canvas workflow. Activation is optional and fully controllable – just enable or disable as needed.

AI background removal applied to an image inside the Polotno editor

How it works

When a user triggers background removal, the SDK calls Polotno’s Cloud API endpoint (/api/remove-image-background) with your API key and image URL or base64. The service responds with a processed image URL (transparent background), which the SDK inserts back into the canvas. AI background removal is available as a frontend or API-only feature.

jsx
const res = await fetch('https://api.polotno.com/api/remove-image-background?KEY=YOUR_API_KEY', {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({ url: imageUrlOrBase64 }),
});
const { url: cleanedImage } = await res.json();
// Use cleanedImage in canvas layer

View full API reference →

Customization and limits

  • Developers can control when removal is available (e.g. buttons, context menu).
  • Input format: URL or base64; output: base64 or URL.
  • You decide fallback behavior, retries, and UI loading states.

Pricing and availability

  • $0.03 per removal
  • Pay-as-you-go pricing, billed monthly
  • Available with every paid license
  • Hosted background removal requires paid access; SDK trial keys do not include background-removal credits

Frequently asked questions

Can I enable / disable this feature per user?

Yes, you can disable / enable the feature via SDK config.

Is processing done locally or in the cloud?

The images are sent to a 3rd party server and temporarily stored there for processing.

How do I control usage limits or API costs?

Set application limits and user permissions to control usage and costs, and monitor API usage from your account. Hosted background removal requires paid access. Public demos have separate usage limits and do not define an SDK trial allowance.

Can I use my own vision model instead of the Polotno API?

Yes, you are free to disable Polotno's background removal and connect your model of choice.

Embed creative infrastructure into your product

TRUSTED BY

100,000+

CREATORS

300+

BUSINESSES

ExpediaUnbounceLovePopPostGridPredis.ai