Generate Audio from Text Scripts using Self-Hosted Bark Model and Google Drive β n8n Workflow
Overview
Audio Generator β Documentation
π― Purpose: Generate audio files from text scripts stored in Google Drive.
π Flow: Receive repo IDs. Fetch text scripts. Generate .wav files using local Bark model. Upload back to Drive.
π¦ Dependencies: Python script: /scripts/generate_voice.py Bark (voice generation system) n8n instance with access to local shell Google Drive OAuth2 credentials
βοΈ Notes: Script filenames must end with .txt Only works with plain text No external API used = 100% free
π¦ /scripts
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 11 nodes, connecting aggregate, executecommand, executeworkflowtrigger.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (11)
Google Drive
googleDrive
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows β New β Import from file.
- 3Select the downloaded
generate-audio-from-text-scripts-using-self-hosted-bark-model-and-google-drivefile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n β Import from JSON:
Integrations
Created by
Flavien
@flavien
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free β