EverArt生成器
用于Claude桌面端的图像生成服务器,采用EverArt的API。
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"everart": {
"args": [
"-y",
"@modelcontextprotocol/server-everart"
],
"command": "npx",
"env": {
"EVERART_API_KEY": "your_key_here"
}
}
}
}
该服务需要配置环境变量:EVERART_API_KEY
可用工具 (1 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
generate_image 3 个参数 需填 1 项
Generate images using EverArt Models and returns a clickable link to view the generated image. The tool will return a URL that can be clicked to view the image in a browser. Available models: - 5000:FLUX1.1: Standard quality - 9000:FLUX1.1-ultra: Ultra high quality - 6000:SD3.5: Stable Diffusion 3.5 - 7000:Recraft-Real: Photorealistic style - 8000:Recraft-Vector: Vector art style The response will contain a direct link to view the generated image.
必填参数:prompt
服务介绍
EverArt MCP 服务器
为使用 EverArt API 的 Claude 桌面端提供的图像生成服务器。
安装
npm install
export EVERART_API_KEY=your_key_here
配置
添加到 Claude 桌面端配置:
Docker
{
"mcpServers": {
"everart": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "EVERART_API_KEY", "mcp/everart"],
"env": {
"EVERART_API_KEY": "your_key_here"
}
}
}
}
NPX
{
"mcpServers": {
"everart": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-everart"],
"env": {
"EVERART_API_KEY": "your_key_here"
}
}
}
}
工具
generate_image
生成具有多种模型选项的图像。在浏览器中打开结果并返回 URL。
参数:
{
prompt: string, // 图像描述
model?: string, // 模型 ID(默认值:"207910310772879360")
image_count?: number // 图像数量(默认值:1)
}
模型:
- 5000: FLUX1.1(标准)
- 9000: FLUX1.1-ultra
- 6000: SD3.5
- 7000: Recraft-Real
- 8000: Recraft-Vector
所有生成的图像尺寸为 1024x1024。
示例用法:
const result = await client.callTool({
name: "generate_image",
arguments: {
prompt: "一只优雅坐着的猫",
model: "7000",
image_count: 1
}
});
响应格式:
图像生成成功!
图像已在您的默认浏览器中打开。
生成详情:
- 模型:7000
- 提示词: "一只优雅坐着的猫"
- 图像 URL:https://storage.googleapis.com/...
您也可以点击上方的 URL 再次查看图像。
使用 Docker 构建
docker build -t mcp/everart -f src/everart/Dockerfile .