Slazzer App
All-in-one AI photo editor
Enhance grocery delivery and FMCG shopping experiences with high-quality image processing. Ensure sharp, engaging product visuals for better customer engagement.
Type :string ($binary)
Required :Yes (Only one of the source_image_ parameters can be used in a single request.)
The source_image_file parameter allows you to upload an image of a grocery item, which will be processed by the API. The uploaded image is analyzed and optimized for e-commerce, delivery apps, and inventory systems, ensuring high-quality product representation. This enhances product visibility, making it more engaging for customers.
Supported Format :PNG, JPG, JPEG.
Examples :source_image_file = @/path/to/image.png
Type : string
Required : Yes
The scaling_mode parameter determines how the image is resized to fit the given dimensions. It controls whether the entire image fits within the specified dimensions or fills them completely.
Example : scaling_mode = fill
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)
Default Value :#FFFFFF
Examples :bg_color_code = #72E4B3
Type : string
Required : No
The reference_type parameter determines how the grocery item is referenced. It controls whether the reference is based on the subject (general category) or the original (specific product).
Example : reference_type = original
Type : int
Required : No
The padding parameter allows you to add extra space around the subject before processing the image. The padding is applied in the sequence: top, right, bottom, left. If a single value is provided, it applies to all sides equally.
Type : boolean
Required : No
The relighting parameter enables or disables automatic relighting adjustments to enhance the subject's illumination. It can help improve visibility and consistency in images with varying light conditions.
Success
Background successfully removed!
Your image has been processed, and the background is now removed. You can now download or use it as you wish.
Error
Background removed failed!
The request could not be processed due to invalid parameters or an unsupported image format. Ensure the input image meets the required format and size specifications, then try again. (No credits were deducted for this request.)
Error
Background removed failed!
API-KEY missing or invalid API-KEY (No credit deducted)
Error
Background removed failed!
No credits remaining (No credit deducted)
Error
Background removed failed!
Api rate limit crossed (No credit deducted)