这是一个基于Model Context Protocol (MCP)的服务器,通过Together AI实现高质量图像的无缝生成。该服务器提供了一个标准化接口来指定图像生成参数。
<a href="https://glama.ai/mcp/servers/o0137xiz62"> <img width="380" height="200" src="https://gips1.baidu.com/it/u=636204164,503298076&fm=3081&app=3081&f=PNG?w=760&h=400" alt="图像生成服务器MCP服务器" /> </a>~/Library/Application\ Support/Claude/claude_desktop_config.json{
"mcpServers": {
"image-gen": {
"command": "uv",
"args": ["--directory", "/ABSOLUTE/PATH/TO/image-gen/", "run", "image-gen"],
"env": {
"TOGETHER_AI_API_KEY": "<API KEY>"
}
}
}
}
该服务器实现了一个工具:
根据给定的文字提示和可选的尺寸生成图像。
输入模式:
{
"prompt": {
"type": "string",
"description": "用于生成图像的描述性提示(例如,'日落时的未来城市景观')"
},
"width": {
"type": "integer",
"description": "生成图像的宽度(以像素为单位,可选)"
},
"height": {
"type": "integer",
"description": "生成图像的高度(以像素为单位,可选)"
},
"model": {
"type": "string",
"description": "在Together AI中显示的确切模型名称。如果错误,将回退到默认模型(black-forest-labs/FLUX.1-schnell)。"
}
}
欢迎贡献!请遵循以下步骤进行贡献:
feature/my-new-feature)对于重大变更,请先打开一个问题来讨论您提议的变更。
本项目采用MIT许可证。详情见LICENSE文件。