Endpoint
POSThttps://api.shuttleai.com/v1/removebg
Request
To remove the background from an image, send a POST request to the endpoint with the following JSON body:image
: The image to process, encoded in base64 format.
Example Request
Here is an example of how to send a request usingcurl
:
Response
The API will respond with a JSON object containing the URL of the processed image:model
: The model used for processing, which isshuttle-rbg
.data.url
: The URL where the processed image can be accessed.