aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers/specs
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-05 10:11:08 +0200
committerDanilo M. <danix@danix.xyz>2026-10-05 10:11:08 +0200
commit5237176a9bcb2d0115dc2697c688884e53abd780 (patch)
tree18ca4c106b45dbcf9c19903afcf6ac4db3636301 /docs/superpowers/specs
parentd5d0b3194e10726e9ade9cb38faeba0a5f718123 (diff)
downloadfanfictioner-5237176a9bcb2d0115dc2697c688884e53abd780.tar.gz
fanfictioner-5237176a9bcb2d0115dc2697c688884e53abd780.zip
Draw the book title on the cover page
A page with a Title: line in plan.md gets that title as lettering in its base prompt, and its head edits are told to keep the lettering. The draft prompt makes page 1 a portrait cover carrying the book title; every other page stays text-free. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/superpowers/specs')
-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,