Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

leonardo-image

БесплатноБез исполняемых скриптовНе проверен

Create, edit, guide, upscale, and quality-control still images with Leonardo.Ai's official Production API, including native Lucid and Phoenix models, uploaded…

calesthioот calesthio★ 262 звезды на GitHub

Об этом скилле

Leonardo image production

Operate Leonardo.Ai's official Production API for still images. Keep native Leonardo models, partner models hosted by Leonardo, realtime-canvas endpoints, and legacy endpoints visibly separate: they have different routes and schemas.

Start with a production brief

Collect or propose:

  • Deliverable: subject, setting, style, composition, aspect/dimensions, output count, and acceptance criteria.
  • Operation: text-to-image, image-to-image, reference guidance, masked edit, upscale, background removal, or custom training.
  • Source media: local paths or Leonardo image IDs, whether each is uploaded or generated, and the intended role of each reference.
  • Rights: ownership/licence, likeness consent, privacy classification, and whether public visibility is allowed.
  • Runtime: direct REST, official Python SDK, or official TypeScript SDK.
  • Spend: calculator estimate, hard budget, concurrency ceiling, and whether auto-top-up is disabled.

Default to a one-image private preview at a conservative dimension. Before any paid call, state the exact route, model/model ID, settings, sample count, calculator estimate, and why. Wait for explicit approval. Never silently change model, visibility, reference method, quality mode, or sample-to-batch scope.

Evidence snapshot and boundaries

The contracts below were checked against first-party Leonardo documentation, the official SDK repositories, changelog, policies, and legal pages on 2026-07-10. Recheck them before production: Leonardo is actively moving API pricing to PAYG, adds model-specific v2 contracts, and publishes occasional conflicting examples.

This skill covers:

  • Native Leonardo still models on POST /api/rest/v1/generations.
  • Still-image references, uploaded inputs, image-to-image, current controlnets, and LCM inpainting.
  • Still-image upscalers and custom image Elements/models.

It excludes video endpoints, 3D generation, Blueprints as a general orchestration system, the Leonardo web editor itself, MCP proxies, and unofficial SDKs. Some partner image models are available inside Leonardo's API; label them as partner models and use their own v2 guide rather than treating them as Lucid/Phoenix variants.

Choose the native model deliberately

These IDs were current on the verification date:

Native model modelId Provider-described strengths Practical choice
Lucid Origin 7b592283-e8a7-4c5a-9ba6-d18c31f258b9 Versatile, prompt-responsive, broad style range, graphic/text work General ideation, stylized or designed imagery, precise briefs
Lucid Realism 05ce0082-2d80-4a2d-8653-4d1c85e2418e Photorealism, natural light, cinematic mood Portraits, products, editorial photography
Phoenix 1.0 de7d3faf-762f-48e0-b3b7-9d0ac3a3fcf3 Prompt adherence and controlled layouts Complex composition, stylized assets, multi-reference guidance
Phoenix 0.9 6b645e3a-d64f-4341-a6d8-7a3690fbf042 Earlier Phoenix behavior Reproduce an established 0.9 pipeline only

The strengths are Leonardo claims and editorial guidance, not universal benchmark results. Run a representative one-image comparison when model choice matters. Call GET /api/rest/v1/platformModels or use Get API Code to confirm availability and IDs; a documentation list is not an entitlement for every account.

Native v1 create contract

POST https://cloud.leonardo.ai/api/rest/v1/generations
Authorization: Bearer $LEONARDO_API_KEY
Accept: application/json
Content-Type: application/json

The body is case-sensitive. prompt is the only universally required field in the generic reference, but production requests should pin a model and settings. A conservative native request is:

{
  "modelId": "7b592283-e8a7-4c5a-9ba6-d18c31f258b9",
  "prompt": "Editorial product photograph of a cobalt travel mug on pale limestone, three-quarter view, soft north-window light, clear negative space on the right.",
  "negative_prompt": "warped logo, duplicate handle, illegible text, watermark",
  "width": 1024,
  "height": 1024,
  "num_images": 1,
  "contrast": 3.5,
  "alchemy": false,
  "ultra": false,
  "public": false,
  "seed": 18427
}

Current documented constraints and caveats:

  • prompt: required; generic v1 generation rejects more than 1,500 characters.
  • negative_prompt: optional generic v1 field. Use concrete visual exclusions; model adherence varies.
  • num_images: documented common range 1–8, default 4, but the accepted maximum may shrink with dimensions and features. Start at 1.
  • contrast: model guides use 3, 3.5, or 4 for low/medium/high; the generic reference exposes a wider 1–4.5 range. Use the model guide's three values unless Get API Code proves another value.
  • width, height: must be model-compatible. A common-values page says 512–1536 and multiples of 8; Lucid's official sample uses 1920×1080; the error guide says Alchemy inputs should be 32–1024 and multiples of 8
Полный SKILL.md на GitHub

Установить leonardo-image в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

EVAL.md

FAQ

Что делает скилл leonardo-image?

Create, edit, guide, upscale, and quality-control still images with Leonardo.Ai's official Production API, including native Lucid and Phoenix models, uploaded or generated references, image-to-image, ControlNet guidance, realtime-canvas inpainting, Pro and Universal upscalers, and custom Elements or models. Use for Leonardo image API implementation, async polling or webhooks, dry-run and cost governance, secure artifact handling, prompt iteration, or production troubleshooting. Do not use for Leonardo video, 3D generation, unofficial wrappers, or third-party gateway APIs.

Как установить скилл leonardo-image?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл leonardo-image запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить leonardo-image с