AI Story Generator - use Ollama LLM to Generate Fascinating Stories

AI Story Generator - use Ollama LLM to Generate Fascinating Stories

AI Story Generator 📚✨ is a powerful app that uses large language models (LLMs) such as Ollama to craft full-length novels and immersive long-form stories from user prompts.

It is a game-changer for writers, aspiring novelists, and content creators looking to transform their ideas into complete stories without the hassle of writing initial drafts.

13 Open-Source Solutions for Running LLMs Offline: Benefits, Pros and Cons, and Should You Do It? Is it the Time to Have Your Own Skynet?
As large language models (LLMs) like GPT and BERT become more prevalent, the question of running them offline has gained attention. Traditionally, deploying LLMs required access to cloud computing platforms with vast resources. However, advancements in hardware and software have made it feasible to run these models locally on personal

Simply, the app takes your story ideas and turns them into complete novels using advanced AI. We love how it keeps track of all the characters perfectly - their personalities, backstories, everything stays consistent from start to finish.

The best part? It gives you a solid story outline right from the start, so you're never staring at a blank page. Whether you're an experienced writer or just starting out, this tool makes the whole process so much smoother.

We've seen it in action, and it really does deliver on creating engaging, full-length stories from simple prompts.

10 Free Apps to Run Your Own AI LLMs on Windows Offline – Create Your Own Self-Hosted Local ChatGPT Alternative
Ever thought about having your own AI-powered large language model (LLM) running directly on your Windows machine? Now’s the perfect time to get started. Imagine setting up a self-hosted ChatGPT that’s fully customized for your needs, whether it’s content generation, code writing, project management, marketing, or healthcare

Features

  • Generate medium to full-length novels: Produce substantial stories with coherent narratives, suitable for novella or novel-length works.
  • Easy setup and use: Get started quickly with minimal configuration required.
  • Customizable prompts and models: Choose from existing prompts or create your own, and select from various language models.
  • Automatic model downloading: The system can automatically download required models via Ollama if they aren't already available.
  • Support for local models via Ollama: Run language models locally for full control and privacy.
  • Cloud provider support (currently Google): Access high-performance computing resources for those without powerful GPUs.
  • Flexible configuration options: Fine-tune the generation process through easily modifiable settings.
  • Works across all operating systems
  • Supports translation of the generated stories in all languages

Install and Run

Getting started with AI Story Generator is easy:

  1. Clone the repository
  2. Install Ollama for local model support
  3. Run the generator:

./Write.py -Prompt Prompts/YourChosenPrompt.txt

That's it! The system will automatically download any required models and start generating your story.

Optional steps:

  • Modify prompts in Writer/Prompts.py or create your own
  • Configure the model selection in Writer/Config.py

You can override the default models by specifying them as command-line arguments:

./Write.py -Prompt Prompts/YourChosenPrompt.txt -InitialOutlineModel "ollama://llama3:70b" ...

Available command-line arguments are stated in the Write.py file.

The model format is: {ModelProvider}://{ModelName}@{ModelHost}?parameter=value

  • Default host is 127.0.0.1:11434 (currently only affects ollama)
  • Default ModelProvider is ollama
  • Supported providers: ollamagoogleopenrouter
  • For ollama we support the passing of parameters (e.g. temperature) on a per model basis

Example Usage:

./Write.py -Prompt Prompts/YourChosenPrompt.txt -InitialOutlineModel "google://gemini-1.5-pro" -ChapterOutlineModel "ollama://llama3:70b@192.168.1.100:11434" ...

This flexibility allows you to experiment with different models for various parts of the story generation process, helping you find the optimal combination for your needs.

NOTE: If you're using a provider that needs an API key, please copy .env.example to .env and paste in your API keys there.

2. Using Writer/Config.py

Edit the Writer/Config.py file to change the default models:

INITIAL_OUTLINE_WRITER_MODEL = "ollama://llama3:70b"
CHAPTER_OUTLINE_WRITER_MODEL = "ollama://gemma2:27b"
CHAPTER_WRITER_MODEL = "google://gemini-1.5-flash"

License

AGPL-3.0 License

Resources & Downloads

GitHub - datacrystals/AIStoryWriter: LLM story writer with a focus on high-quality long output based on a user provided prompt.
LLM story writer with a focus on high-quality long output based on a user provided prompt. - datacrystals/AIStoryWriter

More Resources about AI, LLMs and Creative Writings

Top 21 Free Apps for Fictions Writers, Screenwriters and Novelists (Windows, Linux, & macOS)
Crafting compelling fiction requires specialized tools beyond basic text editors. Whether you’re drafting a novel, screenplay, or short story, you need features to organize complex plots, develop rich characters, and track timelines. This list highlights 21 powerful free apps to support writers at every stage - from initial ideation to
13 Open-Source Solutions for Running LLMs Offline: Benefits, Pros and Cons, and Should You Do It? Is it the Time to Have Your Own Skynet?
As large language models (LLMs) like GPT and BERT become more prevalent, the question of running them offline has gained attention. Traditionally, deploying LLMs required access to cloud computing platforms with vast resources. However, advancements in hardware and software have made it feasible to run these models locally on personal
Trelby - Free Screenwriting Program for Professional Writers (Windows & Linux)
Trelby is a powerful yet free screenwriting software built for simplicity and ease of use. Designed to streamline the screenwriting experience, it features a clean, intuitive layout that makes writing scripts effortless and enjoyable. Trelby’s flexibility shines through its highly customizable options, allowing writers to tailor the workspace to
Top 11 Free Open-Source AI Search Engines Powered by LLMs You Can Self-Host
The AI Search Revolution: Beyond Keywords The way we search online is changing dramatically. Gone are the days of awkwardly stringing keywords together, hoping to find what we need. A new wave of search engines, powered by Large Language Models (LLMs), is making search feel more like asking a smart
18 Recommended Open-Source Tools for Writers and content creators
In this article, we want to share with you 10 free and open-source programs that are going to be great and help you if you are an author or a writer. Every tool here helps with different aspects from story boarding, actual book creation to artwork creation as well, and
Exploring 12 Free Open-Source Web UIs for Hosting and Running LLMs Locally or On Server
Are you looking to harness the capabilities of Large Language Models (LLMs) while maintaining control over your data and resources? You’re in the right place. In this comprehensive guide, we’ll explore 12 free open-source web interfaces that let you run LLMs locally or on your own servers – putting the power
Leveraging Large Language Models (LLMs) for Disease Diagnosis and Healthcare
Introduction to Large Language Models (LLMs) Large Language Models (LLMs) represent a significant advancement in artificial intelligence, specifically in the domain of natural language processing. These sophisticated models are trained on extensive text datasets, enabling them to perform a wide array of language-related tasks with remarkable proficiency. Prominent examples of







Open-source Apps

9,500+

Medical Apps

500+

Lists

450+

Dev. Resources

900+

Read more