Templates / Generate audio from text scripts using self-hosted Bark model and Google Drive

Generate audio from text scripts using self-hosted Bark model and Google Drive

Ready for 3.0

by Flavien · 917 views · created 2025-05-20 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 11 nodes and runs when another workflow calls it (plus 1 other trigger). Along the way it connects Google Drive.

How it runs

Trigger: When another workflow calls it (plus 1 other trigger).

  1. Aggregate: combines items into one
  2. Test Values (Edit Fields (Set)): sets 2 fields: id_repo_audio, id_repo_script
  3. Get Scripts (Google Drive): work with file folder
  4. Loop Scripts (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Download Script (Google Drive): download
  6. Save Script (Read/Write Files from Disk): writes a file to disk
  7. Generate WAV (Execute Command): runs a shell command on the n8n host
  8. Read Audio (Read/Write Files from Disk): reads a file from disk
  9. Upload Audio (Google Drive): uses Google Drive

Services it uses

Google Drive

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

Audio Generator – Documentation 🎯 Purpose: Generate audio files from text scripts stored in Google Drive. 🔁 Flow: 1. Receive repo IDs. 2. Fetch text scripts. 3. Generate .wav files using local Bark model. 4. Upload back to Drive. 📦 Dependencies: - Python…

Excerpt from Flavien's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.