From 03f2ca528a34a7e099f1db8d5a931136af2a4652 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 4 Apr 2026 11:25:11 +0300 Subject: feat: random ultra-realistic/comic style, --no-ultra-realistic flag, updated README - Random 50/50 rendering mode per run (ultra-realistic or standard comic style) - --no-ultra-realistic flag forces standard comic style when set - renderingRequirement const centralised and applied to all image prompts via DRY renderReq() method - Log rendering mode chosen at generation time - Update README: correct page count (10), output filenames, all --story flags documented - Bump version to 0.13.0 Co-Authored-By: Claude Sonnet 4.6 --- internal/cli/command.go | 1 + internal/cli/flags.go | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'internal/cli') diff --git a/internal/cli/command.go b/internal/cli/command.go index 6f0b2a2..a1168b5 100644 --- a/internal/cli/command.go +++ b/internal/cli/command.go @@ -68,6 +68,7 @@ func setupFlags(cmd *cobra.Command, flags *Flags) { cmd.Flags().StringVar(&flags.StoryFile, "story", "", "Generate a vocabulary story + comic image from a batch-format file (outputs to current directory)") cmd.Flags().StringVar(&flags.StoryStyle, "story-style", "", "Art style for comic pages (default: random). E.g. \"ultra realistic comic strip with photographic detail and dramatic lighting\"") cmd.Flags().StringVar(&flags.StoryTheme, "story-theme", "", "Genre/theme for the story (default: random). E.g. \"a thrilling space adventure with aliens and spaceships\"") + cmd.Flags().BoolVar(&flags.StoryNoUltraRealistic, "no-ultra-realistic", false, "Disable photorealistic rendering requirement; produces standard comic-book style output") cmd.Flags().StringVar(&flags.NarratorVoice, "narrator-voice", "", "Gemini voice for cinematic story narration (default: random from cinematic pool). "+ "Valid values: Charon, Fenrir, Enceladus, Algieba, Aoede, Schedar") diff --git a/internal/cli/flags.go b/internal/cli/flags.go index b9d28c9..104f721 100644 --- a/internal/cli/flags.go +++ b/internal/cli/flags.go @@ -20,10 +20,11 @@ type Flags struct { ImageAPI string ImageAPISpecified bool BatchFile string - 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) - NarratorVoice string // --narrator-voice: Gemini voice for cinematic narration (empty = random) + 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 + NarratorVoice string // --narrator-voice: Gemini voice for cinematic narration (empty = random) SkipAudio bool SkipImages bool GenerateAnki bool -- cgit v1.2.3