create_polaroid
Apply Polaroid-style effects to images by adding customizable borders, shadows, and output format options for a vintage photographic look.
Instructions
创建宝丽来风格效果
Input Schema
Name | Required | Description | Default |
---|---|---|---|
border_width | No | 宝丽来边框宽度(像素) | |
image_source | Yes | 图片源,可以是文件路径或base64编码的图片数据 | |
output_format | No | 输出格式:PNG、JPEG、WEBP 等 | PNG |
shadow | No | 是否添加阴影效果 |
Input Schema (JSON Schema)
{
"properties": {
"border_width": {
"default": 20,
"description": "宝丽来边框宽度(像素)",
"minimum": 1,
"title": "Border Width",
"type": "integer"
},
"image_source": {
"description": "图片源,可以是文件路径或base64编码的图片数据",
"title": "Image Source",
"type": "string"
},
"output_format": {
"default": "PNG",
"description": "输出格式:PNG、JPEG、WEBP 等",
"title": "Output Format",
"type": "string"
},
"shadow": {
"default": true,
"description": "是否添加阴影效果",
"title": "Shadow",
"type": "boolean"
}
},
"required": [
"image_source"
],
"title": "create_polaroidArguments",
"type": "object"
}