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

image-generation · sanky369 — скилл для Claude Code: что делает и как установить

Скилл image-generation превращает расплывчатые запросы в детальные спецификации промптов и генерирует изображения через FAL.ai и модель nano-banana-pro.

MIT 113 установок ★ 39 обновлён 2026-07-12

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

Что делает image-generation

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

Для продуктовых съёмок, графики под соцсети и логотипов предусмотрены отдельные родственные скиллы. Соотношение сторон подбирается под целевой формат, например, 16:9 для превью или 9:16 для историй.

Скрипт автоматизации docs/creative_cli.py запускает генерацию на модели fal-ai/nano-banana-pro только при наличии ключа FAL_API_KEY. Без заданного ключа агент выдаёт готовую спецификацию и команду для самостоятельного вызова в терминале.

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

  • составить точный промпт для обложки или баннера
  • подобрать соотношение сторон и композицию под формат площадки
  • сформировать несколько контрастных вариантов для ключевого визуала
  • запустить генерацию через fal-ai/nano-banana-pro при наличии FAL_API_KEY

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

  • Сделай иллюстрацию для hero-блока лендинга об облачном бэкапе
  • Напиши промпт и спецификацию для превью статьи о микросервисах
  • Сгенерируй концепт-арт футуристической серверной комнаты в неоновом освещении

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

1Через Skills CLI (Vercel)

npx skills add sanky369/vibe-building-skills --skill image-generation -a claude-code

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

~/.claude/skills/image-generation/SKILL.md

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

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

Вопросы об image-generation

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

Выполните команду npx skills add sanky369/vibe-building-skills --skill image-generation -a claude-code. Файл сохранится по пути ~/.claude/skills/image-generation/SKILL.md.

Что делать, если переменная FAL_API_KEY не задана?

Скилл не выдумывает результат, а выводит блок Prompt Spec с полным текстом промпта, параметрами разрешения и готовой командой CLI для ручного запуска.

Какая модель используется для генерации файлов?

Автоматизация репозитория работает исключительно с моделью fal-ai/nano-banana-pro через скрипт docs/creative_cli.py.

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

SKILL.md · MIT
---
name: image-generation
description: "Turns any request for an AI-generated image into precise, generation-ready prompt specs and — when the FAL.ai automation is configured — the generated files themselves, using the single model fal-ai/nano-banana-pro. Use whenever the user asks to 'generate an image', 'make a picture of X', 'create a thumbnail / hero image / illustration / infographic', 'write me a prompt for this image', or any visual that isn't specifically product photography, a social-platform graphic, or a brand mark (hand those to the sibling skills). Produces one prompt-spec block per asset (subject, style, composition, lighting, mood, aspect ratio, negative constraints) plus file-naming and variant conventions, and runs docs/creative_cli.py to generate when a FAL_API_KEY is available."
---

# Image Generation

Convert a fuzzy image request into prompt specs precise enough that any competent
image model — and specifically `fal-ai/nano-banana-pro` on FAL.ai, the one model
this repo's automation uses — renders what the user actually pictured. The prompt
spec is the deliverable; generated files are the bonus when the automation is
configured. **Prime rule: never generate from a vague prompt.** A weak prompt
costs a generation credit and teaches you nothing; a sharp spec is reusable
forever.

## When to use / when not to

Use for general-purpose images: hero images, illustrations, thumbnails,
infographics, textures, concept art, any one-off visual. Hand off instead when
the request is really:

- **Product shots for commerce/marketing** → `skills/creative/product-photography`
- **Platform-sized social content** → `skills/creative/social-graphics`
- **Logos, icons, patterns, brand marks** → `skills/creative/brand-asset`
- **No visual direction exists yet and consistency matters** → run
  `skills/creative/creative-strategist` first and consume its style block
- **A whole multi-asset campaign** → `skills/creative/orchestrator` routes it

## Intake

Ask in one batch, only what's missing:

1. **Subject** — what exactly is in the image? (object, scene, people, text?)
2. **Use** — where does it go? (this decides aspect ratio and resolution)
3. **Style anchor** — existing style guide / creative-strategist style block,
   reference images, or 3 adjectives for the mood?
4. **Automation** — is `FAL_API_KEY` set so you can generate, or deliver specs only?

Infer, don't ask: aspect ratio from the stated destination (thumbnail → `16:9`,
story → `9:16`, feed → `1:1` or `4:5`); resolution from stakes (`2K` default,
`4K` hero/print, `1K` drafts). **Don't stall:** if subject and use are clear,
state your assumptions for the rest and proceed.

## Workflow

1. **Check for a style block.** If the user has run
   `skills/creative/creative-strategist`, reuse its style block verbatim in every
   prompt. If not, and this is a one-off, derive a minimal one (style + palette +
   mood) from context and label it an assumption.
2. **Draft the prompt with the 5-part formula.** Every prompt contains, in order:
   **subject** (the main thing, specific: "a luxury leather watch with gold
   accents", never "a watch") → **descriptive detail** (materials, colors, text
   to render) → **style** ("professional product photography", "flat modern
   illustration", "photorealistic") → **technical treatment** (lighting,
   composition, focus, "4K, highly detailed") → **mood** ("warm and inviting").
   Add negative constraints as plain prohibitions ("no text overlay", "no
   watermark", "no busy background").
3. **Decide variant strategy.** If it's a throwaway draft → 1 image at `1K`. If
   it's a keeper asset → propose 3–4 genuinely distinct prompt specs (different
   composition or style angle, not synonym swaps), generate 1 of each or
   `num_images` 3–4 of the winner, and have the user pick. Never present one
   option for a hero asset.
4. **Generate or deliver.** If `FAL_API_KEY` (or `FAL_KEY`) is set:

   ```bash
   python docs/creative_cli.py custom \
     --category "<category>" --name "<asset-name>" \
     --prompt "<full prompt>" \
     --aspect-ratio 16:9 --resolution 2K --num-images 3
   ```

   Use `--web-search` only when the image must reflect current real-world data
   (e.g. "2026 trends infographic"). If no key is set, deliver the prompt-spec
   blocks and the exact command the user can run later — do not fake results or
   claim images were generated.
5. **Review and iterate.** Compare output to the spec's mood/style/negative
   constraints. Fix misses by editing the prompt (more specific subject, explicit
   lighting, stronger prohibitions) — there are no other model knobs. One
   iteration round maximum before checking in with the user.

Read `references/automation.md` before writing any generation command — it has
the full, verified parameter set, CLI flags, Python helpers, and output layout.

## Required output format

Deliver one block per asset (this exact structure, whether or not you generate):

```
## Prompt Spec — [asset name]
- **Use / destination:** [where it will live]
- **Subject:** [the main thing, concretely]
- **Style:** [artistic treatment]
- **Composition:** [framing — centered / rule of thirds / negative space / overhead]
- **Lighting:** [studio / natural golden hour / dramatic rim / high-key]
- **Mood:** [2–3 adjectives]
- **Aspect ratio:** [one of 21:9 16:9 3:2 4:3 5:4 1:1 4:5 3:4 2:3 9:16] · **Resolution:** [1K/2K/4K] · **Format:** [png/jpeg/webp]
- **Negative constraints:** [what must NOT appear]
- **Prompt (final, paste-ready):**
  > [single flowing prompt assembled from the fields above]
- **Variants:** [n] — [what varies between them]
- **File naming:** assets/<category>/<asset-name>/<asset_name>_<n>_<timestamp>.png (automation default)
- **Generate with:** `python docs/creative_cli.py custom --category ... --name ... --prompt "..." --aspect-ratio ... --resolution ... --num-images n`
```

If images were generated, append the saved paths under **Results** and say which
variant you recommend and why (one line).

## Quality bar

Before delivering, verify every spec:

- [ ] Subject is concrete enough that two strangers would picture the same image
- [ ] Style, lighting, composition, and mood are each explicitly stated — none left to model default
- [ ] Aspect ratio matches the stated destination (no `1:1` "because default")
- [ ] Negative constraints listed (at minimum: no watermark; state text policy explicitly — models mangle long text)
- [ ] No invented parameters — only the ones in `references/automation.md`; the model is always `fal-ai/nano-banana-pro`
- [ ] Keeper assets got 3+ distinct variants, not one take
- [ ] If automation wasn't run, the deliverable says so and includes runnable commands

Hard don'ts: never claim an image was generated when it wasn't; never put brand
color hex codes in quotes and hope — name the colors in words too ("deep navy
#004E89"); never render paragraphs of text inside an image.

## Integration

- `skills/creative/creative-strategist` → feeds this skill its **style block**
  (paste into every prompt's style/mood/lighting fields).
- `skills/creative/product-photography`, `skills/creative/social-graphics`,
  `skills/creative/brand-asset` → specialized front-ends that produce their own
  prompt specs and use the same automation; route there when the request fits.
- `skills/creative/product-video` and `skills/creative/remotion-script-writer` →
  consume generated stills as source frames / assets.
- `references/automation.md` — full FAL.ai client, CLI, and Python-helper
  reference. Read it whenever you're about to run a generation command.

© sanky369 · MIT · sanky369/vibe-building-skills

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

Все скиллы по теме «Дизайн» →

Сначала — image-generation от других авторов.

image-generation bytedance Скилл image-generation для Claude Code формирует структурированные JSON-промпты для генерации изображений и запускает Python-скрипт с поддержкой референсов. Помогает отрисовывать персонажей и сюжетные сцены. CX Codex +1 2 900установок image-generation claude-office-skills Скилл image-generation для Claude Code составляет промпты для DALL-E, Midjourney и Stable Diffusion. Он подключается к задачам генерации изображения в заданном стиле или формате. CX Codex +1 5 800установок image-generation zc277584121 Скилл image-generation создаёт иллюстрации, схемы и визуалы для статей и документации. Подбирает путь через Codex, OpenAI API или Gemini. CX Codex +1 4 000установок image-generation PostPlusAI Скилл image-generation для Claude Code планирует создание и правку изображений. Он выбирает класс задачи, модель и правила для референсов перед передачей запроса исполнителю. CX Codex +1 709установок image-generation Devin-AXIS Скилл image-generation генерирует графические ассеты через сервис iPolloWork для презентаций и сайтов. Работает в диалоге независимо от статуса Image Studio. CX Codex +1 ★ 7 523звёзд репо image-generation-gateways calesthio Скилл image-generation-gateways для Claude Code сравнивает и подключает шлюзы генерации изображений. Он включается при работе с API fal.ai, Replicate и Together AI. CX Codex +1 137установок ai-image-generation prime-skills Скилл ai-image-generation создаёт изображения по тексту и редактирует их через RunComfy CLI. Он выбирает модель по задаче: например, для точного текста на постере или фотореалистичного портрета. CX Codex +1 393 900установок qianwen-image-generation QianWen-AI Скилл qianwen-image-generation для Claude Code, Cursor и ещё четырёх платформ: генерирует изображения по тексту и редактирует их через модели Wan и Qwen Image. CX Codex +1 6 300установок eachlabs-image-generation eachlabs Скилл eachlabs-image-generation для Claude Code генерирует изображения по текстовому описанию через EachLabs Predictions API. Агент отслеживает статус и возвращает ссылку на готовый файл. CX Codex +1 351установок NSFW Image Generation eachlabs Скилл NSFW Image Generation подключает генерацию изображений для взрослых через each::sense API. Подходит для художественной ню-фотографии, glamour, boudoir и fantasy-арта. CX Codex +1 262установок nanobanana-mcp-image-generation reason-machines Скилл nanobanana-mcp-image-generation для Claude Code подключает генерацию и редактирование изображений через Gemini. Настраивает модель, разрешение, пропорции и шаблоны. CX Codex +1 172установок

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

Весь набор →
direct-response-copy Скилл direct-response-copy для Claude Code пишет рекламные тексты с одним целевым действием. Он включается для лендингов, объявлений, писем и страниц продаж. CX Codex +1 415установок tweet-writer Скилл tweet-writer для Claude Code генерирует твиты и треды с нуля, исследуя сначала, что работает в нише, потом предлагая несколько вариантов хуков и полный тред с альтернативами. CX Codex +1 325установок typography-system Скилл typography-system наводит порядок в типографике проекта: собирает модульную шкалу под плотность интерфейса, настраивает интерлиньяж и отдаёт готовые токены для Tailwind или CSS. CX Codex +1 265установок remotion-script-writer Скилл remotion-script-writer анализирует ваше приложение или идею и пишет сценарий Remotion в JSON: сцены с точными таймингами, элементы, анимации, текст и звук. Результат готов к рендеру. CX Codex +1 228установок product-video Скилл product-video продумывает сценарий продуктового видео, раскадровку с таймингами и готовые промпты ключевых кадров для генератора fal-ai/nano-banana-pro. CX Codex +1 218установок color-system Скилл color-system для Claude Code собирает цвета проекта в систему токенов и проверяет контраст текста с фоном. Настраивает палитру, исправляет контрастность и добавляет тёмную тему. CX Codex +1 156установок brand-asset Скилл brand-asset пишет промпт-спеки для логотипов, иконок, паттернов и текстур в едином стиле и генерирует их через FAL.ai, когда задан FAL_API_KEY. CX Codex +1 111установок product-photography Скилл product-photography для Claude Code готовит промпты для фотосъёмки товаров и может сгенерировать изображения через FAL.ai. Включается для карточек товаров, лендингов и маркетинговых материалов. CX Codex +1 109установок

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

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