convert_to_grayscale
Convert images to grayscale by transforming them into a monochrome format. Use this tool for enhancing visual simplicity or preparing images for specific processing workflows.
Instructions
将图片转换为灰度图
Input Schema
Name | Required | Description | Default |
---|---|---|---|
image_source | Yes | 图片源,可以是文件路径或base64编码的图片数据 |
Input Schema (JSON Schema)
{
"properties": {
"image_source": {
"description": "图片源,可以是文件路径或base64编码的图片数据",
"title": "Image Source",
"type": "string"
}
},
"required": [
"image_source"
],
"title": "convert_to_grayscaleArguments",
"type": "object"
}