# Text Input Directory Place your book text files here for audiobook generation. ## Directory Structure Create a subdirectory for each book: ``` Text_Input/ ├── Book Name 1/ │ ├── book.txt # Main text file │ ├── cover.jpg # Book cover image (optional) │ └── book.nfo # Metadata file (optional) ├── Book Name 2/ │ ├── another_book.txt │ └── cover.png └── ... ``` ## Text File Requirements - **Format**: Plain text (.txt) files - **Encoding**: UTF-8 - **Content**: Clean text without excessive formatting - **Structure**: Use paragraph breaks for natural speech flow ## Optional Files - **cover.jpg/png**: Book cover image for M4B metadata - **book.nfo**: XML metadata file with book information (title, author, etc.) ## Text Preparation Tips - Remove table of contents, page numbers, headers/footers - Keep chapter headings (e.g., "Chapter 1") - Use proper punctuation for natural speech - Remove excessive line breaks or formatting - Ensure UTF-8 encoding for special characters ## Processing 1. Add your book directory to Text_Input/ 2. Run the main program and select your book 3. The system will chunk the text and generate JSON metadata 4. Use the generated chunks for TTS audiobook creation