From 1020a796faf9c68bd5e4f8b0bd56b6448c590a90 Mon Sep 17 00:00:00 2001 From: leon-morival Date: Wed, 10 Dec 2025 09:46:07 +0100 Subject: [PATCH] feat: cover prompt --- functions/helpers/prompts.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/functions/helpers/prompts.js b/functions/helpers/prompts.js index 43e7165..48103e6 100644 --- a/functions/helpers/prompts.js +++ b/functions/helpers/prompts.js @@ -47,13 +47,13 @@ exports.generatePicturePrompt = (project = {}) => { let visualAtmosphere = ""; if (isDark) { visualAtmosphere = - "Atmosphere: Cinematic dark lighting, moody shadows, deep contrast. Palette: Midnight blue, obsidian, deep purple, metallic accents."; + "Atmosphere: Cinematic atmosphere, moody shadows, deep contrast. Palette: Midnight blue, obsidian, deep purple, metallic accents."; } else if (isEnergetic) { visualAtmosphere = - "Atmosphere: Dynamic lighting, high energy, vibrant saturation. Palette: Neon colors, electric blue, magenta, bright yellow, high contrast."; + "Atmosphere: Dynamic atmosphere, high energy, vibrant saturation. Palette: Neon colors, electric blue, magenta, bright yellow, high contrast."; } else { visualAtmosphere = - "Atmosphere: Soft natural lighting, harmonious and ethereal. Palette: Pastel tones, warm gold, soft coral, balanced and elegant colors."; + "Atmosphere: Soft atmosphere, harmonious and ethereal. Palette: Pastel tones, warm gold, soft coral, balanced and elegant colors."; } // Définition du Style de Rendu (Si l'utilisateur est vague, on renforce) @@ -98,7 +98,7 @@ exports.generatePicturePrompt = (project = {}) => { .join(". "); const imageryPrompt = visualHook - ? `Visual Inspiration: An artistic interpretation of these lyrics: "${visualHook}".` + ? `Visual Inspiration: An interpretation of these lyrics: "${visualHook}".` : "Visual Inspiration: Abstract visual representation of the song's mood."; // --- 4. Construction du Prompt Final (Structure Optimisée Imagen 3) --- @@ -109,7 +109,7 @@ exports.generatePicturePrompt = (project = {}) => { // 1. Le Texte (Crucial pour Imagen 3 - Doit être au début ou très clair) `**Typography & Text:**`, - `The song title "${titleForPrompt}" must be the CENTERPIECE. Write it in a distinct, artistic font that matches the mood.`, + `The song title "${titleForPrompt}" must be the CENTERPIECE. Write it in a distinct font that matches the mood.`, hasArtistName ? `The artist name "${artistName}" must appear smaller, elegant, and legible near the bottom or top.` : "",