From 1c31ee998fceeee29c840ee2fa88933e9d439a5a Mon Sep 17 00:00:00 2001 From: Failerko Date: Sun, 8 Feb 2026 02:29:23 +0100 Subject: [PATCH] fix: enforce names in img2img --- src/lib/services/prompts/templates/image.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/services/prompts/templates/image.ts b/src/lib/services/prompts/templates/image.ts index 3bf865f..222d5ad 100644 --- a/src/lib/services/prompts/templates/image.ts +++ b/src/lib/services/prompts/templates/image.ts @@ -170,7 +170,7 @@ Image models don't know who "Elena" or "Marcus" are. Character names are ONLY fo - **sourceText:** Exact phrase from narrative (3-15 words, VERBATIM) - **sceneType:** action|item|character|environment - **priority:** 1-10 -- **characters:** Array of character names (first character is primary) +- **characters:** Array of character names (first character is primary). ALWAYS include the **exact** names of characters you were given. - **generatePortrait:** true for portrait generation, false otherwise ## Prompt Structure