From 2d6cd1a4d388b22396827cbf151aa2990ca6cd5a Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 4 Apr 2026 15:45:55 +0300 Subject: feat: skip existing pages on re-run, add --story-slug for targeted repair - loadOrGenerate() in artist.go skips API calls for pages already on disk, loading bytes for the reference chain. Re-runs now only generate missing pages instead of regenerating the whole comic. - --story-slug flag forces the output directory slug so a repair run writes to the same directory as the original (e.g. --story-slug ai-jungle-quest). Co-Authored-By: Claude Sonnet 4.6 --- internal/cli/flags.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/cli/flags.go') diff --git a/internal/cli/flags.go b/internal/cli/flags.go index 104f721..9c83138 100644 --- a/internal/cli/flags.go +++ b/internal/cli/flags.go @@ -23,7 +23,8 @@ type Flags struct { StoryFile string // --story : generate vocabulary story + comic image StoryStyle string // --story-style: override the random art style (empty = random) StoryTheme string // --story-theme: override the random genre pick (empty = random) - StoryNoUltraRealistic bool // --no-ultra-realistic: disable photorealistic rendering requirement + StoryNoUltraRealistic bool // --no-ultra-realistic: disable photorealistic rendering requirement + StorySlug string // --story-slug: force a specific output slug/directory (empty = auto from title) NarratorVoice string // --narrator-voice: Gemini voice for cinematic narration (empty = random) SkipAudio bool SkipImages bool -- cgit v1.2.3