Build a bedtime story app in your own voice with Ultron

Your own voice can read the bedtime story on the nights you cannot be there, and Ultron builds the whole app end to end.

Your own voice can read the bedtime story on the nights you cannot be there, and Ultron builds the whole app end to end.

This is the full build: an app that reads bedtime stories out loud in a clone of your own voice, built entirely in Ultron, no coding needed.

Some nights you just cannot be there for the bedtime story. This does not replace you, it just lets your voice be there on the nights you cannot. Ultron builds the whole app, clones your voice, and lets you tag the emotion so it sounds gentle and real. Here is exactly how.

What you are building

A simple app where you paste in any story and it reads it back in your own voice, softly, like you are actually there. Ultron does all the work:

  • Ultron builds the app. You describe what you want and it writes the whole thing, the app and the voice connection.

  • Ultron is your voice. You record yourself once, it clones your voice, and every story plays back in it.

Step 1, tell Ultron to build it

You do not need to know how to code. Paste this into Ultron:

Prompt
Build me a simple app that reads bedtime stories out loud in a cloned version of my voice. Use your built-in voice cloning through its API, and load my key from a .env file so it is never printed. I want to paste in a story as text, tag emotion inline like [whisper] or [soft], and hear it played back in my voice. Keep it beginner friendly, walk me through running it step by step, and explain each part in plain language as you go.

Step 2, clone your voice in Ultron

  • Create your free Ultron account and grab your API key. Put it in a .env file, never paste it into the chat.

  • Record a short, clean sample of yourself reading (a minute or two is plenty) and upload it so Ultron can clone your voice.

  • Copy your cloned voice ID, that is what the app uses to read in your voice.

Heads up: voice cloning is built into Ultron, so building this costs you nothing right now.

Step 3, add the emotion

A bedtime story should sound soft, not flat. You tag the feeling right in the text:

  • [soft] for the gentle parts

  • [whisper] for the sleepy ending

Ultron reads it with that warmth, so it sounds like you're actually tucking them in.

The starter code

Ultron writes and explains all of this for you, but here is the heart of it so you can see how simple it really is. Your key loads from the .env file, never hard-coded:

Prompt
import os from ultron_voice import Session, TTSRequest # your key is loaded from the .env file, never written in the code session = Session(os.environ["ULTRON_API_KEY"]) story = "[soft] Once upon a time, in a cosy little house, [whisper] and they all slept soundly." with open("bedtime.mp3", "wb") as audio: for chunk in session.tts(TTSRequest( text=story, reference_id="YOUR_CLONED_VOICE_ID", )): audio.write(chunk)

3 bonus prompts to run next

3 bonus prompts to run next3 prompts
1

Add a story library

Add a simple library to the app so I can save multiple stories and pick one to play each night.

2

Auto-play at bedtime

Add an option to automatically play a chosen story at a set time each night.

3

Make it kid-friendly

Give the app a calm, child-friendly screen with big buttons and a soft night-time color theme.

How to get the most out of it

  • New to building: do Step 1 and let Ultron walk you through it line by line. Ask it to explain anything confusing, that is the whole point.

  • For the best voice: record your sample somewhere quiet, reading warmly and slowly. The cleaner the sample, the more it sounds like you.

The honest part

This is meant to complement you, never replace you, it is for the nights you genuinely cannot be there. And your voice is yours: keep your sample and your API key private in that .env file, and only ever clone a voice you have the right to use, which is your own.

Run this on autopilot.

Everything in this guide becomes an agent inside Ultron: set it up once, keep it running. You review, it executes.

Free to start

Keep reading