К основному содержанию
скилл CX Codex

scenario-luma-image — скилл для Claude Code: генерация и правка

Скилл для генерации и правки изображений моделями Luma Uni-1 через Scenario MCP. Пригодится, когда нужны постеры с точным текстом, стилизованные сцены или правки по промпту.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add scenario-labs/skills --skill scenario-luma-image -a claude-code
Открыть на GitHub

Что делает scenario-luma-image

Скилл описывает контракт моделей Luma Uni-1 на Scenario: каждая модель одновременно работает как text-to-image и image-to-image. Передали source — запустился режим правки, не передали — генерация с нуля. От того, куда попала картинка, в source или в imageRef, зависит больше, чем от формулировки промпта.

Модели рассуждают о свете и композиции до рендера, поэтому один прогон занимает минуту-две. Поля у всех тиров одинаковые по названиям, но лимиты и цены различаются. Максимум референсов у Max-тира на момент написания — 9, у стандартного — 8, при правке source занимает один из этих слотов. prompt принимает до 6000 символов, aspectRatio — девять значений от 1:3 до 3:1, по умолчанию 3:2. Полей seed, mask, размера в пикселях и количества в батче нет.

Каждый референс увеличивает стоимость, поэтому после смены их числа стоит пересчитать через dry_run. Max-тир при почти одинаковых публичных рейтингах обходился примерно в два с половиной раза дороже стандартного за одно 2K-изображение — повод прогнать один и тот же запрос через оба тира до запуска пачки. webSearch по умолчанию выключен, включайте его, когда промпт называет реальное место или продукт.

Какие задачи решает

  • Сгенерировать изображение по текстовому описанию
  • Отредактировать существующую картинку по промпту, сохранив часть сцены
  • Вписать точный текст заголовка в постер
  • Держать персонажа одинаковым между итерациями через канонический референс
  • Подобрать тир модели под бюджет до запуска пачки

Примеры запросов агенту

  • Сгенерируй постер путешествия с текстом «KYOTO» сверху, используй палитру из этого файла
  • Поменяй в этой картинке куртку на синюю, а фон оставь как есть
  • Сделай персонажа в стиле первого референса, позу возьми из второго

Как установить scenario-luma-image

1Через Skills CLI (Vercel)

npx skills add scenario-labs/skills --skill scenario-luma-image -a claude-code

2Вручную: положить файлы

~/.claude/skills/scenario-luma-image/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/scenario-luma-image/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Из того же набора68

scenario-ideogram Скилл для генерации и правки изображений моделями Ideogram на Scenario через MCP: текст на постерах, прозрачный PNG, замена фона. CX Codex +1 381установок scenario-seedream Помогает генерировать и редактировать изображения через модели Seedream от ByteDance на платформе Scenario. Поддерживает разделение на слои и сохранение прозрачности. CX Codex +1 372установок scenario-gemini-omni Скилл для работы с видео Gemini Omni на Scenario через MCP: генерация по тексту, оживление первого кадра, единый персонаж по референсам, продление и перестилизация клипа. CX Codex +1 378установок scenario-minimax-video Скилл для генерации и монтажа видео на моделях MiniMax Hailuo через Scenario: текст в видео, якорные кадры, замена людей, вставка сцен. CX Codex +1 375установок scenario-reve Управляет генерацией и текстовой правкой картинок через модели Reve v2.1 и Reve Remix в Scenario по протоколу MCP. Помогает менять детали без масок и собирать коллажи. CX Codex +1 367установок scenario-mai-image Скилл для работы с моделями Microsoft MAI Image на Scenario через MCP: генерация по тексту и правка изображений по инструкции. CX Codex +1 375установок scenario-luma-video Управляет генерацией и обработкой видео через модели Luma Ray на платформе Scenario. Помогает создавать ролики по тексту, дорисовывать края при смене пропорций и стилизовать сцены. CX Codex +1 366установок scenario-grok-imagine-video Скилл для генерации и редактирования видео моделями Grok Imagine на платформе Scenario через MCP. Пригодится, когда нужен текст-в-видео, анимация кадра или продолжение клипа. CX Codex +1 372установок

Похожие

gpt-image-2 prime-skills Генерирует и редактирует изображения через OpenAI GPT Image 2 на RunComfy. Точно встраивает текст, логотипы и многоязычную типографику — для e-commerce, рекламы и UI-макетов. CX Codex +1 84 300установок p-image 101-skills Скилл гоняет модели Pruna P-Image из терминала: текст в картинку, правка готовых изображений, стили LoRA и склейка нескольких картинок в одну. CX Codex +1 12 400установок qwencloud-image-generation QwenCloud Скилл для генерации и правки изображений моделями Wan и Qwen Image прямо из агента: текст в картинку, стилизация, работа с референсами. CX Codex +1 1 600установок image-gen marswaveai Скилл генерирует изображения по текстовому описанию через CLI ListenHub: выбираете модель, разрешение, пропорции и получаете файл. CX Codex +1 1 200установок pixverse-ai-image-and-video-generator PixVerseAI Скилл подключает PixVerse CLI к агенту: генерация и правка картинок, видео, озвучки и музыки прямо из чата. CX Codex +1 1 000установок image-generation PostPlusAI Разбирает запрос на изображение: определяет класс задачи, модель и правила референсов, а затем передаёт готовое задание исполнителю. CX Codex +1 703установок

Рядом в теме «Настройка агента: память, контекст, субагенты»

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →

Вопросы о scenario-luma-image

Как установить scenario-luma-image в Claude Code?

Выполните npx skills add scenario-labs/skills --skill scenario-luma-image -a claude-code. Скилл появится в ~/.claude/skills/scenario-luma-image/SKILL.md.

Что делает scenario-luma-image?

Учит агента работать с моделями Luma Uni-1 на Scenario через MCP: генерировать изображения, править их по промпту, использовать референсы с ролями, включать веб-поиск для реальных объектов и выводить точный текст в постерах.

Есть ли у Uni-1 поле seed или размер в пикселях?

Нет. Размер задаётся только через aspectRatio, повторить идентичный прогон нельзя. Ограничения по референсам, промпту и форматам смотрите через model_schema_get для конкретного тира.

Исходный текст

SKILL.md · MIT
---
name: scenario-luma-image
description: "Use when generating or editing images with Luma Uni-1 models on Scenario via MCP: text-to-image, prompt-based editing of an existing image, style or character reference images with named roles, web search grounding for real-world subjects, rendering exact title text into posters, aspect ratio control, or choosing between Uni-1 Max and Uni-1. Keywords: Luma Labs, Uni-1, Photon, txt2img, img2img, image edit, reference images, webSearch, reasoning image model."
license: MIT
---

# Scenario Luma Image

## Overview

Uni-1, Luma Labs' image family on Scenario, folds generation and editing into one contract: every
member is both `txt2img` and `img2img`, and passing a `source` image is what flips the run into edit
mode, so where each image lands (source versus reference) decides more than prompt wording. These
are reasoning models that plan lighting and composition before rendering, so a run takes a minute or
two, not seconds. Discover members with `search` and treat `model_schema_get` as the contract: the
tiers share every field name and disagree on caps and price. Luma's video models are the
`scenario-luma-video` skill's domain.

Connection and the core loop: see the `scenario` skill in this repo; model-agnostic image work
(sizing families, masks, batch fields): the `scenario-image` skill. If a sibling skill named here is
missing from your available skills, ask the user to install it
(`npx skills add scenario-labs/skills --skill <name>`); unattended, proceed from tool schemas and
flag the gap.

## Quick reference

Mode follows from the inputs (names from the live schema):

| Mode   | Inputs                             | Behavior                                                                            |
| ------ | ---------------------------------- | ----------------------------------------------------------------------------------- |
| Create | `prompt` (+ `imageRef`)            | full scene from the prompt; `aspectRatio` honored, default 3:2                      |
| Edit   | `source` + `prompt` (+ `imageRef`) | prompt states the change; output keeps the source ratio unless `aspectRatio` is set |

`imageRef` is an array of guiding images and combines with `source`. Caps are per member: at
authoring time the Max hit took 9 references and the standard 8, with the source occupying one of
those slots when editing; both took a 6000 character `prompt`, nine `aspectRatio` values from 1:3 to
3:1, and `outputFormat` png (default) or jpeg. Each reference adds cost, so re-estimate with
`dry_run` after changing the count. `webSearch` (default false) has the model fetch real-world
visuals before generating: enable it when the prompt names a real place, product, or style the model
may not know. No seed, mask, pixel-size, or batch-count field exists: sizing is the ratio alone,
masked edits belong to other models, and identical re-runs cannot be pinned, so change one thing per
iteration. At authoring time the Max tier cost roughly two and a half times the standard for one 2K
image despite near-identical public arena ratings, so `dry_run` the same job on both before a batch.

## References work by role

The model follows a reference reliably only when the prompt says what to take from it: character
likeness, style, composition, color palette, lighting, texture, or mood. Unlabeled references get
guessed at, and there is no adherence slider; influence rises with prompt specificity ("use the
first reference for the exact colorway and stitching"). Roles stack across references, one each.
Reusing one canonical reference across iterations is what holds a character steady.

## Create prompts describe, edit prompts preserve

Create prompts read as one scene in natural prose: subject, setting, lighting, mood, style, and
always name the lighting, the single biggest quality lever. For text in the image, put the exact
string in quotes; rendered text is a family strength, and the Max tier's advertised edge is accurate
non-Latin scripts, not Latin text generally. Edit prompts are surgical: state the change first, then
pin what must not move ("Change X to Y. Keep Z exactly as it is."). One scene or one change per run.

## Worked example: a travel poster with rendered title text

1. `search` with `target="models"`, `query="luma uni"`, `public=true`. Prefer the newest
   non-deprecated hit, e.g. `model_luma-uni-1-max` (a live hit at authoring time: re-discover each
   session).
2. `model_schema_get` with that id: reference cap, ratio list, and defaults before anything else.
3. `upload_asset` the palette reference (see the `scenario` skill) to get its asset id.
4. `model_run` with that `model_id`, `dry_run=true`, and the exact
   `parameters={"prompt": "A travel poster of Kyoto in autumn, a pagoda above red maples, warm golden hour light, flat-print texture. Use the reference for color palette and print grain. The title text \"KYOTO\" in bold serif across the top.", "imageRef": ["asset_a"], "aspectRatio": "2:3", "webSearch": true}`
   (a real place is named, so ground it).
5. Repeat `model_run` with `wait=false`, then `jobs_wait` with the returned job id, re-called with
   `pending_job_ids` on timeout. The model reasons before rendering (median latency near 90 seconds
   at authoring time), so a timeout is not a failure and never justifies a second `model_run`.
6. `asset_display` to check the title spelling and palette, then `asset_download` to save.

## Common mistakes

- A style reference passed as `source`: that flips the run into edit mode and the output hugs the
  reference. References go in `imageRef`; `source` is only the image being changed.
- Unlabeled references: name each one's role in the prompt or the model guesses which to follow.
- An edit prompt with no preservation clause: whatever is not pinned is fair game.
- Expecting a square by default: create mode defaults to 3:2, so set `aspectRatio` explicitly.
- Hunting for `seed`, `mask`, `width`, or a batch count: none exist at authoring time; read
  `model_schema_get` instead of assuming.
- Carrying the Max member's reference cap or price to the standard one: they share field names, not
  numbers.

© scenario-labs · MIT · scenario-labs/skills

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой