create_silhouette
Generate silhouette effects from images by converting them into defined shapes with customizable silhouette and background colors, enhancing visual distinction for creative or analytical purposes.
Instructions
创建图片的剪影效果
Input Schema
Name | Required | Description | Default |
---|---|---|---|
background_color | No | 背景颜色,十六进制格式或 'transparent'(透明) | transparent |
image_source | Yes | 图片源,可以是文件路径或base64编码的图片数据 | |
output_format | No | 输出格式:PNG、JPEG、WEBP 等 | PNG |
silhouette_color | No | 剪影颜色,十六进制格式如 #000000(黑色) | #000000 |
threshold | No | 阈值,范围 0-255,用于确定剪影边界 |