# Construct a prompt with the scene context
scene_context = "\n".join([f"- {scene['description']}" for scene in scenes])
prompt = f"""
Here is a visual description of a jewelry product video:
{scene_context}
Write a short, elegant, and luxurious voiceover script for this video advertisement.
- Tone: Sophisticated, calming, premium.
- Length: Short (approx 20 seconds of speech).
- Content: Focus on beauty, craftsmanship, and elegance.
- Format: Return ONLY the raw narration text.
"""
# Generate script
text_response = coll.generate_text(
prompt=prompt,
model_name="pro"
)
ad_script = text_response["output"]
print("--- Generated Ad Script ---")
print(ad_script)