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
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)