Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| load_image | 加载图片文件或base64编码的图片 |
| save_image | 保存图片到指定路径 |
| get_image_info | 获取图片基本信息 |
| convert_format | 转换图片格式 |
| resize_image | 调整图片大小 |
| crop_image | 裁剪图片 |
| rotate_image | 旋转图片 |
| flip_image | 翻转图片 |
| apply_blur | 应用模糊滤镜 |
| apply_gaussian_blur | 应用高斯模糊滤镜 |
| apply_sharpen | 应用锐化滤镜 |
| apply_edge_enhance | 应用边缘增强滤镜 |
| apply_emboss | 应用浮雕滤镜 |
| apply_find_edges | 应用边缘检测滤镜 |
| apply_smooth | 应用平滑滤镜 |
| apply_contour | 应用轮廓滤镜 |
| apply_sepia | 应用复古棕褐色滤镜 |
| apply_invert | 应用反色滤镜 |
| adjust_brightness | 调整图片亮度 |
| adjust_contrast | 调整图片对比度 |
| adjust_saturation | 调整图片饱和度 |
| adjust_sharpness | 调整图片锐度 |
| convert_to_grayscale | 将图片转换为灰度图 |
| adjust_gamma | 调整图片伽马值 |
| adjust_opacity | 调整图片不透明度 |
| add_border | 为图片添加边框效果 |
| create_silhouette | 创建图片的剪影效果 |
| add_shadow | 为图片添加阴影效果 |
| add_watermark | 为图片添加水印 |
| apply_vignette | 应用晕影效果 |
| create_polaroid | 创建宝丽来风格效果 |
| batch_resize | 批量调整图片大小 |
| create_collage | 创建图片拼贴 |
| create_thumbnail_grid | 创建缩略图网格 |
| blend_images | 混合两张图片 |
| extract_colors | 提取图片主要颜色 |
| create_gif | 创建GIF动画 |
| get_performance_stats | 获取性能统计信息 |
| reset_performance_stats | 重置性能统计信息 |