Skip to main content
Glama

Image Generation MCP Server

图像生成 MCP 服务器

模型上下文协议 (MCP) 服务器,可通过 Together AI 无缝生成高质量图像。该服务器提供标准化接口来指定图像生成参数。

特征

  • 由 Flux.1 Schnell 模型提供支持的高质量图像生成
  • 支持自定义尺寸(宽度和高度)
  • 清除提示验证和 API 问题的错误处理
  • 轻松与 MCP 兼容客户端集成

安装

克劳德桌面
  • 在 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>" } } } }

可用工具

服务器实现了一个工具:

生成图像

根据给定的文本提示和可选尺寸生成图像。

输入模式:

{ "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

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

模型上下文协议服务器,可通过 Together AI 使用 Flux.1 Schnell 模型生成高质量图像,允许用户根据可自定义尺寸的文本提示创建图像。

  1. 特征
    1. 安装
      1. 克劳德桌面
    2. 可用工具
      1. 生成图像
    3. 先决条件
      1. 贡献
        1. 执照

          Related MCP Servers

          • A
            security
            F
            license
            A
            quality
            A Model Context Protocol server that provides image generation capabilities using the Ideogram API, allowing users to create images from text prompts with customizable parameters.
            Last updated -
            1
            97
            3
            TypeScript
          • A
            security
            F
            license
            A
            quality
            A Model Context Protocol server that provides an image generation tool using Templated.io, allowing users to create customized images based on templates with text and image layers.
            Last updated -
            TypeScript
            • Apple
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that enables high-quality image generation using the Flux.1 Schnell model via Together AI with customizable parameters.
            Last updated -
            1
            29
            8
            JavaScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            Provides image generation capabilities using the Flux Schnell model on Replicate, allowing users to create images from text prompts.
            Last updated -
            1
            JavaScript
            MIT License

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

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