Connect Leonardo.Ai to Your AI Agent

Describe the image and choose a model with compatible settings before submitting a generation request.

3 tools API key

Try a Leonardo.Ai Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill Leonardo.Ai

Generate an Image from a Description

Choose a suitable image model, submit its parameters, and retrieve image links when ready.

/oo Leonardo.Ai: List Leonardo.Ai models and choose an image model suitable for [image description]. Use its parameter definitions to request [image size and count], keep the assets private, then check the job and provide image URLs when completed.

Start Working with Leonardo.Ai

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect Leonardo.Ai

    Connect your Leonardo.Ai production API key.

    Connect Leonardo.Ai →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • A key from the official API Access page and account access to the chosen model.
  • Generation is asynchronous and can consume API credits. A submitted job ID is not a completed image.

Leonardo.Ai Tools

The connection lists production models and their parameter definitions, submits model-specific generation jobs, and reads job status with normalized image results.

Models and Generation Requests

Inspect model-specific settings and submit a generation job with a chosen visibility setting.

Job Status and Image Links

Read a generation’s status and image URLs when supplied.

3 tools

List Models

List Leonardo.Ai production API models and their model-specific parameter schemas.

leonardo_ai.list_models

Create Generation

Create a Leonardo.Ai image, video, audio, or 3D generation job using JSON model parameters.

leonardo_ai.create_generation

Get Generation

Retrieve a Leonardo.Ai generation job status and normalized generated image URLs.

leonardo_ai.get_generation

Frequently Asked Questions

Do all models accept the same settings?

No. Use the model list and the chosen model’s parameter definitions rather than reusing settings blindly across models.

What if the job has no images yet?

Check its status. It may still be pending or processing; read the same generation ID again rather than submitting another job solely because images are absent.

Can I assume video or audio jobs have the same result handling?

The submission accepts model-specific generation parameters, but the result action currently normalizes image URLs. Confirm the model and output path before requesting another media type.

Connect Leonardo.Ai

About Leonardo.Ai ↗