diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-21 10:08:40 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-21 10:08:40 +0300 |
| commit | 494104af3d9b09db422a09173391e7f10997d1df (patch) | |
| tree | c89cb1bd0a2c928f4711d1f83e2f03bafd0bfd5c | |
| parent | 6c884da0cbe65689bf089951cb5e621d121416e6 (diff) | |
Remove remaining hardcoded Bulgarian prompt fragments
| -rw-r--r-- | internal/comic/narrator.go | 9 | ||||
| -rw-r--r-- | internal/comic/types.go | 10 | ||||
| -rw-r--r-- | prompts/back_cover_prompt.md | 2 | ||||
| -rw-r--r-- | prompts/cover_prompt.md | 2 | ||||
| -rw-r--r-- | prompts/story_page_prompt.md | 2 |
5 files changed, 11 insertions, 14 deletions
diff --git a/internal/comic/narrator.go b/internal/comic/narrator.go index a469c54..7aedd7c 100644 --- a/internal/comic/narrator.go +++ b/internal/comic/narrator.go @@ -225,16 +225,13 @@ func (n *Narrator) narrateChunkWith(ctx context.Context, provider provider.TTSPr } const ( - cinematicInstruction = `You are a dramatic cinematic narrator performing a story written in BULGARIAN. -IMPORTANT: This text is in the BULGARIAN language — NOT Russian, NOT Serbian, NOT any other Slavic language. -Pronounce every word using authentic BULGARIAN phonology and accent. Bulgarian vowels are clear and distinct; -do not apply Russian stress patterns or Russian vowel reduction. The letter 'ъ' in Bulgarian is a mid-central -vowel (like the 'u' in "but"), not the Russian reduced schwa. + cinematicInstruction = `You are a dramatic cinematic narrator performing the provided story. +Respect the story's language exactly. Do not translate it and do not drift into another language or accent family. Deliver this as a professional movie trailer narrator would: deep, resonant, and commanding. Use long dramatic pauses before key moments. Build tension with slower, deliberate pacing, then accelerate through action. Drop your voice low and gravelly for mysterious or serious passages; let warmth and energy rise for joyful or triumphant ones. Breathe life into every -sentence — this should sound like an epic Bulgarian film, not a reading exercise. +sentence — this should sound like an epic film, not a reading exercise. ` diff --git a/internal/comic/types.go b/internal/comic/types.go index 924739c..0bee759 100644 --- a/internal/comic/types.go +++ b/internal/comic/types.go @@ -83,11 +83,11 @@ var ( } galleryPoses = []string{ - "крупен план на лице и раменете, драматично три-четвъртно осветление, ясен поглед към зрителя, отчетливи очи и изражение", - "динамична цялостна поза, нисък ъгъл на камерата към героя на фона на небето или средата, уверена стойка, коса и дрехи в движение", - "атмосферен среден план, героят е осветен или очертан от светлината на средата (биолуминесценция, залез, неон), погледът е отправен в далечината с усещане за чудо или решителност", - "страничен близък план на лице и горна част на тялото, мек контурен блясък по челюстта и косата, замислено изражение, мек размит фон", - "уверена цялостна стойка, героят е заснет отпред на нивото на очите, ръцете са отпуснати но готови, средата изпълва кадъра, златна или драматична светлина", + "close-up portrait of face and shoulders, dramatic three-quarter lighting, clear gaze toward the viewer, sharp eyes and expressive face", + "dynamic full-body action pose, low camera angle looking up at the hero against the sky or environment, confident stance, hair and clothing in motion", + "atmospheric medium shot, the hero rim-lit by the environment (bioluminescence, sunset, neon), looking into the distance with wonder or resolve", + "profile close-up of face and upper body, soft rim light along jaw and hair, thoughtful expression, softly blurred background", + "confident full-body stance from eye level, arms relaxed but ready, environment filling the frame, golden or dramatic light", } ) diff --git a/prompts/back_cover_prompt.md b/prompts/back_cover_prompt.md index 79dd012..6242bff 100644 --- a/prompts/back_cover_prompt.md +++ b/prompts/back_cover_prompt.md @@ -1,4 +1,4 @@ -This is a {{.LanguageName}} comic. All visible back-cover text, banners, boxes, and labels must use {{.ScriptName}} script only. +This comic is in {{.LanguageName}}. All visible back-cover text, banners, boxes, and labels must use {{.ScriptName}} script only. Style: {{.Style}}.{{.RenderingRequirement}} Full back cover {{if .RenderingRequirement}}photographic scene{{else}}illustration{{end}} in landscape 16:9 format. diff --git a/prompts/cover_prompt.md b/prompts/cover_prompt.md index c9fcb2f..f268498 100644 --- a/prompts/cover_prompt.md +++ b/prompts/cover_prompt.md @@ -1,4 +1,4 @@ -This is a {{.LanguageName}} comic. All visible cover text, including the main title, must use {{.ScriptName}} script only. +This comic is in {{.LanguageName}}. All visible cover text, including the main title, must use {{.ScriptName}} script only. Style: {{.Style}}.{{.RenderingRequirement}} Full front cover {{if .RenderingRequirement}}photographic scene{{else}}illustration{{end}} in landscape 16:9 format. diff --git a/prompts/story_page_prompt.md b/prompts/story_page_prompt.md index 6a2d787..3282952 100644 --- a/prompts/story_page_prompt.md +++ b/prompts/story_page_prompt.md @@ -1,4 +1,4 @@ -This is a {{.LanguageName}} comic page. All speech, thoughts, captions, and labels inside panels must use {{.ScriptName}} script only. +This comic page is in {{.LanguageName}}. All speech, thoughts, captions, and labels inside panels must use {{.ScriptName}} script only. {{.Words}} Style: {{.Style}}.{{.RenderingRequirement}} |
