aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers
diff options
context:
space:
mode:
Diffstat (limited to 'docs/superpowers')
-rw-r--r--docs/superpowers/specs/2026-10-04-fanfictioner-design.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/superpowers/specs/2026-10-04-fanfictioner-design.md b/docs/superpowers/specs/2026-10-04-fanfictioner-design.md
index 6d054e6..9a34ef6 100644
--- a/docs/superpowers/specs/2026-10-04-fanfictioner-design.md
+++ b/docs/superpowers/specs/2026-10-04-fanfictioner-design.md
@@ -19,7 +19,8 @@ reviews and picks among candidates at every image stage.
- llama-server runs in router mode on `localhost:8181`, model
`Gemma4-12B-qat-mtp`, `--models-max 1`. Unload with
`POST /models/unload {"model": ...}`; it reloads on the next request.
-- No text in images: no speech bubbles, captions or labels.
+- No text in images: no speech bubbles, captions or labels. Only exception: a
+ page with a `Title:` line (the cover) gets that title as lettering.
## Pipeline
@@ -79,6 +80,7 @@ Characters: <Name>, <Name> (or "none")
Pose: <Name>: <position in frame, orientation, pose>; <Name>: <...>
Framing: <camera angle, shot size>, portrait|landscape
Model: krea2 (optional, overrides the base model for this page)
+Title: <book title> (cover only: lettering drawn on this page)
```
Validation before confirm: title, Series, Book, at least one character and
@@ -95,7 +97,8 @@ All via `POST localhost:8181/v1/chat/completions`, `model: Gemma4-12B-qat-mtp`.
1. **Draft**: system prompt holds the plan.md format and rules (no text in
images, fixed character descriptions starting with who they are, characters
are people only while animals and objects belong to the scene, one page = one
- image, a scene may span several pages). User message: `story.md`. Output: plan.md.
+ image, a scene may span several pages, page 1 is the cover with a `Title:`
+ line). User message: `story.md`. Output: plan.md.
2. **Revise**: current plan.md + user's instruction -> complete new plan.md. A
revision that fails validation is saved as `plan.rejected.md` and plan.md is
kept; an accepted one keeps the previous version as `plan.md.bak`.
@@ -124,7 +127,9 @@ Templates:
light-grey background, even studio lighting. <Style>. No text, no labels."
- `base_prompt`: Style, page text, then for each character present its
description followed by its pose, then Framing, then "No text, no speech
- bubbles."
+ bubbles." A page with `Title:` instead ends with "Title lettering at the top
+ of the image reading exactly "<title>". No other text, no speech bubbles.",
+ and its edits also keep the title lettering unchanged.
- `edits`: one entry per group of at most 2 characters (Qwen takes at most 3
reference images: the scene plus 2 refs), in `Characters:` order. Per
character: "In image 1, change only <Name>'s head: give her/him/them the face,