Ebook to audiobook converter using MiniMax and FFmpeg
Ready for 3.0What this workflow does
This workflow has 14 nodes and runs when someone submits an n8n form (“Ebook to Audiobook”). Along the way it connects Google Drive. It also calls api.replicate.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Ebook to Audiobook”).
- EXTRACT TEXT (Extract from File): extracts data from a file (pdf)
- SPLITS THE TEXT ACCORGING TO RULES (Code): runs custom JavaScript code
- Loop Over Text chunks (5) at a time (Loop Over Items (Split in Batches)): loops over the items in batches
- CONVERTS URL TO AUDIO FILES (HTTP Request): calls an HTTP API
- MINIMAX TTS (HTTP Request): calls api.replicate.com (POST)
- GIVES INDEXES TO AUDIO FILES (Code): runs custom JavaScript code
- Wait: pauses before continuing
- Save Audio Chucks (Read/Write Files from Disk): writes a file to disk
- Generate `concat_list.txt` (Code): runs custom JavaScript code
- Save concat_list (Read/Write Files from Disk): writes a file to disk
…plus 3 more steps. See the full node list below.
Services it uses
HTTP calls to: api.replicate.com
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 (9)
- Read/Write Files from Disk
n8n-nodes-base.readWriteFile - Code
n8n-nodes-base.code - Execute Command
n8n-nodes-base.executeCommand - n8n Form Trigger
n8n-nodes-base.formTrigger - Extract from File
n8n-nodes-base.extractFromFile - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - HTTP Request
n8n-nodes-base.httpRequest - Google Drive
n8n-nodes-base.googleDrive
From the author
Ebook to Audiobook Converter ▶️ Watch Full Demo Video --- What It Does Turn any PDF ebook into a professional audiobook automatically. Upload a PDF, get an MP3 audiobook in your Google Drive. Perfect for listening to books, research papers, or documents on…