MCP.so
登录

Leonardo AI MCP Server

@nikolausm

关于 Leonardo AI MCP Server

MCP server for Leonardo AI API - Free daily credits for AI image generation

基本信息

分类

其他

运行时

node

传输方式

stdio

发布者

nikolausm

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "leonardo-ai": {
      "command": "node",
      "args": [
        "/path/to/leonardo-ai-mcp-server/index.js"
      ],
      "env": {
        "LEONARDO_API_KEY": ""
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Leonardo AI MCP Server?

A Model Context Protocol server that provides access to Leonardo AI’s image generation API, offering 150 free image credits per day. It enables AI image generation directly from MCP-compatible clients like Claude Desktop.

How to use Leonardo AI MCP Server?

Clone the repository, install dependencies with npm install, set the LEONARDO_API_KEY environment variable, then add the server to your Claude Desktop configuration. Use tools like generate_image, check_credits, and list_models to create images, monitor credits, or browse available models.

Key features of Leonardo AI MCP Server

  • Generate high-quality images using various AI models
  • 150 free credits daily (resets at midnight UTC)
  • Support for multiple art styles and models
  • Batch generation (1–4 images at once)
  • Save images locally or get URLs
  • Check remaining credits

Use cases of Leonardo AI MCP Server

  • Create children’s book illustrations with soft pastel colors
  • Design educational posters with infographic-style layouts
  • Generate anime or cartoon-style artwork
  • Produce fantasy or dreamlike images using DreamShaper v7
  • Rapidly prototype visual concepts for creative projects

FAQ from Leonardo AI MCP Server

How do I get an API key?

Sign up at https://leonardo.ai (free), go to API settings, generate an API key, and set it as the LEONARDO_API_KEY environment variable.

How many free credits do I get?

150 credits daily, resetting at midnight UTC. Each image costs about 2 credits, giving roughly 75 images per day for free.

Which models are available?

Leonardo Diffusion XL, Leonardo Vision XL, Leonardo Anime XL, DreamShaper v7, and Realistic Vision v5.

Can I generate multiple images at once?

Yes. Use the num_images parameter to request 1–4 images in a single call.

How do I check my remaining credits?

Call the check_credits function. It returns the current credit balance.

评论

其他 分类下的更多 MCP 服务器