extract_colors
Extract dominant colors from an image to identify key color themes. Specify the number of colors and output format for effective visual analysis.
Instructions
提取图片主要颜色
Input Schema
Name | Required | Description | Default |
---|---|---|---|
image_source | Yes | 图片源,可以是文件路径或base64编码的图片数据 | |
num_colors | No | 要提取的主要颜色数量 | |
output_format | No | 输出格式:PNG、JPEG、WEBP 等 | PNG |