Remove background
ai_remove_backgroundRemove the background of an image with AI; the result is a PNG with transparency. Costs 1 credit per run, refunded if it fails. Needs a CropDen API key. Input: PNG, JPEG or WebP, up to 10 MB and 2048 px on the longest side. Returns a link to the result, valid 7 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | No | Public https URL of a PNG, JPEG or WebP image. | |
| image_base64 | No | The image as base64 (a data: URL is fine). Use instead of image_url for local files. |