Skip to main content
Glama

add_shadow

Enhance images by adding customizable shadows. Specify color, offset, blur, opacity, and output format for realistic effects. Ideal for improving visual depth and dimension in graphics.

Instructions

为图片添加阴影效果

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
image_sourceYes图片源,可以是文件路径或base64编码的图片数据
output_formatNo输出格式:PNG、JPEG、WEBP 等PNG
shadow_blurNo阴影模糊半径(像素)
shadow_colorNo阴影颜色,十六进制格式如 #808080(灰色)#808080
shadow_offset_xNo阴影水平偏移(像素),正值向右,负值向左
shadow_offset_yNo阴影垂直偏移(像素),正值向下,负值向上
shadow_opacityNo阴影不透明度,范围 0.0-1.0

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/duke0317/ps-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server