Together AI Image MCP Server
Together AI 画像サーバー
Together AI の画像生成モデルを使用して画像を生成するための MCP サーバー。
設定
依存関係をインストールします:
npm installサーバーを構築します。
npm run buildRelated MCP server: openrouter-image-gen-mcp
構成
1. Together AI APIキー
サーバーにはTogether AI APIキーが必要です。Together AIのプラットフォームから取得できます。
2. 傾斜構成
Cline MCP 設定ファイルにサーバーを追加します。
macOS/Linux の場合: ~/Library/Application Support/Windsurf/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
"mcpServers": {
"togetherai-image": {
"command": "node",
"args": ["/path/to/togetherai-image-server/build/index.js"],
"env": {
"TOGETHER_API_KEY": "your-api-key-here"
},
"disabled": false,
"autoApprove": []
}
}
}Clineでの使用法
サーバーは、次のパラメータを持つgenerate_imageツールを提供します。
{
prompt: string; // Required: Text description of the image to generate
model?: string; // Optional: Model to use (default: 'black-forest-labs/FLUX.1.1-pro')
width?: number; // Optional: Image width in pixels (default: 1024)
height?: number; // Optional: Image height in pixels (default: 768)
steps?: number; // Optional: Number of inference steps (default: 28)
n?: number; // Optional: Number of images to generate (default: 1)
outputDir?: string; // Optional: Directory where images will be saved (default: './output')
}使用例
Cline でサーバーを次のように使用できます。
Generate an image of a cat and save it to my desktop:
<use_mcp_tool>
<server_name>togeherai-image</server_name>
<tool_name>generate_image</tool_name>
<arguments>
{
"prompt": "A cute cat sitting on a windowsill",
"outputDir": "/Users/username/Desktop/generated-images"
}
</arguments>
</use_mcp_tool>出力
ツールは次の内容を含む JSON 応答を返します。
filepath: 保存した画像へのフルパスfilename: 保存した画像ファイルの名前dimensions: 画像の元の寸法と最終的な寸法
特徴
Together AIの最新FLUX.1.1-proモデルをサポート
画像のサイズが256ピクセル未満の場合は自動的にサイズを変更します
サイズ変更時にアスペクト比を維持
高品質のJPEG出力(品質90%)
出力ディレクトリを再帰的に作成します
画像のサイズを含む詳細なメタデータを返します
Available Tools
1 toolgenerate_imageC
Generate an image using Together AI
Inputs: prompt (required), model, width, height, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'generate_image' has a clear and distinct purpose, making it impossible for an agent to misselect between non-existent alternatives.
The naming pattern cannot be inconsistent with only one tool. The tool name 'generate_image' follows a verb_noun convention, which is straightforward and predictable, though there are no other tools to compare it against for consistency.
A single tool for an image generation server feels thin and under-scoped. While it covers the core functionality, typical image generation APIs offer more operations (e.g., variations, edits, or style transfers), making this count borderline too few for the apparent domain.
The tool set is severely incomplete for an image generation domain. It only provides generation, with no obvious gaps to assess since there are no other tools, but the lack of common operations like editing, upscaling, or batch processing suggests significant coverage issues for agent workflows.
Maintenance
Related MCP Connectors
Generate AI images and videos from any compatible MCP client.
MCP server for Qwen Image 3 AI image generation
Generate images, video, audio and short films with 140+ AI models from any MCP client.
Generate AI images, video, music, and sound effects, and upscale them, from any MCP client.
Related MCP Servers
- AlicenseBqualityDmaintenanceA MCP server that enables Claude and other MCP-compatible assistants to generate images from text prompts using Together AI's image generation models.14MIT
- AlicenseAqualityDmaintenanceMCP server for generating images using OpenRouter API, supporting models like Gemini 2.5 Flash. Enables image generation with flexible options like saving to local files.2Do What The F*ck You Want To Public
- AlicenseAqualityDmaintenanceMCP server for AI image generation supporting text-to-image and image-to-image editing via any OpenAI-compatible service, with configurable models, aspect ratios, and sizes.2MIT
- AlicenseBqualityDmaintenanceEnables AI image generation via MCP protocol, supporting dozens of models, customizable parameters, and multiple resolutions.346 npmISC