On upload
Call it inside the request that accepts the file, and hand back the cutout in the same response. Simplest, and the one that hurts when the network is slow.
Show a spinner, set a timeout
For developers · API access on Pro and Enterprise
A single endpoint, bearer auth, and a file back. No SDK to adopt and nothing to keep in sync.
Three shapes
Cutting an image takes seconds, not milliseconds. Which of these you pick is really a question about who is waiting.
Call it inside the request that accepts the file, and hand back the cutout in the same response. Simplest, and the one that hurts when the network is slow.
Show a spinner, set a timeout
Accept the upload, enqueue the cut, notify when the PNG lands. What most production integrations end up as.
Retry on 5xx, keep the original
Walk yesterday's uploads through the batch endpoint on a schedule. Cheapest per image and nothing user-facing to break.
/v1/batch-process
Before you build
Read this before writing the wrapper, not after.
Endpoints, authentication, errors and batch limits — all of it on one page.