Skip to main content
Glama
sarthakkimtani

Image Generation MCP Server

画像生成MCPサーバー

Together AI による高品質な画像をシームレスに生成する Model Context Protocol (MCP) サーバー。画像生成パラメータを指定するための標準化されたインターフェースを提供します。

特徴

  • Flux.1 Schnellモデルを活用した高品質画像生成

  • カスタマイズ可能な寸法(幅と高さ)のサポート

  • プロンプト検証と API の問題に対する明確なエラー処理

  • MCP対応クライアントとの簡単な統合

Related MCP server: Image Generation MCP Server

インストール

クロードデスクトップ

  • MacOSの場合: ~/Library/Application\ Support/Claude/claude_desktop_config.json

  • Windows の場合: %APPDATA%/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>"
      }
    }
  }
}

利用可能なツール

サーバーは 1 つのツールを実装します。

画像を生成する

指定されたテキスト プロンプトとオプションの寸法に基づいて画像を生成します。

入力スキーマ:

{
  "prompt": {
    "type": "string",
    "description": "A descriptive prompt for generating the image (e.g., 'a futuristic cityscape at sunset')"
  },
  "width": {
    "type": "integer",
    "description": "Width of the generated image in pixels (optional)"
  },
  "height": {
    "type": "integer",
    "description": "Height of the generated image in pixels (optional)"
  },
  "model": {
    "type": "string",
    "description": "The exact model name as it appears in Together AI. If incorrect, it will fallback to the default model (black-forest-labs/FLUX.1-schnell)."
  }
}

前提条件

  • Python 3.12以上

  • httpx

  • マクピー

貢献

貢献を歓迎します!貢献するには、次の手順に従ってください。

  1. リポジトリをフォークする

  2. 新しいブランチを作成する ( feature/my-new-feature )

  3. 変更をコミットする

  4. ブランチをフォークにプッシュする

  5. プルリクエストを開く

大幅な変更については、まず問題を開いて、提案する変更について話し合ってください。

ライセンス

このプロジェクトはMITライセンスの下で提供されています。詳細はLICENSEファイルをご覧ください。

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

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/sarthakkimtani/mcp-image-gen'

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