
Multimodal
io.github.rsmdt由 GitHub 账号 rsmdt 发布v1.3.1更新于 Oct 24, 2026
Multi-provider media generation — images, video, audio, and transcription via a unified interface
概览
本地 MCP 服务器,让助手通过 OpenAI、xAI、Gemini、ElevenLabs 或 BFL 生成图像、视频和音频,并转写语音。
- 可以做什么
- 根据文本提示生成图像,可指定宽高比、质量和提供商,并通过 OpenAI、xAI、Gemini 或 BFL(FLUX)编辑已有图像。
- 适用场景
- 适合需要助手产出媒体素材(插图、短视频、配音、音效)或转写音频文件,又不想逐个对接各提供商 API 的场景。适用于已订阅其中一个或多个提供商的内容创作流程。
- 运行要求
- 通过 npx 在本地运行(需要 Node.js)。至少需要一个提供商 API 密钥:OPENAI_API_KEY、XAI_API_KEY、GEMINI_API_KEY(或 GOOGLE_API_KEY)、ELEVENLABS_API_KEY 或 BFL_API_KEY。MEDIA_OUTPUT_DIR 可选,用于指定文件保存目录,默认当前工作目录。需要能访问所选提供商的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Multimodal,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
multimodal-mcp
Multi-provider media generation MCP server. Generate images, videos, audio, and transcriptions from text prompts using OpenAI, xAI, Gemini, ElevenLabs, and BFL (FLUX) through a single unified interface.
Features
- 🎨 Image Generation — Generate images via OpenAI (gpt-image-1), xAI (grok-imagine-image), Gemini (imagen-4), or BFL (FLUX Pro 1.1)
- ✏️ Image Editing — Edit images via OpenAI, xAI, Gemini, or BFL (FLUX Kontext)
- 🎬 Video Generation — Generate videos via OpenAI (sora-2), xAI (grok-imagine-video), or Gemini (veo-3.1)
- 🔊 Audio Generation — Text-to-speech via OpenAI (tts-1), Gemini, or ElevenLabs (Flash v2.5). Sound effects via ElevenLabs
- 🎙️ Audio Transcription — Speech-to-text via OpenAI (Whisper) or ElevenLabs (Scribe)
- 🔄 Auto-Discovery — Automatically detects configured providers from environment variables
- 🎯 Provider Selection — Auto-selects or explicitly choose a provider per request
- 📁 File Output — Saves all generated media to disk with descriptive filenames
Quick Start
Set the API key for at least one provider. Most users only need one — add more to access additional providers.
Using a different editor? See setup instructions for Claude Desktop, Cursor, VS Code, Windsurf, and Cline.
Environment Variables
Available Tools
generate_image
Generate an image from a text prompt.
generate_video
Generate a video from a text prompt. Video generation is asynchronous and may take several minutes.
generate_audio
Generate audio from text. Supports text-to-speech and sound effects. Audio generation is synchronous.
transcribe_audio
Transcribe audio to text (speech-to-text).
list_providers
List all configured media generation providers and their capabilities. Takes no parameters.
Provider Capabilities
Image Aspect Ratios
Video Aspect Ratios & Resolutions
Audio Formats
Troubleshooting
No providers configured
Set at least one of OPENAI_API_KEY, XAI_API_KEY, GEMINI_API_KEY, ELEVENLABS_API_KEY, or BFL_API_KEY in the MCP server's env block.
Provider not available for requested media type
Each provider supports different media types (see Provider Capabilities). If you specify a provider that isn't configured (no API key) or doesn't support the requested media type, you'll receive an error. Omit the provider parameter to auto-select from configured providers.
Video generation timeout
Video generation polls for up to 10 minutes. If your video hasn't completed in that window, the request will fail with a timeout error. Try a shorter duration or a simpler prompt.
xAI image generation returned no data
This indicates the xAI API returned an empty response. Check that your XAI_API_KEY is valid and that your prompt does not violate xAI content policies.
Gemini image/video generation failed: 403
Verify your GEMINI_API_KEY has the Generative Language API enabled in Google Cloud Console.
Development
Editor Setup
Replace OPENAI_API_KEY with your provider of choice (XAI_API_KEY, GEMINI_API_KEY, ELEVENLABS_API_KEY, BFL_API_KEY). You can set multiple keys to enable multiple providers.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Cursor
Add to .cursor/mcp.json in your project root (or ~/.cursor/mcp.json globally):
VS Code (GitHub Copilot)
Add to .vscode/mcp.json in your project root:
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
Cline
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json:
License
MIT
来源:README.md,提交 f37b30d
工具
0版本历史
1- v1.3.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分