AI 图像生成服务
@chenyeju295
About AI 图像生成服务
可用于cursor 集成 mcp server
Basic information
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]"
]
}
}
}Tools
No tools detected
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 服务
FAQ 来自AI 图像生成服务
如何配置 API 密钥?
通过设置环境变量 ARK_API_KEY(例如 export ARK_API_KEY=your_api_key_here),或在 ~/.bashrc / ~/.zshrc 中永久添加。
支持哪些图片宽高比?
支持 '1:1'、'4:3'、'16:9'、'3:4'、'9:16',默认为 '1:1'。
图片最大支持多大尺寸?
模型支持最大 1024x1024 的尺寸,建议使用正方形尺寸以获得最佳效果和生成速度。
遇到 API 调用频率受限怎么办?
等待几分钟后再试。如果持续遇到,检查是否超过火山引擎 API 的频率限制。
API 认证失败如何排查?
检查环境变量 ARK_API_KEY 是否正确设置且有效,确保从火山引擎方舟大模型服务获取的密钥未过期。
More Other MCP servers

EverArt
modelcontextprotocolModel Context Protocol Servers
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
ICSS
chokcoco不止于 CSS
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Comments