AI-Ebooks is a project that leverages the power of the ChatGPT API to automatically generate E-Books in .docx format. This project is born out of curiosity and boredom, aiming to showcase the capabilities of AI in content creation.
- Automatic E-Book Generation: With AI-Ebooks, users can input a topic, target audience, number of chapters, and number of subsections, and the system automatically generates an E-Book outline and fills it with content.
- ChatGPT Integration: The project utilizes OpenAI's ChatGPT API to generate comprehensive outlines and detailed content for each subsection of the E-Book.
- Simple CLI Interface: Users interact with the program through a straightforward command-line interface, making it easy to generate E-Books without hassle.
- Customizable: Users have the flexibility to customize various aspects of the generated E-Books, including topic, audience, and structure.
To get started with AI-Ebooks, follow these steps:
- Clone this repository to your local machine.
- Install the required dependencies by running
pip install -r requirements.txt
. - Ensure you have an API key from OpenAI. You can sign up for an API key here.
- Replace the placeholder API key in the script with your actual API key.
- Run the script and follow the prompts to generate your E-Book.
- Python 3.x
- OpenAI API key
- Internet connection
- Run the script.
- Enter the topic of the E-Book when prompted.
- Provide the target audience for the E-Book.
- Specify the number of chapters and the number of subsections per chapter.
- Sit back and relax as AI-Ebooks generates your customized E-Book.
Contributions to AI-Ebooks are welcome! If you have any ideas for improvements or new features, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Note: This project is for educational and entertainment purposes only. The content generated by AI may not always be accurate or suitable for all audiences. Use discretion when using the generated E-Books.