Show HN: Chaining VEO 2's 8-second clips into 2-minute videos with sync audio
Parse the script timing Generate audio segments that match video pacing Use FFmpeg to sync audio with video transitions Handle audio crossfades between clip boundaries
4. Cost Optimization At current VEO 2 pricing, a 2-minute video costs ~$60 in API calls. I built request batching and caching to minimize redundant generations. The system can theoretically generate longer videos, but I capped it at 2 minutes due to cost considerations. This powers the video generation feature in my marketing tool Smarketly, but the core chaining technique could work for any VEO 2 application needing longer content. Technical questions I'm still working on:
Better frame-to-frame consistency algorithms More efficient prompt engineering for visual continuity
Happy to share code snippets or discuss the technical implementation!
But you can check what i'm building this on by visiting https://smarketly.lema-lema.com
No comments yet