Slazzer App
All-in-one AI photo editor
Our AI-powered API instantly adds natural, studio-quality shadows to product images—perfect for e-commerce, marketing, and catalog visuals.
Type :string ($binary)
Required :Yes
The source_image_file parameter is used to upload the original image on which the AI will generate and apply a realistic shadow. The shadow placement is intelligently determined based on the object’s shape, lighting position.
Supported Format :PNG, JPG, JPEG.
Examples :source_image_file = @/path/to/image.png
Type : string
Required : Yes
The light_source_pos parameter defines the direction or position of the light source in the image. This influences the length and angle of the artificial shadow generated. Adjusting this value helps create more realistic lighting effects based on your scene.
Example : light_source_pos = long
Type : string
Required : No
The bg_color parameter sets the background color of the final image in hexadecimal format. It accepts values like 0xFFFFFF for white or 0x000000 for black. This color will appear behind the subject.
Example : bg_color = 0x00FF00
Type : float
Required : No
The shadow_opacity parameter controls the transparency level of the generated shadow. A lower value makes the shadow more transparent, while a higher value makes it more visible and intense.
Example : shadow_opacity = 0.8
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)