Slazzer App
All-in-one AI photo editor
Our AI will remove the background from any image that has a clear foreground and background. (tested with human, cars, animals, & products )
Type :string ($binary)
Required :Yes
The source_image_file parameter uploads an image for background processing. By default, the API removes the background and returns a transparent PNG. Based on additional parameters, it can replace the background with a solid color or crop the image. It must be sent as a multipart/form-data request, processing one image at a time. Transparent PNGs retain transparency unless a background color is set.
Supported Format :PNG, JPG, JPEG.
Examples :source_image_file = @/path/to/image.png
Type :string ($binary)
Required :No
This bg_image_file will be used as the background for the processed image. The background image will automatically be resized to fit the output image’s aspect ratio.
Supported Format :PNG, JPG, JPEG.
Examples :bg_image_file = @/path/to/image.png
Type :string
Required :No
The bg_color_code parameter is used to specify a solid background color for the processed image. The color must be provided as a HEX color code.
Supported Format :HEX color code (e.g., #72E4B3 or #B3D472)
Examples :bg_color_code = #72E4B3
Success
Request processed successfully!
Your request has been processed and completed. The response contains the result data or file as requested.
Error
Bad Request!
The request contains invalid parameters or input format. Please check the input and try again.
(No credits were deducted.)
Error
Unauthorized!
Missing or invalid API key. Please provide a valid API key.
(No credits were deducted.)
Error
Credits Required!
No credits remaining. Please top up your account to continue.
(No credits were deducted.)
Error
Rate Limit Exceeded!
Api rate limit crossed (No credit deducted)