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

scenario-grok-imagine-image — скилл для Claude Code: запуск

Генерирует и редактирует изображения через модели Grok Imagine на Scenario. Пригодится для постеров, баннеров и упаковок с чётким текстом в кадре.

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

Что делает scenario-grok-imagine-image

Скилл управляет генерацией и редактированием картинок через линейку моделей xAI Grok Imagine на платформе Scenario. Он работает через MCP-инструменты search, model_schema_get и model_run. Режим работы зависит от параметров: если список referenceImages пустой, запускается генерация по тексту, а при передаче до трёх ID исходных картинок модель переходит в режим правок.

В семействе есть три модели: Image, Quality и 2.0. Они поддерживают пропорции до 20:9 и 9:20, разрешения 1k и 2k, а также пакетную генерацию от 1 до 10 вариантов. Масок, сидов и негативных промптов в семействе нет совсем. Главная сила моделей — чёткий рендеринг типографики. Чтобы текст на постерах не плыл, любые надписи нужно брать в кавычки и указывать прямо в промпте.

При редактировании параметр aspectRatio полностью игнорируется, поэтому менять пропорции исходника придётся заранее. Для работы скилла требуется базовый скилл scenario, отвечающий за сессию и загрузку файлов.

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

  • сгенерировать постер или упаковку с точными надписями
  • изменить изображение по текстовой инструкции без масок
  • подобрать пропорции от 20:9 до 9:20 под широкоформатные баннеры
  • прогнать серию до 10 вариаций одного промпта в 1k или 2k

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

  • Сделай постер напитка с надписью 'LUMEN' белым шрифтом через модель Grok Imagine 2.0 в разрешении 2k
  • Добавь этикетку на фото бутылки из asset_abc, сохранив освещение и фон без изменений
  • Сгенерируй баннер 20:9 в Grok Imagine Quality в трёх вариантах

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

1Через Skills CLI (Vercel)

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

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

~/.claude/skills/scenario-grok-imagine-image/SKILL.md

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

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

Вопросы о scenario-grok-imagine-image

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

Выполните команду npx skills add scenario-labs/skills --skill scenario-grok-imagine-image -a claude-code в терминале.

Что делает скилл scenario-grok-imagine-image?

Он управляет моделями xAI Grok Imagine через платформу Scenario для создания картинок по тексту и редактирования готовых файлов по инструкциям.

Как устроено редактирование изображений без масок?

Скилл передаёт до трёх картинок в referenceImages и текстовую инструкцию с описанием изменений. Модель наследует пропорции оригинала и игнорирует параметр aspectRatio.

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

SKILL.md · MIT
---
name: scenario-grok-imagine-image
description: "Use when generating or editing images with Grok Imagine models on Scenario via MCP: text-to-image, instruction editing with up to three reference images, posters, packaging, ads, or infographics with exact in-image text, photoreal shots from camera and lighting cues, extended aspect ratios up to 20:9 and 9:20, quality and resolution tiers, or batches of variations. Keywords: Grok Imagine Image 2.0, Image Quality, xAI, Aurora, Grok, txt2img, img2img, typography, 2K."
license: MIT
---

# Scenario Grok Imagine Images

## Overview

Grok Imagine, xAI's image family on Scenario, puts generation and editing in every member: the same
model reads an empty `referenceImages` as text-to-image and a filled one as an edit, so the inputs
pick the mode and the member picks the tier. Members ship side by side, agreeing on the prompt
contract and disagreeing on knobs and price, so discover them with `search` and treat
`model_schema_get` as the contract. The Grok Imagine video members belong to the
`scenario-grok-imagine-video` skill.

Connection and the core loop: see the `scenario` skill; model-agnostic image work: 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

At authoring time (caps are per member, read the live schema):

| Member  | Aspect ratios                               | Notes                                                  |
| ------- | ------------------------------------------- | ------------------------------------------------------ |
| 2.0     | 14 values up to 20:9 and 9:20, default auto | adds `quality` (low, medium); strongest text and edits |
| Quality | same 14, default 1:1                        | fast at 2k; price near flat across variants            |
| Image   | 10 values, 2:1 through 1:2                  | cheapest per image                                     |

The rest is shared: `prompt` up to 10000 characters, `referenceImages` capped at 3, `numOutputs` 1
to 10, `resolution` at 1k or 2k. No seed, mask, negative prompt, or pixel sizing exists anywhere in
the family: size is ratio times resolution tier, and `aspectRatio` decides what is in frame, not
just the crop. In editing mode `aspectRatio` is ignored entirely and the output follows the source's
proportions. The price spread is why the older members stay live: one image on the unversioned
member cost a fraction of a versioned run at authoring time, and 2.0's 2k text-to-image ran well
over a minute where the others took seconds. So iterate cheap and fast (the unversioned member, or
2.0 at `quality: "low"` and 1k), spend a medium 2k run on keepers, and `dry_run` two members on the
same job before a batch: `numOutputs`, `quality`, `resolution`, and references all move price.

## Write the copy, not a vibe

The family's edge is legible in-image text: posters, packaging, infographics, memes. It only pays
when the prompt carries the copy verbatim: wrap every literal string in quotes, give each a role
("the title reads ...", "a line beneath reads ..."), keep strings short, and close with "no other
text", or the model invents extra labels. Real numbers and statistics go in as quoted copy too,
since invented figures look plausible. Render small type at 2k and proofread in `asset_display`
before building on the result. For the rest, write a short natural-language brief, subject, setting,
composition, light, finish, in 30 to 80 words: quality adjectives ("8K", "masterpiece") are ignored
and negatives mostly too, so state positives ("clean empty background", not "no clutter") and keep
one aesthetic per prompt.

## Edits are instructions, no mask exists

Editing is prompt-driven: pass up to three `referenceImages` and describe the change. Two habits
keep it surgical: describe only what changes and name what stays ("keep the pose, background, and
lighting unchanged"), and chain one edit per run instead of stacking several. With more than one
reference, state each image's role (subject, style, scene) so the blend lands where intended. The
output inherits the source's proportions, so reframe before the edit, never with `aspectRatio`.

## Worked example: a branded label onto a product photo

1. `search` with `target="models"`, `query="grok imagine image"`, `public=true`. Prefer the newest
   non-deprecated hit, e.g. `model_xai-grok-imagine-image-2-0` (a live hit at authoring time:
   re-discover each session).
2. `model_schema_get` with that id: the reference cap, `quality` and `resolution` values, and the
   ratio list before anything else.
3. `upload_asset` the product photo (see the `scenario` skill) to get its asset id.
4. `model_run` with that `model_id`, `dry_run=true`, and the exact
   `parameters={"prompt": "Add a minimalist front label to the bottle where the title reads \"LUMEN\" in a clean white serif and a smaller line beneath reads \"Sparkling Citrus Soda\". Keep the bottle shape, glass tint, background, shadows, and lighting unchanged, no other text.", "referenceImages": ["asset_abc"], "quality": "medium", "resolution": "2k"}`;
   re-estimate after any change to `quality`, `resolution`, `numOutputs`, or references.
5. Repeat `model_run` with `wait=false`, then `jobs_wait` with the returned job id, re-called with
   `pending_job_ids` on timeout, never a second `model_run`.
6. `asset_display` and proofread the label at full size, then `asset_download` the keeper.

## Common mistakes

- Setting `aspectRatio` on an edit: it is ignored and the output keeps the source's proportions;
  reframe the source first.
- Describing copy loosely ("a catchy tagline"): text comes back garbled or invented; quote exact
  strings and end with "no other text".
- Negative prompts: largely ignored; state the positive instead.
- A bare string where the schema says array: one reference still goes as `["asset_x"]`.
- Carrying `quality` beyond 2.0: at authoring time no other member had the field; check the live
  schema before reusing parameters across members.
- Fine print at 1k: small type blurs; render text-heavy finals at 2k.

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

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

Всё по теме «ИИ и ML» →
ai-image-generation prime-skills Скилл создаёт изображения по тексту и редактирует их через RunComfy CLI. Он выбирает модель по задаче: например, для точного текста на постере или фотореалистичного портрета. CX Codex +1 383 000установок image coreyhaines31 Скилл для маркетинговых изображений: генерация через ИИ, правка готовых картинок, подбор инструмента и оптимизация под веб. CX Codex +1 87 300установок gpt-image-2 prime-skills Генерирует и редактирует изображения через OpenAI GPT Image 2 на RunComfy. Точно встраивает текст, логотипы и многоязычную типографику — для e-commerce, рекламы и UI-макетов. CX Codex +1 84 300установок baoyu-image-gen JimLiu Генерация картинок через API OpenAI, Google, DashScope и других сервисов из агента. Подходит для отрисовки по референсам и параллельной пакетной генерации. CX Codex +1 33 600установок seo-image-gen AgriciDaniel Генерирует OG-картинки, обложки статей, фото товаров и инфографику через Gemini. Пригодится, когда SEO-изображение нужно создать прямо из агентной среды. CX Codex +1 6 100установок videoagent-image-studio wells Скилл даёт доступ к Midjourney, Flux, Ideogram и ещё пяти моделям через один интерфейс, без необходимости хранить API-ключи. Агент сам выбирает подходящую модель и справляется с асинхронностью Midjourney. CX Codex +1 5 600установок

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

scenario-seedance-storyboard Скилл выстраивает раскадровку и связывает позы между кадрами для генерации видео в Seedance. Спасает от телепортации конечностей и сброса движения при склейках в танцах или драках. CX Codex +1 377установок scenario-blender-retopology Помогает превратить плотный скульпт, скан или AI-меш в аккуратную топологию в Blender: петли, полюса, Shrinkwrap, подготовка лоу-поли под запекание. CX Codex +1 384установок scenario-minimax-music Управляет генерацией песен и треков через модели MiniMax на Scenario. Помогает писать музыку со словами по структуре, делать минусовки или менять жанр загруженного трека. CX Codex +1 374установок scenario-kling Скилл для генерации и монтажа видео на моделях Kling через MCP Scenario: текст в видео, оживление кадра, липсинк, motion control. Пригодится, когда агент должен сам подобрать модель и запустить рендер. CX Codex +1 382установок scenario-blender-sculpting Скилл ведёт агента через лепку головы, лица или бюста в Blender: блокаут из примитивов, плоскости челюсти и скул, финальные рендеры. CX Codex +1 382установок 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установок

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

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