con un clic
generate-prompts
Generate per-scene Gemini image prompts with brand styling
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Generate per-scene Gemini image prompts with brand styling
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Catalog book video knowledge into knowledge vault
Plan story direction, scenes, narrative arc, pacing
Deep-research a book and propose video angles
Create new Bookie sub-project with standard structure
Full pipeline: deep research to rendered video
Generate YouTube and Facebook metadata for book video
| name | generate-prompts |
| model | sonnet |
| description | Generate per-scene Gemini image prompts with brand styling |
| disable-model-invocation | false |
| argument-hint | <book-slug> |
Create per-scene AI image prompts in Gemini format for a Bookie book video. Combines the storyboard's visual concepts with actual voice timing and brand styling into self-contained prompts ready to paste into Gemini.
make voice produces actual timing. Before make scenes.storyboard.md + chunks-display.md + section-timing.json + style-guide.mdimage-prompts.md (per-scene Gemini prompts with timing)make voice → section-timing.json (actual timing)
↓
/generate-prompts → image-prompts.md ← YOU ARE HERE
↓
make scenes → generated images
Validate: Check that $ARGUMENTS is provided. If missing, ask Hai for the book slug. Set SLUG=$ARGUMENTS. Check that projects/ai-book-video/books/$SLUG/ exists.
Read input files:
projects/ai-book-video/books/$SLUG/storyboard.md — visual concepts per sceneprojects/ai-book-video/books/$SLUG/chunks-display.md — narration text per sceneprojects/ai-book-video/books/$SLUG/output/section-timing.json — actual scene timing from voiceprojects/ai-book-video/brand/style-guide.md — brand colors and style rulesIf section-timing.json is missing, warn: "Voice not generated yet. Run make voice BOOK=$SLUG first, or proceed without timing?" If proceeding without timing, omit timestamp fields.
Build style prefix: From style-guide.md, construct the Gemini style instruction that prefixes every prompt. Include:
The style guide is the single source of truth for colors — read it fresh each time.
Detect mode: If image-prompts.md exists → ask whether to overwrite or revise specific scenes. If missing → new draft.
Generate prompts: For each scene:
Flat (static image) or Ken Burns (slow pan/zoom)Present to Hai: Show prompts for review. He may want to:
Write output: Write to projects/ai-book-video/books/$SLUG/image-prompts.md
# Image Prompts: [Book Title] — [Angle]
> Generated by /generate-prompts on [date]
> Scenes: [N] | Source timing: section-timing.json
## Style Prefix
> Prepend this to every Gemini prompt:
[Style instruction block — textured editorial, brand colors, constraints]
---
## Prompts
### Scene 01 — HOOK (0:00 - 0:12)
- **Duration**: 12.5s
- **Script**: "[Key narration line from this scene]"
- **Visual concept**: [From storyboard]
- **Prompt**: "[Complete self-contained Gemini prompt including style prefix]"
- **Layers**: Ken Burns (slow zoom out)
- **Status**: [ ] Generated [ ] Approved
### Scene 02 — CONTEXT (0:12 - 0:22)
- **Duration**: 9.8s
- **Script**: "[Key line]"
- **Visual concept**: [From storyboard]
- **Prompt**: "[Complete prompt]"
- **Layers**: Flat
- **Status**: [ ] Generated [ ] Approved
...
## Summary
| Scene | Label | Duration | Layers | Status |
|-------|-------|----------|--------|--------|
| 01 | HOOK | 12.5s | Ken Burns | [ ] |
| 02 | CONTEXT | 9.8s | Flat | [ ] |
...
Every prompt is self-contained — paste it into Gemini without any other context. This means each prompt includes the style instructions, not just a reference to them.
Focus on metaphor, not literal depiction. Instead of "a person reading a book," try "an open book floating in space, its pages transforming into glowing pathways." Textured editorial illustration — NOT flat vector, NOT stock photography. Every image should feel like a premium magazine print: grain, depth, visible texture.
Visual principles:
Gemini-specific:
Layer suggestions (feeds into generate-scenes.sh for per-scene visual override):
Ken Burns (slow zoom in): Zoom into details — intimacy, focus, revelationKen Burns (slow zoom out): Zoom out to reveal — context, scale, perspective shiftKen Burns (slow pan left to right): Horizontal motion — progression, journey, transitionKen Burns (slow pan right to left): Reverse motion — looking back, contrastFlat: Static image — diagrams, comparisons, focused concepts, data