adjust_gamma
Modify image brightness and contrast by adjusting gamma values. Input an image source and gamma value (>1.0 to brighten, <1.0 to darken, 1.0 for no change) for precise visual enhancement.
Instructions
调整图片伽马值
Input Schema
Name | Required | Description | Default |
---|---|---|---|
gamma | Yes | 伽马值,1.0为原始,>1.0变亮,<1.0变暗 | |
image_source | Yes | 图片源,可以是文件路径或base64编码的图片数据 |
Input Schema (JSON Schema)
{
"properties": {
"gamma": {
"description": "伽马值,1.0为原始,>1.0变亮,<1.0变暗",
"exclusiveMinimum": 0,
"title": "Gamma",
"type": "number"
},
"image_source": {
"description": "图片源,可以是文件路径或base64编码的图片数据",
"title": "Image Source",
"type": "string"
}
},
"required": [
"image_source",
"gamma"
],
"title": "adjust_gammaArguments",
"type": "object"
}