即梦AI图片生成 MCP 服务

即梦AI图片生成 MCP 服务

jimengpic-mcp•bycomeonzhj

一个基于火山引擎即梦AI API、可按指定文字、插画元素、配色与比例生成图片的 MCP 服务。

License: Not specified•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •提供 generate-image 工具,在用户需要生成图片时调用。
  • •接收文字、插画元素关键词、背景主色调和图片比例作为参数,并自动组合成提示词。
  • •支持 4:3、3:4、16:9、9:16 四种图片比例。
  • •成功时返回图片 URL 和详细信息,失败时返回错误信息。

BEST FOR

  • •为节日祝福等场景生成带指定文字的图片,例如输入文字为“新年快乐”。
  • •在 Claude Desktop、Cursor 等 MCP 客户端中配置并调用图片生成能力。

ABOUT JIMENGPIC-MCP

即梦AI图片生成 MCP 服务 is cataloged as an MCP server attributed to comeonzhj. 一个基于火山引擎即梦AI API、可按指定文字、插画元素、配色与比例生成图片的 MCP 服务。 It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for 即梦AI图片生成 MCP 服务 are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

generate-image 工具支持哪些图片比例?

支持 4:3、3:4、16:9、9:16 四种比例,分别对应 512×384、384×512、512×288、288×512 尺寸。

生成的图片 URL 是否可以长期保存?

生成的图片 URL 有时效性,建议及时下载保存。

Upstream README

View this exact version on GitHub

README.md · 955ac89b9cc3 · Fetched 2026-11-13 13:13:42 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

即梦AI图片生成 MCP 服务

基于火山引擎即梦AI的图片生成MCP(Model Context Protocol)服务。

功能特性

  • 使用火山引擎即梦AI API生成高质量图片
  • 支持多种图片比例:4:3、3:4、16:9、9:16
  • 标准化的MCP接口,兼容各种MCP客户端
  • 环境变量配置,安全便捷

安装依赖

cd jimengpic-mcp
npm install

编译项目

npm run build

环境变量配置

设置以下环境变量:

export JIMENG_ACCESS_KEY="你的火山引擎AccessKey"
export JIMENG_SECRET_KEY="你的火山引擎SecretKey"

获取API密钥

  1. 访问 火山引擎控制台
  2. 登录后进入"即梦AI"产品页面,开通服务(可选择免费试用)
  3. 在"访问控制"页面创建访问密钥,获取Access Key和Secret Key
  4. 确保账号已开通即梦AI图像生成相关权限和策略

注意: 根据官方文档,请确保使用正确的req_key参数值 jimeng_high_aes_general_v21_L

使用方法

直接运行

node build/index.js

作为MCP服务器

在MCP客户端(如Claude Desktop、Cursor等)中配置此服务:

{
  "mcpServers": {
    "jimengpic": {
      "command": "node",
      "args": ["/path/to/jimengpic-mcp/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"
});

项目结构

jimengpic-mcp/
├── src/
│   └── index.ts          # 主服务文件
├── build/                # 编译输出目录
├── package.json          # 项目配置
├── tsconfig.json         # TypeScript配置
└── README.md            # 项目说明

注意事项

  1. 确保网络连接正常,能够访问火山引擎API
  2. API调用需要消耗积分,请注意使用量
  3. 生成的图片URL有时效性,建议及时下载保存
  4. 请遵守火山引擎的使用条款和即梦AI的内容政策

故障排除

常见错误

  1. 环境变量未设置:确保设置了正确的ACCESS_KEY和SECRET_KEY
  2. 网络连接问题:检查网络连接和防火墙设置
  3. API配额不足:检查火山引擎账户余额和API调用次数
  4. 提示词不合规:确保提示词符合内容安全规范

调试方法

运行时添加调试信息:

DEBUG=* node build/index.js

许可证

ISC License

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for 即梦AI图片生成 MCP 服务 from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/jimengpic-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design