DrewThomasson/ebook2audiobook

Generate audiobooks from e-books, voice cloning & 1158+ languages!

What it solves

It converts digital eBooks into high-quality audiobooks, allowing users to listen to their non-DRM books in a wide variety of languages and voices.

How it works

The tool processes eBook files (such as EPUB or PDF) and uses advanced Text-to-Speech (TTS) engines to synthesize speech. It supports multiple engines like XTTSv2, Bark, and VITS, and can perform voice cloning from a provided audio file. It also includes OCR scanning for image-based text pages and supports SML tags for fine-grained control over pauses and voice switching.

Who it’s for

Readers who want to turn their legal, non-DRM eBook collections into audiobooks, as well as developers or enthusiasts who want to use custom TTS models and voice cloning.

Highlights

  • Extensive Format Support: Converts from a wide range of formats including .epub, .pdf, .mobi, and .docx to various audio formats like .m4b, .mp3, and .wav.
  • Massive Language Support: Supports 1,158 languages and dialects.
  • Voice Cloning & Customization: Allows users to clone their own voices or use fine-tuned preset models.
  • Flexible Deployment: Can be run locally via a GUI (Gradio), in headless mode via CLI, or through Docker containers.
  • Low Resource Requirements: Minimum requirements of 2GB RAM and 1GB VRAM.
  • SML Tagging: Supports tags for adding specific breaks, pauses, and voice changes within the text.

Related

  • Project
  • Project
  • Project
  • Project
  • Project