AI and media
AI agents that use Leonardo.Ai
UtilitySpaces gives an AI agent scoped access to Leonardo.Ai through its own encrypted connection, not your password. The agent can call 3 named Leonardo.Ai tools, and the one that writes waits for a person's approval unless an admin has set the connection to run without asking. Every call is written to a hash-chained audit log with its arguments and its result.
What an agent can do in Leonardo.Ai
Generate images with Leonardo.Ai and track generation status. An agent calls these by name, and matching is exact.
| Tool | What it does | Waits for approval by default |
|---|---|---|
| Get account | Get the account's user details and remaining tokens. | No — read only |
| Generate image | Start an image generation (billed run). Returns a generation id — poll get_generation for the finished images. | Yes — it writes |
| Get generation | Get a generation's status and image URLs. | No — read only |
2 read tools, 1 write tool. Generated from the connector catalogue the product runs on, so it cannot list a tool that does not exist.
What teams hand an agent in Leonardo.Ai
Design teams hand an agent the generation queue in Leonardo: Get account reports the user and the tokens left, Generate image starts a run, and Get generation collects the finished image URLs. Generation is a billed write, so it waits for a person to approve it unless an admin has set this connection to run without asking.
- Check remaining tokens before a batch of image work is planned against the account.
- Start an image generation and post the image URLs into the thread when they are ready (billed; after a person approves it)
- Answer whether the images are done by polling the generation instead of watching the dashboard.
What waits for a person
Reads run on their own. These do not — each one waits in Approvals for an owner or admin unless an admin has set this connection to run writes without asking, and every call toLeonardo.Ai, approved, rejected or unattended, is logged.
- Generate image POST
What connecting Leonardo.Ai takes
Leonardo.Ai uses an API key you create in Leonardo.Ai and paste in once. A workspace admin sets the connection up; the fields are:
- API Key
Credentials are encrypted and bound to your workspace, never read back, and every outbound call passes one guarded fetch — the connector security posture sets out exactly how, and the security page covers the platform around it.
Where Leonardo.Ai fits
Give an agent Leonardo.Ai work by writing a message in the inbox, or put its tools in a scheduled flow. What the run cost is on the cost breakdown.
Other ai and media integrations: AnythingLLM, AssemblyAI, D-ID. Or see every application agents can connect to.
See it doing your actual work
Open a demo workspace, connect one app, and give an agent a real job. No card, no sales call.
We reply to every message within one business day.