AI novel generator using GPT-4, Stable Diffusion, and Anthropic APIs
Top 19.0% on sourcepulse
This project automates the creation of original fantasy novels using a chain of AI model calls, targeting writers and hobbyists seeking to generate complete e-books quickly and affordably. It leverages GPT-4 and Stable Diffusion to produce EPUB files, with a newer Claude 3 version offering improved quality and simpler code.
How It Works
The process begins with an AI-generated plot list based on a user prompt, followed by plot selection and refinement. A detailed chapter-by-chapter storyline is then created, with each chapter written individually, maintaining context from previous ones. Finally, cover art prompts are generated, the cover is created, and the entire novel is compiled into an EPUB file. This iterative approach aims to build a coherent narrative from initial concept to final output.
Quick Start & Requirements
pip install openai ebooklib requests
gpt_author_v2.ipynb
).Highlighted Details
Maintenance & Community
Contributions, issues, and feature requests are welcome. The project is maintained by Matt Shumer (@mattshumer_).
Licensing & Compatibility
MIT licensed. Permissive for commercial use and integration with closed-source projects.
Limitations & Caveats
The original GPT-4 version may require token management for longer novels. Some chapters might be cut off prematurely. The project is primarily focused on fantasy genre generation.
1 year ago
Inactive