create_collage
Generate image collages from multiple sources with customizable layouts, spacing, and background colors. Supports formats like PNG, JPEG, and WEBP for flexible output.
Instructions
创建图片拼贴
Input Schema
Name | Required | Description | Default |
---|---|---|---|
background_color | No | 背景颜色,支持十六进制颜色代码 | #FFFFFF |
image_sources | Yes | 图片源列表,每个元素可以是文件路径或base64编码的图片数据 | |
layout | No | 布局方式:grid(网格)、horizontal(水平)、vertical(垂直) | grid |
output_format | No | 输出格式:PNG、JPEG、WEBP 等 | PNG |
spacing | No | 图片间距(像素) |
Input Schema (JSON Schema)
{
"properties": {
"background_color": {
"default": "#FFFFFF",
"description": "背景颜色,支持十六进制颜色代码",
"title": "Background Color",
"type": "string"
},
"image_sources": {
"description": "图片源列表,每个元素可以是文件路径或base64编码的图片数据",
"items": {},
"title": "Image Sources",
"type": "array"
},
"layout": {
"default": "grid",
"description": "布局方式:grid(网格)、horizontal(水平)、vertical(垂直)",
"title": "Layout",
"type": "string"
},
"output_format": {
"default": "PNG",
"description": "输出格式:PNG、JPEG、WEBP 等",
"title": "Output Format",
"type": "string"
},
"spacing": {
"default": 10,
"description": "图片间距(像素)",
"minimum": 0,
"title": "Spacing",
"type": "integer"
}
},
"required": [
"image_sources"
],
"title": "create_collageArguments",
"type": "object"
}