mcp-4o-Image-Generator
4o-image MCP 服务器
一个集成了 4o-image API 的 MCP 服务器实现,使 LLM 和其他 AI 系统能够通过标准化协议生成和编辑图像。使用简单的文本提示即可创建高质量的艺术作品、3D 角色和自定义图像。
特征
文本到图像生成:利用人工智能从文本描述创建图像
图像编辑:使用文本提示转换现有图像
实时进度更新:获取生成状态的反馈
浏览器集成:在默认浏览器中自动打开生成的图像
Related MCP server: image-generator
工具
生成图像
根据文本提示生成图像,并可选择进行图像编辑
输入:
prompt(字符串,必需):所需图像的文本描述imageBase64(字符串,可选):用于编辑或样式转换的 Base64 编码图像
配置
获取 API 密钥
在4o-image.app注册一个账户
从用户仪表板获取您的 API 密钥
运行服务器时将 API 密钥设置为环境变量
与 Claude Desktop 一起使用
将其添加到您的claude_desktop_config.json中:
{
"mcpServers": {
"4o-image": {
"command": "npx",
"args": [
"-y",
"4oimage-mcp"
],
"env": {
"API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}示例用法
以下是将此 MCP 服务器与 Claude 一起使用的示例:
Generate an image of a dog running on the beach at sunsetClaude 将使用 MCP 服务器生成图片,该图片将自动在您的默认浏览器中打开。您还会在 Claude 的回复中获得该图片的直接链接。
对于图像编辑,您可以包含一个基础图像并提示 Claude 对其进行修改:
Edit this image to make the sky more dramatic with storm clouds执照
此 MCP 服务器遵循 MIT 许可证。您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。
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
- AlicenseBqualityCmaintenanceMCP for Replicate Flux Model. Generating images by prompts7142105MIT
- AlicenseAqualityDmaintenanceMCP server for multi-provider AI image generation (AWS Bedrock, OpenAI, Google Gemini) enabling image generation, transformation, and editing through a unified interface.41MIT
- Flicense-qualityDmaintenanceProvides image generation capabilities using Google's Gemini 2.0 Flash Preview model through the MCP protocol, enabling AI assistants to generate high-quality images from text prompts.
Related MCP Connectors
MCP server for Midjourney AI image generation and editing
OCR, transcription, file extraction, and image generation for AI agents via MCP.
MCP server for Wan 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/Antipas/4oimage-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server