From e2e75315e5e7c3eaccdc38881bd2fa669bb9dda5 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 16 Jul 2025 21:44:28 +0300 Subject: only one img per card --- internal/image/openai.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/image/openai.go') diff --git a/internal/image/openai.go b/internal/image/openai.go index 2fbb043..dc82b90 100644 --- a/internal/image/openai.go +++ b/internal/image/openai.go @@ -261,7 +261,7 @@ func (c *OpenAIClient) createEducationalPrompt(bulgarianWord, englishTranslation if creativeStyle := c.getCreativeStyleFromOpenAI(context.Background(), englishTranslation); creativeStyle != "" { fmt.Printf(" Using OpenAI-suggested style: %s\n", creativeStyle) return fmt.Sprintf( - "Generate %s of: %s. "+ + "Generate %s of %s. "+ "The image should be educational and suitable for language learning flashcards. "+ "Requirements: single main subject, plain background, clear and recognizable. "+ "IMPORTANT: No text whatsoever. Do not include any words, letters, typography, labels, captions, or writing of any kind. Image only, without any text elements.", @@ -331,7 +331,7 @@ func (c *OpenAIClient) createEducationalPrompt(bulgarianWord, englishTranslation // Create a simple, clear prompt for educational images return fmt.Sprintf( - "Generate a %s of: %s. "+ + "Generate a %s of %s. "+ "The image should be educational and suitable for language learning flashcards. "+ "Requirements: single main subject, plain background, clear and recognizable. "+ "IMPORTANT: No text whatsoever. Do not include any words, letters, typography, labels, captions, or writing of any kind. Image only, without any text elements.", -- cgit v1.2.3