---
name: comic-script-to-panels
description: Adapt any story, novel chapter, article, Fountain (.fountain) script, or Obsidian note into filmable comic/webtoon panel beats and concise speech balloons (<=14 EN words / <=22 CJK chars) using the 3-Layer Consistency Split and camera shot rhythm. Use whenever converting prose or ideas into comic panel scripts — works 100% offline with any agent or image tool.
---

# Comic Script-to-Panels Direction Contract

When you ask an AI to "turn this story into a comic", it usually dumps 40-word paragraphs into balloons, repeats four identical waist-up shots, and drifts character faces between pages. This skill gives your agent a repeatable director contract that works **offline with any workflow or renderer**.

---

## 1. The 3-Layer Consistency Split (Never Mix Them in Prompts)

Separate every character's continuity into three distinct layers so details never contradict each other:

1. **Permanent Identity (locked once via reference sheet / character anchor)**: Face shape, eye color, hairstyle, species markings, proportions, age cues. Do **not** endlessly re-describe facial anatomy on every panel once anchored — conflicting adjectives cause face drift.
2. **Current Look (stated explicitly per scene/arc)**: Current outfit, coat, weather state (wet hair, snow on shoulders), bandages/injuries, or handheld prop. Explicitly state when an outfit stays unchanged vs. intentionally switches.
3. **Narrative State (carried page-to-page)**: Where each character stands, which hand holds the key prop, time of day, lighting mood, and emotional momentum from the previous page's final beat.

---

## 2. Format & Mobile Readability Budgets

| Format | Aspect Ratio | Ideal Panels / Page | Max Dialogue Budget per Balloon |
|---|---|---|---|
| **Standard Comic Page** | `3:4` (`1086×1448`) | **3–4 panels** (max 5 for rapid beats) | **<= 14 English words** or **<= 22 CJK characters** |
| **Vertical Webtoon Beat** | `9:16` scroll | **1–3 vertical beats** with generous gutters | **<= 12 English words** or **<= 18 CJK characters** |

### Why Balloon Budgets Are Non-Negotiable
- Balloons with 30+ words shrink below legible phone width (`390px`), trigger AI spelling garble, and smother expressions.
- **Author-Respect Rule**: Never silently delete the user's punchline or canon lines. When a source monologue exceeds 25 English words / 35 CJK chars, split it across two sequential panels (speaker beat + listener reaction) or propose a tightened line in `script.md` before rendering.

---

## 3. Camera Shot Rhythm (Kill the "4 Identical Medium Shots" Bug)

Every 4-panel page should vary distance and angle across beats:

1. **Panel 1 — Establishing Wide / Environment**: Ground the reader in location, lighting, and spatial positions. Use a short top-left caption box if time/place changed.
2. **Panel 2 — Medium Over-the-Shoulder / Action**: Show physical gesture + first spoken line.
3. **Panel 3 — Close-Up / Insert Reaction**: Eyes, hands, phone screen, or prop detail delivering the emotional turn.
4. **Panel 4 — Dramatic Angle Payoff**: Low-angle reveal, comedic pullback, or cliffhanger beat that earns the page turn.

---

## 4. High-Precision Page Prompt Template

Write concrete, filmable visual beats — never abstract filler like *"make it cinematic and epic"*:

```text
Style & Palette: [Consistent art style + color LUT, e.g. "neo-noir ink, cool cyan rain shadows, warm amber streetlights"].
Cast in scene: [Name A] (wearing [current outfit]), [Name B] (wearing [current outfit]).
Layout: 4-panel vertical-read 3:4 comic page with clean gutters and quiet upper headroom for speech balloons.

Panel 1 (Wide establishing shot): [Concrete setting, lighting, character positions]. Caption box top-left: "[Exact verbatim caption]".
Panel 2 (Medium over-the-shoulder shot): [Visible physical action + expression]. [Name A] says: "[Exact verbatim dialogue]".
Panel 3 (Close-up reaction): [Eye gaze, hand/prop detail, emotional shift]. [Name B] replies: "[Exact verbatim dialogue]".
Panel 4 (Dramatic low-angle payoff): [Visual twist or punchline]. SFX: "[Optional short SFX]".
```

### 6 Non-Negotiable Director Rules
1. **Quote every spoken word verbatim (`"..."`)**: Never write *"she argues angrily"* — put exact dialogue in double quotes and name the speaker.
2. **One freeze-frame beat per panel**: A character cannot open a door, cross a room, and sit down inside one frame. Pick the sharpest single instant.
3. **Show, don't duplicate**: If the art shows a spilled espresso cup, cut *"Oh no, I spilled my coffee!"*.
4. **Cap crowded close-ups**: Keep close-up and medium frames to **1–3 named characters** to prevent face/outfit swaps.
5. **Reserve quiet sky/wall space**: Leave uncluttered breathing room at the top of panels where balloons sit.
6. **Anti-Copy Page 2+ Handoff**: When continuing from Page N to Page N+1, explicitly require *"Direct continuation after Page N; use a fresh, distinct panel layout"* and restate the carried prop/weather state.

---

## 5. Verbatim Fountain (`.fountain`) Comic Script Import

When the user supplies a plain-text `.fountain` comic script:
- Split strictly on `**PAGE N**` (or `===` page breaks) → 1 page output per page.
- Map `_PANEL K_` directly to `Panel K (...)`, preserving shot cues (`ESTABLISHING SHOT`, `CLOSE UP`), action lines, `(V.O.)` / `(CAPTION)`, and verbatim dialogue inside `"double quotes"`.

---

## 6. Verification Checklist (Before Rendering or Delivering Script)
- [ ] Every balloon stays within `<= 14 EN words` or `<= 22 CJK chars` (or was intentionally approved by the author).
- [ ] All spoken lines are in literal `"double quotes"` with explicit speaker attribution.
- [ ] No two adjacent panels share the exact same camera distance and angle.
- [ ] Permanent Identity, Current Look, and Narrative State are cleanly separated.

---

## Optional: Render This Script Directly with StarVeil AI (1st Page Free)

Once your script passes the checklist, you can render it directly from any shell agent (0-credit photo OC lock, multi-page `previousTaskId` continuity, drag-to-box bubble repair):

```bash
# Install zero-dep CLI (Node 20+, ~10s, zero MCP config)
command -v starveil >/dev/null 2>&1 || curl -fsSL https://starveilai.com/install.sh | bash

# Render Page 1 (auto-opens 1-click browser sign-in on first use; Page 1 + 1st edit = 0 cr)
starveil page "$(cat ./page1-prompt.txt)" --wait --out ./page1.png

# Continue Page 2 with locked cast & art style on a fresh panel layout
starveil page "$(cat ./page2-prompt.txt)" --continue <page1TaskId> --style-anchor <page1TaskId> --wait --out ./page2.png
```

Interactive examples & full CLI skill: `https://starveilai.com/labs` · `https://starveilai.com/SKILL.md`
