Turns non-DRM ebooks and short pasted text into narrated audio with chapter metadata, optional voice cloning, OCR, and a Gradio web UI or headless CLI.
Overview
ebook2audiobook ingests common ebook and document formats, extracts readable text (including OCR for image pages), splits content into chapters when the source allows, and synthesizes speech through a large catalog of TTS backends ranging from lightweight CPU models to voice-cloning stacks.
Users can drive conversions from launcher scripts, pip-installed commands, or a Gradio interface shared on the local network. Output lands as standard audiobook-friendly containers such as M4B, MP3, FLAC, or WAV, with optional stereo encoding and SML-style tags for pauses or temporary voice switches.
Voice cloning accepts a reference clip, and preset or custom fine-tuned models can replace the default voices. Auxiliary tooling pre-downloads model bundles for offline machines, translates ebooks separately via bundled Argos tooling, and checks finished narrations for hallucinations.
Docker images support containerized runs on Linux hosts with persisted engine virtual environments. Hardware guidance starts around 2 GB RAM and 1 GB VRAM, with GPU backends optional on CUDA, ROCm, Apple Silicon, or Jetson.
Key features
- Fifty-plus selectable TTS engines
- Voice cloning from reference audio
- Chapter-aware M4B and MP3 export
- Gradio GUI plus headless CLI
- OCR for scanned page images
- SML pause and voice-switch tags
- Docker and pip install paths
- Wide multilingual language support
Use cases
- Personal audiobooks from EPUB library
- Narrating documents with cloned voice
- Batch converting ebook folders
- Offline TTS after model preload
- Short text snippets to audio files