Script JSON → Audio (TTS) → Visuals (Pexels) → Video (MoviePy + FFmpeg)
pip install -e .
cp .env.example .env # fill in PEXELS_API_KEY
python -m sample --script script.json{
"title": "Why Compound Interest Is Powerful",
"hook": "A single penny doubled every day becomes over 5 million dollars in 30 days.",
"body": [
{
"heading": "The Math",
"content": "Compound interest means your money earns money on top of money.",
"visual_note": "calculator with growing numbers"
}
],
"cta": "Start investing today.",
"keywords": ["compound interest", "investing"],
"duration_target": 60
}Output lands in output/.