โœฆ  The story behind the story  โœฆ

About this project

A Le Wagon data-science capstone brought back to life with Claude AI

๐Ÿง 

Why creativity matters for kids

Child-development experts recognise that imagination is essential โ€” not just for fun, but for understanding the world. It lets children ponder things they haven't experienced directly, from ancient history to far-off places.

Stories are one of the oldest tools we have for building empathy, language, and curiosity. A bedtime story isn't just a way to fall asleep โ€” it's a tiny portal into another world.

That's exactly what this app is for: giving parents and kids an endless supply of personalised adventures at the end of every day.

โš™๏ธ

How it works

Type (or speak) a story beginning, choose a style, and Claude AI โ€” Anthropic's latest language model โ€” continues the tale in the tone you picked. The Temperature slider controls how wild or predictable the prose gets; the Length slider sets roughly how many words to add.

The voice-to-text feature lets you dictate without typing, and finished stories can be saved locally, exported to PDF, or printed to tuck under a pillow.

1
Pick a beginning Choose a story starter or write your own opening line
2
Choose a style Fairy Tales, Adventure, or Sci-Fi โ€” each has its own flavour
3
Claude writes The story continues in seconds, ready to read aloud
4
Keep going Add Claude's text to your story and generate the next chapter
๐Ÿ“š

The three story styles

Each style has a distinct system prompt that steers Claude's tone and vocabulary

๐Ÿงšโ€โ™€๏ธ

Fairy Tales

Warm, whimsical language drawn from the tradition of Grimm, Andersen, and the Arabian Nights. Gentle imagery, happy resolutions, aged 4โ€“10.

Inspired by 12.5 MB of 19th-century fairy tale collections โ€” 42 718 unique words
๐Ÿ‘บ

Adventure

Brave heroes, mysterious creatures, and exciting (but age-appropriate) quests. Comforting enough for bedtime, thrilling enough to keep eyes wide open.

Inspired by Lovecraft's 102-story catalogue โ€” 45 543 unique words
๐Ÿ‘พ

Sci-Fi

Cosmic wonder, friendly robots, and curious future worlds. Uplifting and imaginative, perfect for kids who ask "but why is space so big?"

Inspired by 149 MB of Pulp Magazine archives โ€” 330 117 unique words
๐ŸŽ“

Origin story

This project started as a data-science capstone at Le Wagon Shanghai โ€” Batch #708. The original version fine-tuned a GPT-2 transformer on three hand-picked text corpora and deployed it to Google Cloud Run.

The current version replaces the custom model with Claude AI (Anthropic), gaining dramatically better prose, reliable safety filtering, and the ability to follow genre instructions precisely โ€” all while keeping the same playful interface.

Learn about Le Wagon โ†’