即梦AI MCP服务器 - 基于APICore平台调用doubao-seedream-4.0模型
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"jimeng-mcp-apicore","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# 即梦AI MCP服务器 - APICore渠道版 基于APICore平台调用即梦AI (Doubao Seedream 4.0) 的MCP服务器,支持文生图、图生图、多图融合、组图生成等全部功能。 ## ✨ 特色功能 - 🎨 **文生图**:根据文字描述生成高质量图像 - 🖼️ **图生图**:基于参考图片生成新图像 - 🎭 **多图融合**:融合多张参考图的元素(最多10张) - 📚 **组图生成**:一次生成多张主题相关的图片(最多15张) - 🚀 **批量处理**:支持多个prompt批量生成 - 💾 **自动保存**:生成的图片自动下载并保存到本地 ## 🚀 快速开始 ### 1. 克隆仓库 ```bash git clone https://github.com/yourusername/jimeng-mcp-apicore.git cd jimeng-mcp-apicore ``` ### 2. 安装依赖 ```bash pip install -r requirements.txt ``` ### 3. 配置环境变量 ```bash # 复制环境变量模板 cp .env.example .env # 编辑.env文件,填入您的API密钥 vi .env # 或者直接设置环境变量 export APICORE_API_KEY="sk-your-api-key" export JIMENG_OUTPUT_DIR="./outputs" ``` ### 4. 配置Claude Desktop 编辑配置文件: - macOS: `~/Library/Application Support/Claude/claude_desktop_config.json` - Windows: `%APPDATA%\Claude\claude_desktop_config.json` 添加以下配置: ```json { "mcpServers": { "jimeng": { "command": "python3", "args": ["/path/to/jimeng_mcp.py"], "env": { "APICORE_API_KEY": "sk-your-api-key", "JIMENG_OUTPUT_DIR": "~/Desktop/jimeng_images" } } } } ``` ### 5. 重启Claude Desktop ## 📚 使用示例 ### 基础用法 #### 简单文生图 ```python jimeng("一只可爱的猫咪在花园里玩耍") ``` #### 指定尺寸 ```python jimeng( prompt="壮丽的山水风景画", size="16:9" # 宽屏格式 ) ``` ### 🌟 高级功能 #### 图生图(参考图生成) ```python # 单张参考图 jimeng("改为卡通风格", image="http://example.com/cat.jpg") # 多张参考图融合 jimeng( prompt="融合这些元素创造新场景", image=["url1.jpg", "url2.jpg", "url3.jpg"] ) ``` #### 📚 组图生成(重点!) 组图生成使用`auto`模式,AI会根据prompt内容自动决定生成数量: ```python # 示例1:生成3张不同时间的图片 jimeng( prompt="生成3张不同时间段的城市风景:早晨的朝阳、中午的繁忙、夜晚的灯火", sequential_image_generation="auto", max_images=3 # 设置上限为3张 ) # 示例2:生成5张不同角度的产品展示 jimeng( prompt="生成5张白色iPhone的不同角度展示:正面、背面、左侧、右侧、45度角", sequential_image_generation="auto", max_images=5 ) # 示例3:四季变化 jimeng( prompt="生成4张展示同一棵树的四季变化:春天发芽、夏天繁茂、秋天金黄、冬天雪景", sequential_image_generation="auto", max_images=4 ) ``` **重要提示:** - 在prompt中明确说明需要的数量(如"生成3张") - 详细描述每张图的内容…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.