← Israel Gayoso

Oh Conejo

Bedtime stories written and read aloud on the phone.

iOS first, Android later English and Spanish In progress

A child (or a tired parent) types an idea, "a little rabbit who is afraid of the dark", and the app writes a bedtime story and reads it aloud, with different voices for the characters, a laugh here, a yawn there.

Everything happens on the phone. After a one-time download there is no server and no internet: the language model and the voices run locally. No account, nothing a child types ever leaves the device, and it works on a plane or in a tent.

How it works.

AppExpo (React Native) development build, one codebase for iOS now and Android later.
Writingllama.rn (llama.cpp) running a quantised Gemma 3 model on the phone's GPU (Metal on iPhone). About 20 to 40 tokens per second on an iPhone 13 or newer.
Models"Quick" (Gemma 3 1B, ~0.8 GB), "Better" (Gemma 3 4B, ~2.5 GB, needs the increased-memory entitlement) and "Ours", a fine-tune the same size as Quick.
VoicesNeural text-to-speech on the device through sherpa-onnx (Kokoro and Supertonic models), with the system voice as a zero-download fallback.

Our own storyteller model

The 4B model writes much livelier stories than the 1B, but it's three times the download and needs more memory. So I fine-tuned the small one: a LoRA on Gemma 3 1B Instruct, trained with mlx-lm on an Apple Silicon Mac, on about 1,100 bedtime stories in English and Spanish written to one style guide. Then it's fused and exported as a Q4_K_M GGUF, the same size as the stock model, so the app loads it exactly the same way.

The style guide is the real product: 180 to 260 words (or a long version of about 550), a refrain that comes back two or three times, sound words a voice can read ("whoosh, splash, boing"), a small problem solved with kindness or cleverness, nothing scary, and a last few lines that slow down into goodnight. Dialogue goes on its own line with the speaker's name, and a handful of tags ([laugh], [sigh], [yawn], [whisper]) tell the voice engine how to perform it. A comparison script writes the same unseen ideas with the stock and fine-tuned models side by side.

Bramble and the Apple Hat

One day the wind went whoosh, and three red apples tumbled down.

Bramble: "Oh! Breakfast for me, and breakfast for my friends!"

But how could a small hedgehog carry three big apples?

Bramble: [sigh] "Little paws, little nose, and such a long way to go."

Then he had an idea. He curled into a tight ball and rolled, very gently, onto the apples.

Pok! Pok! Pok! The apples stuck right onto his prickles, like a shiny red hat.

Bramble: [laugh] "Look at me! I am a walking apple tree!"

An excerpt from the training set: the format the model learns to write and the voices learn to perform.

Safe for small children, offline.

With no server there's no moderation API to lean on, so safety has three layers that also run on the phone:

  1. The idea is checked before anything is generated. An unsafe idea gets a friendly "let's pick a gentler idea".
  2. The prompt says what must never appear, and that the idea is only an idea, not instructions.
  3. The story is checked while it streams. Unsafe text is cut and never shown; the app retries once with calmer sampling, then falls back to a built-in gentle story.

The checker is an English and Spanish blocklist that ignores accents and catches simple tricks ("s3x", "s e x"), with an allowlist for harmless phrases ("shooting star", "estrella fugaz"). A test script runs it against tricky ideas and against the whole training set to catch false positives.

Where it is.

A working proof of concept on iPhone. Next: finishing the fine-tune, the app design, and Android.