jimeng4-mcp
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., "@jimeng4-mcpgenerate a 4K cinematic image of a cyberpunk city in the rain"
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.
jimeng4-mcp
一个精简版的即梦 MCP 服务,只保留 jimeng-v40-generate 这一个能力。
当前能力
jimeng-v40-generate
即梦 4.0 图片生成工具,支持:
文生图
单图编辑
多图组合生成
4K 超高清输出
主要参数:
prompt: 必填,生成提示词image_urls: 可选,输入图片 URL 列表,最多 10 张width/height: 可选,需同时传入size: 可选,生成面积;若传入1024/2048/4096这类值,服务端会自动按边长转换为面积scale: 可选,文本影响强度,范围[0,1]force_single: 可选,是否强制单图输出seed: 可选,随机种子min_ratio: 可选,最小宽高比max_ratio: 可选,最大宽高比
轮询优化
jimeng-v40-generate 仍然是同步返回结果,但内部等待逻辑已优化为低占用轮询:
提交任务后不会立刻查询,先等待首个冷启动窗口
后续查询使用退避策略,逐步拉长间隔
相比固定 5 秒轮询,可显著减少空查询请求和服务端压力
环境变量
使用前需要配置:
export JIMENG_ACCESS_KEY=your_access_key
export JIMENG_SECRET_KEY=your_secret_keyMCP 配置示例
{
"mcpServers": {
"jimeng": {
"type": "stdio",
"command": "npx",
"args": ["-y", "jimeng4-mcp"],
"env": {
"JIMENG_ACCESS_KEY": "your_access_key",
"JIMENG_SECRET_KEY": "your_secret_key"
}
}
}
}开发
npm install
npm run build
npm run devThis server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/BACH-AI-Tools/jimeng4-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server