Under the hood

From a whispered idea to an illustrated book

A story on StoryCraft passes through a small assembly line of AI models, each with one job. Here is what happens between "once upon a time" and the finished book, without the secret recipe.

specialised AI models
4
independent safety checks
2
minutes from idea to book
~2
servers to look after
0

The pipeline

Six stages, run automatically in the background. You can close the tab; the book keeps being made.

  1. 01

    Listen

    A spoken idea, even a rambling bedtime improvisation, is transcribed by a speech-recognition model and then tidied up, so "umm" and "and then, and then" do not end up in the book.

  2. 02

    Understand

    The language is detected automatically, so a story told in Polish stays Polish and one told in English stays English, all the way to the last page.

  3. 03

    Protect

    Before a single word is written, the idea passes two separate safety reviews designed for content meant for children. Anything unsuitable is stopped right there.

  4. 04

    Write

    A large language model drafts the story to a strict blueprint: a title, a set of pages, a cast of characters with consistent descriptions, and a director's note describing what each page should look like.

  5. 05

    Illustrate

    An image model paints every page from those director's notes. Characters are described the same way on every page, which keeps the fox looking like the same fox from cover to cover.

  6. 06

    Assemble

    Pages and pictures are bound into a finished book you can read, play as an autoplay story or save as a PDF, and the author is told it is ready.

The hard part: keeping characters recognisable

Image models have no memory between pictures. StoryCraft works around that by deciding who the characters are before anything is drawn, then carrying those descriptions into every illustration, so the story reads like one book rather than a stack of unrelated pictures.

Built on the edge

The whole platform runs on Cloudflare's global network: the website, the database, the image storage and the AI models themselves. A story is written, painted and stored without ever leaving that network, and there is no server in a cupboard to patch, reboot or pay for while it sits idle.

Then and now

A few years ago

Hand-coded, line by line

The first StoryCraft was written entirely by hand by one developer-parent, built on some of the earliest public OpenAI endpoints, and ran on a single rented server as a private family tool.

Today

Ported to the edge by AI agents

The recent move to Cloudflare, covering the new database, storage, models and safety hardening, was carried out by AI coding agents working under human direction. An AI storytelling app, rebuilt by AI.

See what the pipeline made

Explore the library