jimeng-mcp-v4
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@jimeng-mcp-v4Generate a 16:9 image with text 'Hello World', blue background, stars and clouds illustration."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
即梦 AI 图片生成 MCP 服务 V4.0
基于火山引擎即梦 AI 的图片生成 MCP(Model Context Protocol)服务。最新即梦生图 mcp servers, 支持最新的即梦 Seedream4.0 模型:jimeng_t2i_v40
功能特性
使用火山引擎即梦 AI API 生成高质量图片
支持多种图片比例:4:3、3:4、16:9、9:16
标准化的 MCP 接口,兼容各种 MCP 客户端
环境变量配置,安全便捷
Related MCP server: Doubao Image MCP Server
安装依赖
cd jimeng-mcp-v4
npm install编译项目
npm run build环境变量配置
设置以下环境变量:
export JIMENG_ACCESS_KEY="你的火山引擎AccessKey"
export JIMENG_SECRET_KEY="你的火山引擎SecretKey"获取 API 密钥
访问 火山引擎控制台
登录后进入"即梦 AI"产品页面,开通服务(可选择免费试用)
在"访问控制"页面创建访问密钥,获取 Access Key 和 Secret Key
确保账号已开通即梦 AI 图像生成相关权限和策略
注意: 根据官方文档,请确保使用正确的 req_key 参数值 jimeng_high_aes_general_v21_L
使用方法
方式一: 使用 npx (推荐)
无需安装,直接在 MCP 客户端配置中使用:
配置文件位置:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
配置内容:
{
"mcpServers": {
"jimeng-mcp-v4": {
"command": "npx",
"args": ["-y", "jimeng-mcp-v4@latest"],
"env": {
"JIMENG_ACCESS_KEY": "你的AccessKey",
"JIMENG_SECRET_KEY": "你的SecretKey"
}
}
}
}方式二: 全局安装
# 安装
npm install -g jimeng-mcp-v4
# 在配置文件中使用
{
"mcpServers": {
"jimeng-mcp-v4": {
"command": "jimeng-mcp-v4",
"env": {
"JIMENG_ACCESS_KEY": "你的AccessKey",
"JIMENG_SECRET_KEY": "你的SecretKey"
}
}
}
}方式三: 本地开发
# 克隆仓库
git clone https://github.com/yo4ai/jimeng-mcp-v4.git
cd jimeng-mcp-v4
# 安装依赖并构建
npm install
npm run build
# 在配置文件中使用
{
"mcpServers": {
"jimeng-mcp-v4": {
"command": "node",
"args": ["/path/to/jimeng-mcp-v4/build/index.js"],
"env": {
"JIMENG_ACCESS_KEY": "你的AccessKey",
"JIMENG_SECRET_KEY": "你的SecretKey"
}
}
}
}API 接口
generate-image
当用户需要生成图片时使用的工具。
参数:
text(string): 用户需要在图片上显示的文字illustration(string): 根据用户要显示的文字,提取 3-5 个可以作为图片配饰的插画元素关键词color(string): 图片的背景主色调ratio(enum): 图片比例,支持以下选项:"4:3": 512×384"3:4": 384×512"16:9": 512×288"9:16": 288×512
提示词生成规则: 工具会自动将输入参数组合成以下格式的提示词:
字体设计:"{text}",黑色字体,斜体,带阴影。干净的背景,白色到{color}渐变。点缀浅灰色、半透明{illustration}等元素插图做配饰插画。返回:
成功时返回图片 URL 和详细信息
失败时返回错误信息
使用示例
// 在MCP客户端中调用
const result = await mcp.callTool('generate-image', {
text: '新年快乐',
illustration: '烟花, 灯笼, 祥云, 星星, 礼花',
color: '红色',
ratio: '4:3',
});项目结构
jimeng-mcp-v4/
├── src/
│ └── index.ts # 主服务文件
├── build/ # 编译输出目录
├── package.json # 项目配置
├── tsconfig.json # TypeScript配置
└── README.md # 项目说明注意事项
确保网络连接正常,能够访问火山引擎 API
API 调用需要消耗积分,请注意使用量
生成的图片 URL 有时效性,建议及时下载保存
请遵守火山引擎的使用条款和即梦 AI 的内容政策
故障排除
常见错误
环境变量未设置:确保设置了正确的 ACCESS_KEY 和 SECRET_KEY
网络连接问题:检查网络连接和防火墙设置
API 配额不足:检查火山引擎账户余额和 API 调用次数
提示词不合规:确保提示词符合内容安全规范
调试方法
运行时添加调试信息:
DEBUG=* node build/index.js许可证
ISC License
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseCqualityDmaintenanceA MCP server that generates high-quality images using Volcano Engine's JiMeng AI API, supporting various aspect ratios and compatible with different MCP clients.11360MIT
- Alicense-qualityCmaintenanceAn MCP server that generates high-quality images through Volcano Engine's Doubao model, supporting bilingual prompts, multiple resolutions, and parameter controls like seed and guidance scale.3MIT
- Flicense-quality-maintenanceAn MCP server that enables users to generate AI images using the Jimeng AI API with support for automatic status polling and local file saving. It allows for detailed parameter configuration including image dimensions, model selection, and prompt optimization.
- Alicense-qualityDmaintenanceAn MCP server providing multi-modal generation tools based on Volcengine's Jimeng AI, supporting high-quality 4K image creation, intelligent image editing, and video generation. It enables users to perform complex visual tasks directly within clients like Cursor and Claude Desktop.11MIT
Related MCP Connectors
MCP server for ByteDance Seedream AI image generation
MCP server for ByteDance Seedance AI video generation
MCP server for Hailuo (MiniMax) AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/yo4ai/jimeng-mcp-v4'
If you have feedback or need assistance with the MCP directory API, please join our Discord server