Weavz
Leonardo AI

Leonardo AI

AI image generation platform with multiple models and creative controls

4 tools
1 trigger
Use withChatGPTClaudeClaude CodeCursorCodexMCP clientsSetup guide

Tools

Name
generate_image

Generate images using Leonardo AI models

get_generation

Get the status and results of a generation by ID

list_models

List available Leonardo AI platform models

custom_api_call

Make a custom API call to the Leonardo AI API

Triggers

Name
generation_completed

Triggers when an image generation is completed in Leonardo AI

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('leonardo-ai', 'generate_image', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'leonardo-ai',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect Leonardo AI to my app?

Use Weavz Hosted Connect for API Key authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.

What tools does Leonardo AI support?

Leonardo AI supports 4 tools including Generate Image, Get Generation, List Models, Custom API Call.

Can I use Leonardo AI with AI agents?

Yes. Add Leonardo AI to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

How do I connect Leonardo AI to ChatGPT or Claude?

Open the Weavz connector setup, sign in, choose a workspace, and add Leonardo AI as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped Leonardo AI tools exposed by that workspace.

Does Leonardo AI work with Claude Code, Cursor, Codex, and local agents?

Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved Leonardo AI work, and execute Code Mode workflows from a terminal.

What can I ask an AI agent to do with Leonardo AI?

Leonardo AI exposes 4 tools, including Generate Image, Get Generation, List Models, Custom API Call. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.

Can Leonardo AI be used in stateful agent workflows?

Yes. Agents can combine Leonardo AI tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does Leonardo AI use?

Leonardo AI uses API Key. Weavz stores credentials securely and uses them for authorized action execution.

How much does the Leonardo AI integration cost?

The Leonardo AI integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

What triggers does Leonardo AI support?

Leonardo AI supports 1 triggers including Generation Completed.

Connect Leonardo AI in minutes

Get 20,000 free action executions every month. No credit card required.