Integration

Leonardo AI integration

AI art generation platform with fine-tuned models for consistent and stylized imagery. Generate images with trained custom models, maintain character consistency, create product visualizations, and produce game assets. Ideal for creative professionals requiring control over artistic style and output quality.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Leonardo AI.Built from the 15 Leonardo AI tools below, on the connection you add once.

Common Leonardo AI use cases

  • Image URL retrieval
  • Print preparation
  • Async result polling
  • High-res exports
  • Asset management
  • Detail enhancement
  • API integration
  • Status monitoring
  • Model selection
  • Gallery building

What you can do with Leonardo AI

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Image, 5 operations

  • create_universal_upscaleCreate universal upscalePOSTUpscales any image to higher resolution using the Universal Upscaler with configurable multiplier.
  • create_variation_nobgCreate variation nobgPOSTRemoves the background from a generated image, producing a transparent PNG.
  • create_variation_upscaleCreate variation upscalePOSTUpscales Leonardo-generated images to higher resolutions with AI-enhanced detail.
  • get_init_imageGet init imageGETRetrieves a single init image's details by its ID, including URL and creation date.
  • upload_init_imageUpload init imagePOSTUploads initialization images for image-to-image generation workflows.

Generation, 4 operations

  • create_generationCreate generationPOSTCreates AI-generated images from text prompts with extensive customization and Leonardo's Alchemy engine.
  • delete_generationDelete generationDELETEPermanently deletes a generation and its associated images from the platform.
  • get_generationGet generationGETRetrieves a specific generation's status, metadata, and image URLs by generation ID.
  • list_generationsList generationsGETLists all generations for a specific user with pagination support.

Variation, 2 operations

  • create_variation_unzoomCreate variation unzoomPOSTCreates outpainted variations by zooming out from generated images to expand canvas.
  • get_variationGet variationGETRetrieves a specific variation's status and result by its ID.

Element, 1 operation

  • list_elementsList elementsGETRetrieves list of public elements (LoRAs) available for image generation customization.

Model, 1 operation

  • list_platform_modelsList platform modelsGETRetrieves catalog of available Leonardo platform models for image generation.

Texture, 1 operation

  • create_textureCreate texturePOSTGenerates AI-powered textures for 3D models based on text prompts and asset references.

User, 1 operation

  • get_userGet userGETRetrieves authenticated user's account information including token balances and subscription details.

Use Leonardo AI from Claude Code, Cursor or Codex

Connect Leonardo AI in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Leonardo AI operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Leonardo AI

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Leonardo AI once

    Add your Leonardo AI connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Leonardo AI integration FAQ

What can you do with the Leonardo AI integration?

LiveContext exposes 15 operations on Leonardo AI, covering image, generation, variation and element. Common uses include Image URL retrieval, Print preparation and Async result polling.

Popular integrations

Browse the whole catalog