Building a Text-Based Ad Generator Using ElevenLabs, Gemini, and Veo 2
Key point
Combined ElevenLabs, Gemini, and Veo 2 to build an AI pipeline that turns a simple idea into a 30-second ad video.
Details
Built a tool that automatically generates a 30-second ad video—complete with visual effects, voiceover, and sound effects—from a simple product idea input. The system uses ElevenLabs (TTS/SFX), Google Gemini, and Veo 2 as its core engines.
The overall stack consists of a Node.js (Express) backend and a React frontend, and Claude 4 Opus was used during development to rapidly implement product logic and features.
Ad generation happens through the following 8-step pipeline:
- Define product information and generate script
- Generate video and produce sound effects (SFX)
- Assemble video and add voiceover
- Finalize video and generate social media posts
Gemini 2.0 Flash is responsible for refining vague ideas into concrete product concepts and generating a structured JSON script consisting of 4 scenes (5 seconds each). Each scene includes voiceover, a video generation prompt, and sound effect descriptions, providing a customized script tailored to the product's mood and target audience.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.