Skip to main content

AI Shadow Generator

This transformation allows the user to generate a realistic shadow for the main foreground object, given a desired shadow angle and intensity, along with either a background image or a background color. Such an AI transformation enables the automation of visualizing e-commerce images in different studio backgrounds, without having to go for separate photoshoots. This, in turn, reduces the cost as well as the time of onboarding new e-commerce clothing products.

The resolution (height or width) of the generated image will always be 2000 px for the biggest dimension of the input image while maintaining the aspect ratio of the original image.


Params

Shadow Angle (a)

Specify the desired angle of the shadow in the generated image. Currently the range of angles supported is from 65 to 145 degrees.

Shadow Intensity (i)

Specify the desired intensity of the shadow in the generated image. Currently the range of intensities supported is from 0 to 1, where 0 specifies a light shadow and 1 specifies a hard shadow.

Background Image (bgi)

Upload a desired studio background image on which the AI generated shadow along with the foreground needs to be composited. The background image must already be uploaded and the bgi parameter must be the base64 encoded string of the background image's fileId.

Background Colour (bgc)

Select a desired background color as hexcode on which the AI generated shadow along with the foreground needs to be composited. The hexcode must be provided without the # character.

Transform and enhance your images using our powerful AI technology. Organize your images in more efficient manner and our extensible APIs enables seamless integration with your system unleashing the power of our platform. Join the large community of users who use PixelBin to transform their image libraries and achieve excellent performance

Is this page useful?