You ask an AI to come up with a story, and you get something smooth but bland: the hero wins on the first try, the villain willingly monologues their master plan, and every scene ends exactly where you expected. A weak model is rarely to blame here. More often, the issue lies in your premise and how you structure your conversation with the AI. Below are seven techniques that work with any neural network and in any genre: from setting up the initial conflict to a finale where every chapter leaves a hook that makes you want to read further.
Tips 1–2. Start with a Conflict and a Driven Hero, Not the World
Prompt the model to "describe a fantasy world and a hero," and you will almost certainly get a kingdom on the brink of war, an ancient prophecy, and an orphan with a mysterious past. The AI outputs the most probable continuation of your prompt, and the most probable outcome is a cliché. If there is no conflict in your prompt, the AI has nothing to latch onto, so it fills the void with tropes it has seen thousands of times.
Tip 1. A four-detail premise. Who is the hero, what do they want, what is stopping them, and how much time do they have (or what is the price of delay)? The model will sketch out the world around these pillars on its own, tailored to the task. If you want an original AI-generated story rather than a retelling of someone else's book, start with the hero's desire; the map of the kingdom can wait.
Tip 2. Internal contradiction. A weakness, a secret, or an old debt pulls the character away from their goal. The plot gets a second engine: the hero battles both the obstacle and themselves. The AI picks up these hooks well and naturally starts pitting them against each other in scenes.
- Before: "Fantasy world, a young mage goes on a journey."
- After: "An herbalist has three days to find an antidote for her brother. The only person who knows the recipe is an alchemist she once turned over to the Inquisition."
- Before: "A detective in a big city investigates a murder."
- After: "An investigator must close a case before the elections, or he will be fired. The main piece of evidence points to a man he owes a massive debt to."
In the second version of each pair, the model immediately sees where to apply pressure: there is a deadline, a price to pay, and a reason the hero can't just brute-force their way through.
Here is a mini-template to keep handy:
"[Hero] wants [goal], but [obstacle]; if they don't succeed by [deadline], then [price]. At the same time, they are hiding [secret / weakness / debt]."
Just one line like this is enough to start the first scene with tension, skipping the introductory lecture on world lore. The rest of the prompt details, from tone to rules, are covered in our AI roleplay prompt guide, but always start with the hero and their problem.
Tip 3. Set the Tone and Frame: Genre, Narrator's Voice, World Rules
The model catches the intonation from the first few lines and sticks to it. Write a dry "fantasy, hero goes into the forest," and you'll get the same average fantasy you've seen a thousand times. The model plays along much more eagerly when it understands what kind of "book" it has landed in.
Don't hesitate to mix genres. "Steampunk, detective, cozy atmosphere" instantly paints a picture: brass gears, a locked-room murder, yet cinnamon tea brewing in an unhurried investigator's office. Each word pulls the plot in its own direction, creating something entirely un-clichéd at the intersections.
Next, pick a voice. A cynical chronicler comments on heroic deeds with a smirk and doubts noble intentions. An old storyteller by the fire stretches the pauses and says, "and it came to pass in the third winter." The POV also changes the feel. First-person lets you hear the hero's thoughts, second-person ("you push the door") drops you right into the scene, and third-person provides cinematic distance.
You only need 3–4 bullet points for world rules, and it's best to phrase them by stating what is impossible:
- the dead cannot be resurrected, no matter the magic;
- steam engines break down if not oiled every single day;
- the police are corrupt; there will be no fair trial;
- telepathy does not exist; you only learn others' thoughts by talking to them.
Prohibitions work better than permissions: they stop the model from saving your hero with a convenient miracle.
Here are a couple of templates you can copy and tweak with your own genre, tone, and hero (for a deeper dive, check out our AI roleplay prompt guide):
- "Genre: steampunk, detective, cozy atmosphere. Narrator: tired, ironic reporter. Second person POV. There is no magic in this world, and airships only fly during the day."
- "Dark fantasy, storyteller's voice, third person. The gods are silent, wounds take weeks to heal, and lying in a temple is punishable by death."
Tips 4–5. Stakes and the Right to Say "No": Why AI is Too Nice to the Hero
You write "I lie to the guard," and the guard believes you. You write "I pick the lock," and it clicks open on the first try. AI models in text RPGs default to agreeing: you asked it to describe a success, so it does. After a dozen turns, it becomes clear that whatever you plan simply works, meaning there's no point in planning anything clever anymore. Tension relies on the question, "Will it work?" The model's answer is always "yes."
Tip 4. Allow the narrator to refuse. State this directly in your first message: "Do not play along with me. A risky action can fail, and failure has a price: a wound, a lost item, ruined relationships, a raised alarm." Ask that consequences remain persistent. If the hero is wounded in an alley, make sure they are still limping in the next scene, and a broken lockpick shouldn't magically reappear in their pocket.
Tip 5. Add fair randomness. Even with strict instructions, the model eventually starts pulling punches. A standard d20 helps: a real physical die on your desk or any dice-roller app. Before rolling, ask the narrator to set a difficulty from 1 to 20, where 5 means "almost guaranteed to work," 10 is an average check, 14 is a tough task, and 17 is bordering on impossible. The threshold depends on the scene and the hero: a thief picks a lock easier than a librarian. For details on picking the right number so the game doesn't turn into a pure lottery, read our article on d20 difficulty classes and setting success thresholds. Roll at or above the difficulty, and you succeed. A failure based on a die roll doesn't feel unfair because the dice decided it, not the narrator's whim.
To avoid rolling for every little thing, agree on three levels of action:
- No roll. Walking, looking around, talking, or opening an unlocked door are given to the hero automatically.
- Roll required. There is a risk or resistance, and the narrator names a difficulty.
- Impossible. In these circumstances, the action cannot be performed: you can't fly without wings, and you can't persuade someone who has already left the room. The narrator explains why, and there's nothing to roll for.
The final rule: failure pushes the story forward. Time runs out, someone gets suspicious, or a path gets blocked. If the player stubbornly repeats the same attempt, raise the difficulty. This way, failure becomes a new plot twist rather than something you just want to savescum until you win.
Tip 6. Give Supporting Characters Their Own Personalities and Memory
The innkeeper tells you exactly where the thief is hiding in their very first sentence. The guard lets the hero pass just because they asked nicely. Sound familiar? The model defaults to playing along with the main character, turning everyone into a smiling help desk. You can fix this with just three lines for every important NPC: what they want, what they are hiding, and under what conditions they are willing to help.
Then, explicitly give the AI permission to be stubborn. A line in your premise like "characters can lie, refuse, and demand payment if it benefits them" alters scenes more than you'd expect. Compare these two answers to the exact same question.
- Before: "Where's the Fox?" – "In the tanner's basement, third door on the left. Good luck!"
- After: "Where's the Fox?" The innkeeper rubs a mug for far too long. "Never heard of him. But I do have a tax collector breathing down my neck... Deal with him, and maybe my memory will improve."
In the second version, your hero gets a quest, the innkeeper gets leverage, and you get a reason to doubt: what if she actually doesn't know?
The second major issue is omniscience. The model sees all the text at once, so the miller easily "remembers" a conversation he wasn't even present for. Keep a short list of who knows what and update it after major scenes:
- The stash in the chapel: Hero, Mira.
- The miller sold out the squad: Only the miller.
- The hero's true name: No one.
Add a rule: characters only know what they have seen themselves or heard from others. The best AI roleplay games thrive on this exact mechanic, and you immediately feel the difference when NPCs don't know everything you know. Lies start to actually work, secrets stay hidden, and exposing the miller in Chapter 5 hits incredibly hard because no one suspected a thing.
Tip 7. Structure the Story in Chapters and Use Hooks
A long game unravels subtly. After forty turns, the model starts forgetting who owes whom, and the villain from the prologue simply vanishes around the third tavern. In a long session, the neural network remembers recent scenes much better than the beginning, so your plot needs anchor points.
Cut the story into chapters based on events. Counting turns is a poor metric here: twenty turns of haggling at a market can fit into a single scene, while a single stab wound can conclude an entire plotline. Good reasons to end a chapter:
- a conflict is resolved or completely fails;
- the hero changes locations, or a significant amount of time passes;
- a major revelation occurs that changes how the world is viewed.
Between chapters, ask the AI to summarize the interim results: what the hero knows, who they lost, and what questions remain open. Three to four sentences are enough. This summary can easily be pasted into future prompts to keep the model from losing the thread. We've written a dedicated guide on how chapters help preserve the plot in long campaigns.
The final scene of a chapter should end with a hook. An unsigned letter, footsteps outside the door, an ally caught in a lie. A question must remain unanswered, otherwise, there's no reason to start the next chapter.
And what if the player deviates from the intended path? Let them. Keep the core mystery and the ultimate climax unchanged, but rebuild the route to get there. Did the hero flee the city instead of investigating? Then let the clue catch up with them on the road. Before each new chapter, review your plan and tweak what hasn't happened yet. Never touch what has already occurred, not even for a cool plot twist: if you rewrite a scene that's already been played, the player will stop believing their choices matter.
Where to Apply These Tips: Manual Prompting vs. AI Game Masters
All seven techniques work in a standard chat with a neural network. The issue is the "cost" of maintaining it. You will have to repeatedly remind the model about the conflict, the tone, NPC personalities, and the fact that it's allowed to tell the hero "no." After twenty turns, your prompt grows to half a page, and the AI still forgets half of it. If you want to build such a prompt yourself, start with the five elements of an AI roleplay prompt to help maintain discipline.
The second path: use a game where some of these techniques are hardcoded into the mechanics. This is exactly how AI Quest, a text-based RPG with an AI Game Master, is built. You set the premise and the hero, choose your actions, and the narrator writes the scenes. You can pick any genre, even a wild mix like "steampunk, magic academy, detective" all in one line. The story is natively divided into chapters ending with narrative hooks.
The most useful built-in feature handles stakes. You choose the game mode once when you create the story. In 'Free Mode', there are no dice: the hero attempts an action, and the narrator decides the consequences. In the 'AI Quest Rules' mode, a d20 roll decides the outcome:
- The narrator assigns difficulty on a scale, tailoring it to the scene and your hero's skills. Mundane tasks require no roll, and impossible ones are rejected with an explanation.
- The server rolls the dice before you even see the number.
- A natural 1 hits the hero immediately in the narrative: a wound, a stolen item, a triggered alarm. A natural 20 brings a major boon that will help later.
- Failure pushes the plot forward, and repeating the same action costs more.
- A failed roll can be rerolled once using Rune Forge points.
Because refusals are based on the rolled number rather than the narrator's whim, you don't feel cheated. And the hero's successes actually mean something. The raw numbers aren't dumped into the story text; they're displayed neatly in the UI.
Both modes are open to everyone, and you can try them for free. If your stories lack world resistance, start with a d20 campaign and see how it transforms your premise at ai-qwest.com.
Why does the AI write predictable plots, and how can I fix it?
The model selects the most likely continuation, so without guidance, it defaults to familiar tropes: a chosen one, a wise mentor, a betrayal in the final act. Breaking the mold requires specificity. Give the hero a weird desire, the world one inconvenient rule, and the antagonist a clear motive. Ask the AI to suggest three diverging paths and pick the least obvious one. The tighter your premise, the less room there is for clichés.
What kind of premise works best for AI?
One where things have already gone wrong. "A world ruled by dragons" only gives the model set dressing. "A courier lost a package meant for a dragon, and has until sunset to find a replacement" gives you a hero, a goal, a deadline, and a problem. Three or four sentences covering the core are enough: what drives the hero, what's stopping them, and what failure will cost. The AI will gladly build out the rest.
How do I stop the AI from forgetting story details?
Keep a short summary handy: names, wounds, promises, and who owes whom. Every few turns, remind the model of the key facts, especially before a major scene. Breaking the story into chapters helps too: summarize at the end of each chapter to anchor the next one. Explicitly spell out details that need to matter later, otherwise, the model will just treat them as background flavor.
Do I really need dice in an AI RPG?
It depends on what you want out of the story. The AI is naturally inclined to say yes: declare a deception, and it succeeds. A die roll gives the narrator permission to say "no," with the refusal coming from math, not malice, making it feel fair. Read more about why AI is too agreeable and how dice bring back stakes. If you prefer a completely free-flowing narrative, just play without dice.
Can I mix multiple genres in one story?
Yes, and it often yields much more interesting results. Steampunk, a magic academy, and a detective plot blend perfectly if you decide which genre leads. Let the detective angle drive the plot, the academy provide the setting, and the steampunk element control the atmosphere. State this clearly in your premise so the model doesn't bounce between tones, ensuring every scene maintains a cohesive voice.
Comments