Apply a realistic shadow to the subject.
https://fapihub.com/v2/rembg/gradient/
Request
Body
The image file to process. Send as multipart form data.
Shadow color in RGB format.
Blur radius for the shadow.
Code Samples
curl -X POST "https://fapihub.com/v2/rembg/shadow/" \
-H "ApiKey: API_TOKEN" \
-F "image=@image.jpg" \
-F "shadow_color=(0, 0, 0, 150)" \
-F "offset=(10, 10)" \
-F "blur_radius=15"
Responses
Binary image data (the processed image with background removed)