AI Services
Remove Background from an Image
Changed onRemove the background from an image using this endpoint. You can pass in an existing image, and we will process it to remove the background. This feature is particularly useful for creating product images for e-commerce, profile pictures without distracting backgrounds, or any other application where a clean, background-free image is desired.
post/api/ai/images/modify/v3/remove-background
Request
- Base URLhttps://api.worqhat.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multi-part/form-data
Response
Image generated successfully
Example response
{
"status": "success",
"image": "https://storage.googleapis.com/1fe0a9ac-617a-42e4-a376-37808b98fc99-worqhat/image-gen/MFl2oNxrMLYKvWbwoDkbQPpScWD3-1697226444718.png?GoogleAccessId=cloud-storage-upload%40worqhat-dev.iam.gserviceaccount.com&Expires=1697226626&Signature=DHlOeWd4QladLc6hsdoqp9lTbvMXs06B6hOkQPviFubszuLfahXXRv9aj%2FPTTlytlTClXHX0zGFr3Tsq9S%2Fs3hFjqBsy7lho%2BfuRFhPG4FrQoV2lxrZmB47X6nWc7TG6hbgLkyT3CvAOfwccmWHH1cbBiEDSI0iEKvx7kwUsgIrYu1ko9Szkul29fjVQ89WL6jyQQX1G9ejsQTNmXHFNRvhwRHkRfZJ5n3Y1uR7aqAyMZfQ2Me6i7bVb7smc0t5Ed2yk6%2BN1fdrz6zhbkc%2Fuh13vWhrT8EWMuCYKhsrzPakO%2B%2B229nlt5Y4D9zyFqevAmj43Vl76INIq29gcs39oQg%3D%3D",
"processing_time": 2311,
"processing_id": "cd185dd4-fcfb-4b15-93de-db9eded23ade",
"processing_count": 2
}Changes
- warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status
- warning
- info
endpoint added
- info