Skip to main content
Glama

Together AI Image MCP Server

Together AI 画像サーバー

Together AI の画像生成モデルを使用して画像を生成するための MCP サーバー。

設定

  1. 依存関係をインストールします:
npm install
  1. サーバーを構築します。
npm run build

構成

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%)
  • 出力ディレクトリを再帰的に作成します
  • 画像のサイズを含む詳細なメタデータを返します
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

モデルの選択、画像の寸法、出力ディレクトリなどのカスタマイズ可能なパラメータをサポートし、MCP サーバーを介して Together AI のモデルを使用して画像を生成できるようにします。

  1. 設定
    1. 構成
      1. Together AI APIキー
      2. 傾斜構成
    2. Clineでの使用法
      1. 使用例
      2. 出力
    3. 特徴

      Related MCP Servers

      • A
        security
        F
        license
        A
        quality
        An advanced MCP server for Cline that leverages EverArt's AI models to generate vector and raster images, supporting flexible storage, multiple formats, and robust image generation capabilities.
        Last updated -
        3
        1
        JavaScript
      • A
        security
        A
        license
        A
        quality
        A 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 -
        1
        2
        TypeScript
        MIT License
        • Apple
        • Linux
      • -
        security
        A
        license
        -
        quality
        A FastMCP server implementation that provides a standardized interface for accessing AI models hosted on Replicate's API, currently supporting image generation with customizable parameters.
        Last updated -
        2
        Python
        MIT License
      • A
        security
        A
        license
        A
        quality
        An MCP Server that integrates with Stability AI's API to provide high-quality image generation, editing, and manipulation capabilities including background removal, outpainting, search-and-replace, and upscaling.
        Last updated -
        13
        35
        55
        TypeScript
        MIT License
        • Apple

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/stefanskiasan/togetherai-image-mcp-server'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server