MCP GPT Image 1

Integrations

  • Provides the asynchronous API framework for handling image generation and editing requests

  • Stores and retrieves generated and edited images using MinIO or other S3-compatible object storage services

  • Leverages OpenAI's GPT-Image-1 API to generate images from text prompts and edit existing images based on text instructions

MCP-OpenAI-图像API

一个模型上下文协议 (MCP) 服务器,用于使用 OpenAI 的 GPT-Image-1 API 生成和编辑图像。该项目提供了一个 API 接口,用于根据文本提示和输入图像生成或编辑图像,并通过兼容 S3 的对象存储服务器存储和提供结果。

特征

  • 使用 OpenAI 的 GPT-Image-1 根据文本提示生成图像
  • 根据提示和输入图像编辑图像
  • 基于异步 FastAPI 的 MCP 服务器
  • 自动从对象存储上传和检索图像

要求

  • Python 3.8+
  • OpenAI API 密钥
  • 访问与 S3 兼容的对象存储服务器(例如,MinIO、AWS S3 或自托管)

**注意:**您必须提供自己的兼容 S3 的对象存储服务器。本项目包含一个非常简单的对象存储后端。

服务器公开了一个用于生成或编辑图像的工具gpt-image-generator 。有关 API 的详细信息,请参阅代码。

配置

  • 将您的 OpenAI API 密钥设置为环境变量: OPENAI_API_KEY
  • 根据存储服务器实施的要求配置与 S3 兼容的对象存储凭证。

执照

麻省理工学院

免责声明

此项目需要外部或自托管的兼容 S3 的对象存储服务器。请确保您在使用本项目前拥有此类服务的访问权限。

-
security - not tested
F
license - not found
-
quality - not tested

MCP GPT 图像 1

  1. 特征
    1. 要求
      1. 配置
        1. 执照
          1. 免责声明

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              dbt-mcp
              Last updated -
              16
              182
              Python
              Apache 2.0
              • Linux
              • Apple
            • A
              security
              A
              license
              A
              quality
              An MCP server that allows Claude to use OpenAI's image generation capabilities (gpt-image-1) to create image assets for users, which is particularly useful for game and web development projects.
              Last updated -
              1
              JavaScript
              MIT License

            View all related MCP servers

            ID: 6eahc8oyjr