workflows.fit
Back to n8n workflows
n8n templateFreeBy JJ Tham

Generate AI voiceovers from scripts with Gemini TTS and upload to Google Drive

Generate AI Voiceovers from Scripts and Upload to Google Drive This is the final piece of the AI content factory. This workflow takes your text-based video scripts and automatically generates high-quality audio voiceo...

Data & StorageProductivityDevelopmentCore NodesManual TriggerConvert To FileRead Write FileCode
Loading interactive preview...

Template notes

Generate AI Voiceovers from Scripts and Upload to Google Drive

This is the final piece of the AI content factory. This workflow takes your text-based video scripts and automatically generates high-quality audio voiceovers for each one, turning your text into ready-to-use audio assets for your video ads.

Go from a spreadsheet of text to a folder of audio files, completely on autopilot.

⚠️ CRITICAL REQUIREMENTS (Read First!) This is an advanced, self-hosted workflow that requires specific local setup:

Self-Hosted n8n Only: This workflow uses the Execute Command and Read/Write Files nodes, which requires you to run your own instance of n8n. It will not work on n8n Cloud. FFmpeg Installation: You must have [FFmpeg](https://ffmpeg.org/download.html) installed on the same machine where your n8n instance is running. This is used to convert the audio files to a standard format.

What it does This is Part 3 of the AI marketing series. It connects to the Google Sheet where you generated your video scripts (in Part 2). For each script that hasn't been processed, it:

1. Uses the Google Gemini Text-to-Speech (TTS) API to generate a voiceover. 2. Saves the audio file to your local computer. 3. Uses FFmpeg to convert the raw audio into a standard .wav file. 4. Uploads the final .wav file to your Google Drive. 5. Updates the original Google Sheet with a link to the audio file in Drive and marks the script as complete.

How to set up IMPORTANT: This workflow is Part 3 of a series and requires the output from Part 2 ("Generate AI Video Ad Scripts").