diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-03 20:35:57 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-03 20:35:57 +0300 |
| commit | b0e8ccfebc5094829054021250f08ddb93c9978e (patch) | |
| tree | ca69e6dd49a8ac1aff31e33abc0da7771a565c8d /internal/cli/command.go | |
| parent | 893489d63d9f2c803b49f3cb460e93bd3bb34e87 (diff) | |
feat: append Gemini-generated cinematic epilogue at end of narration
- buildConclusion() calls gemini-2.5-flash (same SystemInstruction pattern)
to write a 3-4 sentence Bulgarian cinematic epilogue (~40-60 words, ~15-30s)
that reflects the story's emotion rather than recapping the plot
- narrateConclusion() narrates it as a separate TTS chunk and appends it to
the chunk list before final concatenation; failure is non-fatal
- Narrator struct now stores apiKey for the text-generation call
- Single-chunk path simplified: Rename instead of unnecessary concatenation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/cli/command.go')
0 files changed, 0 insertions, 0 deletions
