Categories

Add Shadow Effect

Add realistic shadow effects to images with customizable direction, blur, color, and intensity

Click to upload file or drag and drop file here

Maximum file size: 20MB Supported formats: image/jpeg, image/png, image/webp, image/gif, image/bmp, image/tiff

Upload any image file to add shadow effect to

Choose the direction of the shadow

Distance of the shadow from the image

Blur radius of the shadow (higher = softer)

Color of the shadow

Opacity of the shadow (0.0 to 1.0)

Size scale of the shadow relative to the image

Background color (leave empty for transparent)

Choose output format or keep original

Output quality for lossy formats (WebP, JPEG)

API Documentation

Request Endpoint

POST /en/api/tools/image-add-shadow

Request Parameters

Parameter Name Type Required Description
imageFile file (Upload required) Yes Upload any image file to add shadow effect to
shadowDirection select Yes Choose the direction of the shadow
shadowDistance number No Distance of the shadow from the image
shadowBlur number No Blur radius of the shadow (higher = softer)
shadowColor color No Color of the shadow
shadowOpacity number No Opacity of the shadow (0.0 to 1.0)
shadowSize number No Size scale of the shadow relative to the image
backgroundColor color No Background color (leave empty for transparent)
outputFormat select No Choose output format or keep original
quality number No Output quality for lossy formats (WebP, JPEG)

File type parameters need to be uploaded first via POST /upload/image-add-shadow to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-image-add-shadow": {
      "name": "image-add-shadow",
      "description": "Add realistic shadow effects to images with customizable direction, blur, color, and intensity",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-add-shadow",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]