To start using the AI novel generator, you need to download the application.
Visit this page to download: ai-novel-generator Releases
You will need to install Python and pip on your computer. To set up the required packages, open your terminal or command prompt and run:
pip install -r requirements.txt
Dependencies List:
requests>=2.31.0 - For making HTTP requests.python-dotenv>=1.0.0 - For managing environment variables.You must set up your API key to use the AI service. To do this, create a file named .env in the main directory of the application. Add the following line to the file:
SILICONFLOW_API_KEY=your_api_key_here
You can obtain your API Key from the SiliconFlow Official Website.
Now, you should test if your application connects to the AI service correctly. In the terminal, run:
python novel_generator.py --test-api
If the setup is correct, you should see a message confirming the connection.
You can now create your novel. For an interactive generation session, run the following command:
python novel_generator.py
The application will prompt you for topics and details about your novel. Provide the necessary information, and the AI will begin generating your story.
Feel free to explore various topics and plot ideas. The generator allows a mix of themes and genres, making your creative process flexible.
If you need further assistance, check the documentation within the repository. You can find guides and additional information on how to make the most of the AI novel generator.
You now know how to install and run the ai-novel-generator. This tool can help you quickly create engaging stories without extensive technical knowledge. Happy writing!