How AI Writes a Personalised Book
Most people who buy an AI-written book gift for the first time have a quietly nervous question they don't ask: is this actually going to be good, or is it going to feel like a chatbot wrote it? Fair question. Here's the honest answer, with the technology explained in a way that doesn't require a computer science degree.
The short version
When you fill out the GiftBookStory wizard, the answers are sent to a large language model β the same kind of system behind ChatGPT, but used in a much more structured way. The model doesn't write the whole book in one shot. Instead, it does three things in sequence:
- Plans β it produces a chapter-by-chapter outline based on the recipient's details and the genre you picked.
- Drafts each chapter in bounded parallel batches β instead of writing 19 chapters and an epilogue one after another, it drafts several at a time, each with the relevant plan, character and personal details.
- Stitches and validates β the chapters are stitched together, checked for consistency (no character names changing halfway through), and a few specific failure modes are detected and re-rolled if needed.
The complete production flow usually takes 30β45 minutes after purchase. That includes planning, drafting, validation, assembly and the digital-book render rather than only the raw model response time.
Why the planning step matters
The reason early AI book generators produced nonsense was that they tried to write a 25,000-word story in one continuous pass. Language models don't have unlimited working memory; the further they get from the start, the more likely they are to forget things you told them at the beginning. By chapter 7 the protagonist's best friend has changed names and the city the story is set in has quietly migrated 200 miles south.
The fix is to plan first, then draft. Once there's a written plan that says "Chapter 7: Maya finds the old letter in her dad's garage in Bristol," the model writing chapter 7 doesn't need to remember; it just needs to follow the plan. This is the same trick human authors have been using since the invention of the index card.
Why drafting in parallel matters
Two reasons:
- Speed. Bounded batches make a roughly 200-page book practical to create, usually within 30β45 minutes, without sending all 20 sections at once or overwhelming the model provider.
- Consistency. Counter-intuitively, parallel drafting produces more consistent stories than sequential drafting. Each chapter is grounded in the same plan and the same character notes, so there's no opportunity for the model to drift mid-story.
The trade-off is that parallel chapters can't reference each other directly β chapter 4 doesn't know exactly what chapter 3 said. The plan compensates for this by being detailed enough that chapter 4 doesn't need chapter 3 in front of it; it just needs to know what chapter 3 was supposed to accomplish.
What the model is actually using
A modern system like ours uses a few specific things to produce a personalised story:
- The recipient's profile β name, gender, age range, location, the answers to the wizard questions. This is the raw material.
- A genre system prompt β a long, carefully-tuned instruction set telling the model what tone, voice, and structure a "comedy" or "heartfelt" or "adventure" story should have.
- Hard constraints β things the story is forbidden to do (e.g. invent foreign cities the recipient has never been to, or use someone's name as a punchline if they didn't sign up for that).
- A validator β a small post-processor that checks each chapter for known failure modes (chapter ending mid-sentence, smart quotes leaking through, factual contradictions). If a chapter fails validation, it's regenerated.
The validator is the part most services skip and it's the part that makes the biggest quality difference. Without it you get a 1-in-10 book where chapter 6 ends with a half-finished sentence and the recipient assumes you bought them a broken product.
Why specificity in your answers matters so much
The model writes much better stories when you give it concrete details. Compare these two questionnaire answers:
"She's funny and adventurous and loves her dog."
vs.
"She has a chocolate Labrador called Biscuit who she takes on long muddy walks in the Peak District every weekend, and her go-to joke when anyone falls over is to clap slowly and say 'a perfect 10 from the Russian judge.'"
The first one tells the model nothing it doesn't already know about humans in general. The second one gives it Biscuit, the Peak District, the running joke, and a glimpse of voice. The book that comes out of the second answer is 3Γ warmer.
This is why the wizard asks structured questions instead of relying on one generic prompt. Every extra concrete detail you add is one more thing the story can be about.
What can still go wrong
In the spirit of being honest:
- Tonal mismatch. If the questionnaire suggests one tone but you pick a genre that wants a different tone, the story can feel slightly off. We're working on detecting this.
- Cultural specificity. The model is best at British and American settings. If the recipient lives somewhere it has less training data on, scenes can feel slightly generic.
- Forbidden topics. If you don't tell us what to avoid (a recent loss, an embarrassing topic), the model might brush against it. The wizard has a "things to avoid" field for this reason β use it.
These are the failure modes we know about. The way we mitigate them is the validator + a manual review queue for the small percentage of books that look statistically odd.
Bottom line
A modern AI book generator isn't a chatbot guessing one word at a time. It's a structured pipeline: plan, draft in parallel, validate, stitch, print. The result is a book that genuinely reads like it was written for one person, because in a meaningful sense it was β the model had access to enough specific material about the recipient to make decisions no template-based service could make.
If you want to see this in practice, read the AI generated book gift guide, then start the wizard and review the generated cover, title, and chapter outline before checkout.
Related reading: