Skip to content

Turn any common eBook file into an HQ Audiobook with F5-TTS (Easy Install)

License

Notifications You must be signed in to change notification settings

quantumlump/eBook_to_Audiobook_with_F5-TTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy eBook to Audiobook Converter with F5-TTS

image

Turn your eBooks into audiobooks using the F5-TTS text-to-speech model. This application allows you to upload an eBook file and a reference voice sample to generate a personalized audiobook. The app supports various eBook formats and provides advanced settings to customize the output.

HuggingFace Demo (extremely slow on free CPU tier, would recommend running locally with Docker, see below): https://huggingface.co/spaces/jdana/eBook_to_Audiobook_with_F5-TTS

Features

  • Voice Customization: Upload a voice sample (<15 seconds) to mimic in the generated audiobook.
  • Multiple eBook Formats: Supports .epub, .mobi, .pdf, .txt, and .html files.
  • Batch Processing: Upload multiple eBooks for batch conversion.
  • Advanced Settings:
    • Reference text input for more accurate voice cloning.
    • Adjust speech speed.
    • Customize cross-fade duration between audio chunks.
  • Metadata Handling: Extracts and embeds eBook metadata and cover images into the audiobook files.
  • Output Formats: Generates audiobooks with book covers embedded in .mp3 format. (.m4b format caused play/pause issues in some audiobook players.)
  • User-Friendly Interface: Built with Gradio for an interactive web UI.

Installation

CUDA GPU Recomended

Docker

  1. Install Docker

  2. Run the following single command in Command Prompt to build and start the application, once running, view the UI by going to http://localhost:7860/

docker build -t ebook_to_audiobook:latest https://github.com/jondana/eBook_to_Audiobook_with_F5-TTS.git && docker run -d --gpus all -p 7860:7860 --name ebook_to_audiobook_container ebook_to_audiobook:latest && docker logs -f ebook_to_audiobook_container

If you donwnload the repository into a folder:

  1. Double click Build.bat, wait for it to finish
  2. Double click Run.bat to launch

License:

  • GPL-3.0

Acknowledgments

About

Turn any common eBook file into an HQ Audiobook with F5-TTS (Easy Install)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published