Hakolkal
Start a Project

Case study

Lalibook: one photo of a child, a picture book where they are the hero

A web app that writes a story for the child, draws every page with the same face, reads it aloud and makes it ready to print. I built it and I run it alone.

My role

Lalibook is my own product, not a client's. I designed it, I write it and I run it, alone: all 136 commits on its main branch are mine.

Visit lalibook.com

The situation

A picture book about one particular child needs three things: a story written for them, drawings where they look like themselves on every page, and a voice to read it at bedtime. Lalibook makes all three from one photo. The parent picks a story or tells one, approves the text, and gets a book that can be read on a screen, printed, or played from a QR code on its cover.

The constraint

The same child on every page. An image model draws a new face each time it is asked, so the face is fixed once: four portraits are drawn from the photo, the parent picks the closest, and every page is drawn from that portrait. Then Claude looks at each finished page, and a wrong one goes back once, without using the parent's redraws.

One book is dozens of paid calls to three outside services, and the first book is free. So new books, AI ideas and free redraws have a daily limit per account, checked before any paid call. Only a limited number of new accounts are approved automatically each day, and a book's credits come back if it cannot be created.

The photo is of a child. No book is created until the adult ticks a box stating they are the parent or guardian. Before it is stored, the photo is stripped of its metadata, location included; it sits in private storage and is deleted after 30 days.

What I built

The app is live at lalibook.com, in English, French and Hebrew. What it does today:

  • The story: 13 ready-made outlines, or four ideas from Claude based on what the child loves. Claude writes the text with the child's grammatical gender and a vocabulary paced to their age, with niqqud under 8 in Hebrew. Fixing the text is free, and the parent approves it before any page is drawn.
  • The drawings: FLUX Kontext draws the child's portrait from the photo, Nano Banana draws each page from that portrait so the face stays the same, in one of five styles: watercolor, ligne claire comic, 3D animated film, colored pencil or paper cut-out. A book keeps one style from the cover to the last page.
  • Redraws: any page can be redrawn as it is or with the scene in the parent's own words, and the parent keeps the old drawing or the new one. Each book comes with a set of free redraws, and more cost credits.
  • The voice: ElevenLabs reads each page with a native narrator voice per language, a man or a woman, with a soft sound of the scene underneath.
  • The files: a square 21 x 21 cm PDF for a screen or for a printer, an MP3, and a video of the book being read. The printed cover carries a QR code and a 6-digit code that open a private page playing the book aloud.
  • Our story: a second kind of book that turns a group of people and what happened between them into a gift book or a letter.
  • Accounts and payment: Google sign-in open to everyone, the first book free, then you pay per book with no subscription, and a book can be offered through a gift link.

The numbers

  • 5drawing styles
  • 3languages, for the story, the voice and the interface
  • 13ready-made story outlines
  • 4portraits drawn from the photo, the parent picks one
  • 361automated test cases, in 74 files
  • 136commits, 22 November to 3 December 2026

Every number above is counted from the main branch of the project's repository on 5 December 2026. There is no user, customer or revenue figure on this page.

What this is, and what it is not

This is a product I built and run myself, and it is young: the first commit on its main branch is from 22 November 2026. There is no usage number on this page: it shows what the software does, not that people use it. The models are not my work: Claude writes and checks, FLUX Kontext and Nano Banana draw, ElevenLabs reads.

Some of it is not proven yet. My own notes mark several recent changes as not yet tried against the real model or on a paid drawing, such as the AI rewrite of a story outline and some fixes for pages with several people. The page check does not judge likeness: whether the face still looks like the child is the parent's call, and a page that fails the check twice is kept. A native speaker has not yet checked all the Hebrew.

How it is tested: 361 automated test cases, with the database kept in memory and fakes in place of the paid services. They run with a type check on every push, and a push to the main branch deploys the app. 135 of the 136 commits carry an AI co-author line. That is how I write code, and I would rather say so here.

Stack

  • Next.js
  • TypeScript
  • Claude API
  • FLUX Kontext
  • Nano Banana
  • FAL
  • ElevenLabs
  • ffmpeg
  • Firebase App Hosting
  • Firestore
  • Cloud Storage
  • Firebase Auth

See it

Want something like this?

Tell me what you are building, or what you are still doing by hand, and I will tell you how I would approach it. No commitment.