Together AI 图像生成服务器
基于 Together AI 的 Flux.1 Schnell 模型,提供高质量图像生成的 MCP 服务器。
快速入门
- 安装:运行
npm install together-mcp
或直接使用npx together-mcp@latest
- 配置:在 MCP 配置文件中添加以下内容:
{
"mcpServers": {
"together-image-gen": {
"command": "npx",
"args": ["together-mcp@latest -y"],
"env": {
"TOGETHER_API_KEY": "
" } } } } - 使用:调用
generate_image
工具,至少需提供prompt
参数。 - 示例请求: { "name": "generate_image", "arguments": { "prompt": "一幅宁静的山景日落图" } }
- 开发:克隆项目后运行
npm install && npm run build
启动开发环境。