Together AI 图像服务器
使用 Together AI 的图像生成模型生成图像的 MCP 服务器。
设置
安装依赖项:
构建服务器:
配置
1.Together AI API密钥
服务器需要 Together AI API 密钥。您可以从Together AI 平台获取。
2. Cline配置
将服务器添加到您的 Cline MCP 设置文件:
对于 macOS/Linux: ~/Library/Application Support/Windsurf/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
在 Cline 中的用法
服务器提供了一个generate_image
工具,其参数如下:
示例用法
您可以像这样使用 Cline 中的服务器:
输出
该工具返回一个 JSON 响应,其中包含:
filepath
:保存图像的完整路径filename
:保存的图像文件的名称dimensions
:图像的原始尺寸和最终尺寸
特征
支持Together AI最新的FLUX.1.1-pro模型
如果尺寸小于 256 像素,则自动调整图像大小
调整大小时保持纵横比
高质量 JPEG 输出(90% 质量)
递归创建输出目录
返回包括图像尺寸在内的详细元数据
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
通过 MCP 服务器使用 Together AI 的模型生成图像,支持模型选择、图像尺寸和输出目录等可自定义的参数。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA MCP server that enables Claude and other MCP-compatible assistants to generate images from text prompts using Together AI's image generation models.Last updated -4MIT License
- -securityAlicense-qualityAn MCP tool server that enables generating and editing images through OpenAI's image models, supporting text-to-image generation and advanced image editing (inpainting, outpainting) across various MCP-compatible clients.Last updated -75MIT License
- AsecurityFlicenseAqualityAn MCP (Model Context Protocol) server that allows generating, editing, and creating variations of images using OpenAI's DALL-E APIs.
- AsecurityFlicenseAqualityAn MCP server that enables AI models to generate precise geometric images by providing Asymptote code, supporting both SVG and PNG output formats.Last updated -1134