Feedback

AI 图像生成服务 MCP Server

@chenyeju295 Claim

Basic information

Runtime
python
Category
License
Not specified
Transports
stdio
Author
chenyeju295
Submitted by
Community
Quality
40
Stars
20

About AI 图像生成服务 MCP Server

可用于cursor 集成 mcp server

AI 图像生成服务 is a MCP server in the Other category listed in the AddMCP.net directory, published by chenyeju295. Supported transport: stdio. Runtime: python. The repository has 20 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "mcp_generate_images": {
            "command": "python3",
            "args": [
                "-m",
                "pip",
                "install",
                "fastmcp",
                "requests",
                "volcengine-python-sdk[ark]"
            ]
        }
    }
}

AI 图像生成服务 MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp_generate_images": {
            "command": "python3",
            "args": [
                "-m",
                "pip",
                "install",
                "fastmcp",
                "requests",
                "volcengine-python-sdk[ark]"
            ]
        }
    }
}

AI 图像生成服务 MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

什么是AI 图像生成服务?

基于火山引擎(抖音豆包)的图像生成服务,专门设计用于与 Cursor MCP 服务集成。支持自定义图片宽高比、保存路径等功能,提供高质量图像生成能力。

如何用AI 图像生成服务?

需要安装 Python 3.10+、Nodejs 和 uv 包管理器,配置火山引擎 API 密钥(环境变量 ARK_API_KEY)。克隆项目后安装依赖,运行服务。在 Cursor 的 MCP 配置中添加 JSON 节点即可在 agent 模式下使用。

关键功能

  • 支持高质量图像生成
  • 多种常见宽高比(1:1、4:3、16:9、3:4、9:16)
  • 使用火山引擎豆包模型(doubao-seedream-3-0-t2i-250415)
  • 自动重试和详细错误处理
  • 完整的路径和权限验证
  • 详细的错误提示和日志
  • 异步处理支持

使用场景

  • 在 Cursor 中通过 Composer agent 生成图像
  • 生成指定宽高比的风景、人物等图片
  • 将生成的图片保存到用户指定的绝对路径
  • 支持中文提示词,便于中文用户使用
  • 为开发项目快速集成 AI 图像生成 MCP 服务

Frequently asked questions

1 如何配置 API 密钥?

通过设置环境变量 ARK_API_KEY(例如 export ARK_API_KEY=your_api_key_here),或在 ~/.bashrc / ~/.zshrc 中永久添加。

2 支持哪些图片宽高比?

支持 '1:1'、'4:3'、'16:9'、'3:4'、'9:16',默认为 '1:1'。

3 图片最大支持多大尺寸?

模型支持最大 1024x1024 的尺寸,建议使用正方形尺寸以获得最佳效果和生成速度。

4 遇到 API 调用频率受限怎么办?

等待几分钟后再试。如果持续遇到,检查是否超过火山引擎 API 的频率限制。

5 API 认证失败如何排查?

检查环境变量 ARK_API_KEY 是否正确设置且有效,确保从火山引擎方舟大模型服务获取的密钥未过期。

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬