feat: cover prompt
This commit is contained in:
@@ -47,13 +47,13 @@ exports.generatePicturePrompt = (project = {}) => {
|
|||||||
let visualAtmosphere = "";
|
let visualAtmosphere = "";
|
||||||
if (isDark) {
|
if (isDark) {
|
||||||
visualAtmosphere =
|
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) {
|
} else if (isEnergetic) {
|
||||||
visualAtmosphere =
|
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 {
|
} else {
|
||||||
visualAtmosphere =
|
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)
|
// Définition du Style de Rendu (Si l'utilisateur est vague, on renforce)
|
||||||
@@ -98,7 +98,7 @@ exports.generatePicturePrompt = (project = {}) => {
|
|||||||
.join(". ");
|
.join(". ");
|
||||||
|
|
||||||
const imageryPrompt = visualHook
|
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.";
|
: "Visual Inspiration: Abstract visual representation of the song's mood.";
|
||||||
|
|
||||||
// --- 4. Construction du Prompt Final (Structure Optimisée Imagen 3) ---
|
// --- 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)
|
// 1. Le Texte (Crucial pour Imagen 3 - Doit être au début ou très clair)
|
||||||
`**Typography & Text:**`,
|
`**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
|
hasArtistName
|
||||||
? `The artist name "${artistName}" must appear smaller, elegant, and legible near the bottom or top.`
|
? `The artist name "${artistName}" must appear smaller, elegant, and legible near the bottom or top.`
|
||||||
: "",
|
: "",
|
||||||
|
|||||||
Reference in New Issue
Block a user