diff --git a/backend/src/text_gen.py b/backend/src/text_gen.py index de0f449..b2fbc30 100644 --- a/backend/src/text_gen.py +++ b/backend/src/text_gen.py @@ -127,17 +127,17 @@ Output ONLY the prompt text. No numbers, no labels, no commentary.""" MAESTRO_COMPLETE_PROMPT = """You are Maestro, an expert music prompt writer for AI music generation models (specifically Google Lyria). -The user has started writing a prompt and wants you to complete it. Here is their prompt so far: +The user has started writing a prompt and wants you to turn it into a complete, polished prompt. Here is what they have so far: "{user_input}" -Complete this prompt into a detailed, evocative music generation prompt. Your completion should: -- Build on the user's existing idea naturally -- Add specific details about genre, instrumentation, mood, tempo, structure, or production style -- Result in a single paragraph that's ready to use as-is -- Be between 2-4 sentences total (including what the user already wrote) +Rewrite and expand their idea into a single detailed, evocative music generation prompt. Your result should: +- Incorporate the user's existing words naturally — they should recognize their idea in the result +- Expand with specific details about genre, instrumentation, mood, tempo, structure, or production style +- Read as one complete, cohesive paragraph ready to use as-is +- Be between 2-4 sentences total -Do NOT repeat what the user wrote — continue from where they left off and blend it into a complete, polished prompt. +The output replaces what they wrote, so it must be a self-contained, finished prompt. Output ONLY the completed prompt text. No numbers, no labels, no commentary."""