Back to Templates
See llms.txt for all machine-readable content.
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 the go.
Example: Input PDF → Output Audiobook
| Component | Details |
|---|---|
| n8n | Self-hosted ONLY (cannot run on n8n Cloud) |
| FFmpeg | Must be installed in your n8n environment |
| Replicate API | For MiniMax TTS (Sign up here) |
| Google Drive | OAuth2 credentials + "Audiobook" folder |
⚠️ Important: This workflow does NOT work on n8n Cloud because FFmpeg installation is required.
Docker users:
docker exec -it <n8n-container-name> /bin/bash
apt-get update && apt-get install -y ffmpeg
Native installation:
sudo apt-get install ffmpeg # Linux
brew install ffmpeg # macOS
n8n.json into your n8n instance| Component | Cost |
|---|---|
| MiniMax TTS API | ~$0.15 per 1000 characters (~$3-5 for average book) |
| Google Drive Storage | Free (up to 15GB) |
| Processing Time | ~1-2 minutes per 10 pages |

PDF Upload → Extract Text → Split into Chunks → Convert to Speech (batches of 5)
→ Merge Audio Files (FFmpeg) → Upload to Google Drive
The workflow uses four main modules:
{
"voice_id": "Friendly_Person",
"emotion": "happy",
"speed": 1,
"pitch": 0
}
Available emotions: happy, neutral, sad, angry, excited
FFmpeg not found?
docker exec -it <container> /bin/bash then apt-get install ffmpegsudo apt-get install ffmpeg (Linux) or brew install ffmpeg (macOS)Rate limit errors?
Google Drive upload fails?
Created by emp0 | More workflows: n8n Gallery