Python script that chains several language models to generate novella or novel-length stories from a prompt file.
Run outline, chapter and revision steps across local Ollama, Google or OpenRouter models.
AI Story Generator (AIStoryWriter) is a Python project that produces novella- to novel-length stories from a text prompt. It suits technically comfortable writers and hobbyists who want to experiment with local or cloud models.
You run Write.py with a prompt file and it drives a multi-step pipeline: initial outline, chapter outlines and chapter writing, each of which can use a different model. Models are given in the format provider://model@host, with ollama, google and openrouter supported. It can download missing models through Ollama and translate generated stories.
It suits experimenters who want to compare model combinations for long-form fiction. It is a poor fit for writers who want a guided editor, since the README itself lists repetitive phrasing, chapter flow and pacing as open problems.
Use a different model for outline, chapter outline and chapter writing.
Missing models can be downloaded automatically through Ollama.
Google and OpenRouter models are supported alongside local ones.
The README says generated stories can be translated into other languages.
Change prompts in Writer/Prompts.py or add your own prompt files.
A Docs/Models.md page recommends models for different GPUs.
Free under AGPL-3.0 with no paid plan shown. Costs come from your own GPU hardware or from any cloud model provider you connect.
767 open remote AI-training roles, updated November 14, 2026; most pay $20–$175 an hour. Zekai lists them free; the application goes to the employer’s platform.
These reviewed AI tools do the same job instantly — from our scored directory.
For local Ollama models, yes in practice; the README links a model guide by GPU capability and also offers Google as a cloud option for people without powerful GPUs.
The README lists ollama, google and openrouter.
AGPL-3.0. The README notes that if you modify the code and offer it as a network service you must share your modified source.
See Zekai first in Google