الانتقال إلى المحتوى الرئيسي
POST
/api/v1/image/background-remove

التفويضات

Authorization
string
header
مطلوب

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

الجسم

Remove the background from an image. Provide either an image file/base64 or an image URL.

image

The image to remove the background from. Can be either a file upload or a base64-encoded string. File size must be less than 25MB.

image_url
string<uri>

URL of the image to remove the background from.

مثال:

"https://example.com/image.jpg"

الاستجابة

OK - PNG image with transparent background

The response is of type file.