DEV Community

Cover image for Your AI says "Dada" wrong — here's how we make voices pronounce any kid's name
Lorenzo Corpita
Lorenzo Corpita

Posted on

Your AI says "Dada" wrong — here's how we make voices pronounce any kid's name

I run Cirrela. Our best-selling product is oddly specific: a short vertical video where Santa (or an elf, Mrs Claus, the Three Kings…) says a child's first name. €6.99 / $6.99, once, no subscription. This post is about the part nobody thinks about until it goes wrong: getting the voice to actually say the name correctly — in eight languages, for names like "Dada", "Maël", "Nguyễn" or "Aaliyah". Disclosure: it's our product, and this post was written with AI help, then checked by me.

The complaint that taught us

On Reddit this week a parent described exactly our problem space: she paid for credits on two AI video sites, and what came back was unusable — the voice mispronounced "Dada" and sang "HO HO HO" weirdly, and the video was the wrong length. She bought a $5.99 competitor in the end because it was "close enough".

That thread is worth reading if you build anything with names in it. The pattern is always the same: the demo video sounds perfect because the demo name is "Emma". Real customers have "Siobhán", "Krzysztof", "Aiko", "Dada".

Why names break TTS

Text-to-speech models are trained mostly on common words in majority languages. A name is a proper noun with no dictionary entry, so the model guesses — and it guesses badly for:

  • Phonetic traps: "Dada" comes out "Dah-dah", "Holly" becomes "Hall-ee" or "Hol-lee" depending on the voice.
  • Unusual spellings: "Maël", "João", "Saoirse" — the model reads letters, not sounds.
  • Code-switching: a French parent writes "Chloé" inside an English script; the English voice butchers the accent.
  • Homographs: ".read" vs "red" — names have the same problem at smaller scale.

Lip-sync models make it worse: the mouth has to match the wrong pronunciation, so you can't just fix the audio afterwards.

What we actually do

Three layers, from cheapest to most reliable:

1. The script never hardcodes the name. Every wish script has a {name} slot filled at render time. So the fix isn't "regenerate with a different prompt" — it's controlling exactly what the TTS sees.

2. Write it the way it's pronounced. The form tells parents they can type the name as it sounds ("Siobhan" → "shiv-AWN"). Most people don't need this; the ones who do save themselves a retake. This is the same trick ElevenLabs users know, applied to a product for people who have never heard of TTS.

3. One free fix, made on us — but bounded. If the name still sounds wrong, the parent can change the spelling once and we re-render free. The catch: the fix must stay a spelling of the same name. We compute the edit distance and refuse changes that turn one child into another — "Mael" → "Maël" is allowed, "Léa" → "Lou" is not (it's literally a different kid). Short names get an even tighter limit: one edit max. This matters because "one free retake" is an open invitation to farm free renders if it's unbounded.

The funny part: bounding the fix also protects the customer. A parent who "fixes" the name into a different name gets a video for the wrong kid — a refund conversation we don't want either.

Numbers worth knowing

  • A wish video is ~9–15 seconds, generated through HeyGen's avatar/video pipeline on fal.ai — the same class of model you'd call directly, wrapped so a parent never sees a prompt box.
  • Voices are per-character presets (warm deep Santa, bright elf, gentle grandmother) across en, fr, es, pt, pt-PT, hi, ar, id — the name slot is localized, so "{name}" sits inside a grammatically correct sentence in each language, not just swapped into English word order.
  • The full video is free to watch with our watermark before paying. That's not just a conversion trick — it's the only honest answer to "will it pronounce my kid's name right?" You hear it before you pay.

The part I'd do differently

If I were starting over, I'd build a tiny pronunciation preview before the full render: five seconds of the character saying just the name, rendered in ~20 seconds for pennies, so the parent confirms the sound before we spend on the whole scene. We do the full preview free instead, which works — but it costs us a full render per curious visitor. The name-only preview is the obvious next optimization, and the Reddit thread above is why it's now on the list.

Takeaway for builders

If your product says a user's name out loud, the demo will lie to you. Test with "Dada", "Siobhán" and "Nguyễn" before you test with "Emma" — and give people a way to respell, not just a support email. Pronunciation is a feature, and it's the one that decides whether someone trusts you enough to pay twice.

— Lorenzo, founder of Cirrela

Top comments (0)