summaryrefslogtreecommitdiff
path: root/prompts
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-21 10:28:17 +0300
committerPaul Buetow <paul@buetow.org>2026-04-21 10:28:17 +0300
commita6f516d8b3fbd719bdbfc51c7963f75379597831 (patch)
treeea9ed9ad34b70b6b18e76f0511fd1276f8261a2b /prompts
parent5c2d6e68838aad0dad8e67b7934b6b255b95e1e1 (diff)
Fix n7: honor comic page and panel counts
Diffstat (limited to 'prompts')
-rw-r--r--prompts/panel_script_prompt.md8
-rw-r--r--prompts/story_full_prompt.md8
-rw-r--r--prompts/story_page_prompt.md4
3 files changed, 10 insertions, 10 deletions
diff --git a/prompts/panel_script_prompt.md b/prompts/panel_script_prompt.md
index f9da735..57c37ad 100644
--- a/prompts/panel_script_prompt.md
+++ b/prompts/panel_script_prompt.md
@@ -1,7 +1,7 @@
-Write exactly 20 visual panel descriptions for the comic illustrator, one per line, in strict chronological story order.
+Write exactly {{.TotalPanels}} visual panel descriptions for the comic illustrator, one per line, in strict chronological story order.
Each line must use exactly this format: P{page}-{panel}: {description}
-where page is 1 through 5, and panel is A (top-left), B (top-right), C (bottom-left), or D (bottom-right).
+where page is 1 through {{.StoryPages}}, and panel is one of {{.PanelLabelsText}}.
Each description must be 1-2 sentences and include who is in the panel, what they do, where they are, their expression or body language, and, for most panels, exact dialogue or thought text in {{.LanguageName}} inside quotation marks.
-At least 3 of the 4 panels on every page MUST include dialogue or thought text in {{.LanguageName}} for a speech or thought bubble. Dialogue must come directly from the story and use {{.ScriptName}} script.
-The 20 panels must retell the story from beginning to end; each page covers one stage and each panel moves the action forward.
+At least {{.RequiredDialoguePanels}} of the {{.PanelsPerPage}} panels on every page MUST include dialogue or thought text in {{.LanguageName}} for a speech or thought bubble. Dialogue must come directly from the story and use {{.ScriptName}} script.
+The {{.TotalPanels}} panels must retell the story from beginning to end; each page covers one stage and each panel moves the action forward.
Do not repeat the same scene or camera angle in consecutive panels.
diff --git a/prompts/story_full_prompt.md b/prompts/story_full_prompt.md
index e170d99..89bcd62 100644
--- a/prompts/story_full_prompt.md
+++ b/prompts/story_full_prompt.md
@@ -24,10 +24,10 @@ Then write a short comic title in {{.LanguageName}} using {{.ScriptName}} script
After the title, write exactly this separator line by itself:
{{.StoryPanelSeparator}}
-Write exactly 20 visual panel descriptions for the comic illustrator, one per line, in strict chronological story order.
+Write exactly {{.TotalPanels}} visual panel descriptions for the comic illustrator, one per line, in strict chronological story order.
Each line must use exactly this format: P{page}-{panel}: {description}
-where page is 1 through 5, and panel is A (top-left), B (top-right), C (bottom-left), or D (bottom-right).
+where page is 1 through {{.StoryPages}}, and panel is one of {{.PanelLabelsText}}.
Each description must be 1-2 sentences and include who is in the panel, what they do, where they are, their expression or body language, and, for most panels, exact dialogue or thought text in {{.LanguageName}} inside quotation marks.
-At least 3 of the 4 panels on every page MUST include dialogue or thought text in {{.LanguageName}} for a speech or thought bubble. Dialogue must come from the story and use {{.ScriptName}} script.
-The 20 panels must retell the story from beginning to end; each page covers one stage and each panel moves the action forward.
+At least {{.RequiredDialoguePanels}} of the {{.PanelsPerPage}} panels on every page MUST include dialogue or thought text in {{.LanguageName}} for a speech or thought bubble. Dialogue must come from the story and use {{.ScriptName}} script.
+The {{.TotalPanels}} panels must retell the story from beginning to end; each page covers one stage and each panel moves the action forward.
Do not repeat the same scene or camera angle in consecutive panels.
diff --git a/prompts/story_page_prompt.md b/prompts/story_page_prompt.md
index 3282952..bed4f0d 100644
--- a/prompts/story_page_prompt.md
+++ b/prompts/story_page_prompt.md
@@ -6,9 +6,9 @@ Interior story page only. Do NOT render a cover masthead, title banner, subtitle
{{if .Bible}}CHARACTER AND SETTING REFERENCE:
{{.Bible}}
-{{end}}{{.PanelLayout}}Each panel is separated by a thin black gutter line. All 4 panels must be clearly distinct scenes, not one continuous image. Fill the full image area with the 4 panels.
+{{end}}{{.PanelLayout}}Each panel is separated by a thin black gutter line. All {{.PanelsPerPage}} panels must be clearly distinct scenes, not one continuous image. Fill the full image area with the {{.PanelsPerPage}} panels.
MANDATORY SPEECH BUBBLES — this is a comic; characters must speak:
- • At least 3 of the 4 panels on this page must contain a speech bubble or thought bubble.
+ • At least {{.RequiredDialoguePanels}} of the {{.PanelsPerPage}} panels on this page must contain a speech bubble or thought bubble.
• If the panel description includes quoted dialogue, render it exactly inside the bubble.
• Speech bubbles have a white background, black outline, and a tail pointing to the speaker.
• Thought bubbles use a cloud shape with small circles leading to the thinker.