Skip to content

LearnTutorials

Clone your voice with Gemini 3.8 Flash TTS

Turn a 30-second recording of your own voice into a saved custom voice in Google AI Studio, then direct it line by line.

By Recaply EditorsBeginner10 min5 stepsUpdated

A hand holds a microphone as sound lines curl toward a speech bubble

What you need

Voice replication is not offered in AI Studio in Illinois, Texas, the EEA, the UK, Switzerland or India.

  1. Step 1: Open the speech playground

    1 min

    AI Studio’s speech page is free to try, and voice replication is built in.

    1. Go to aistudio.google.com/generate-speech and sign in with your Google account.
    2. In the Model menu, pick Gemini 3.8 Flash TTS.
    3. Open the Voice menu and pick Voice replication.
    AI Studio's speech page: Gemini 3.8 Flash TTS picked in the Model menu, and Voice replication picked in the Voice menuAI Studio's speech page: Gemini 3.8 Flash TTS picked in the Model menu, and Voice replication picked in the Voice menu

    You should see a request for two recordings: a reference clip and a consent clip.

    No Voice replication option?

    It is not offered in AI Studio in Illinois, Texas, the EEA, the UK, Switzerland or India. The Gemini API does offer it in the EEA, the UK and Switzerland, on a paid-tier project.

  2. Step 2: Record a reference clip

    3 min

    This is the voice Gemini learns from, and 10 to 30 seconds is enough.

    1. Sit in a quiet room, close to the mic, with no music, echo or second voice.
    2. Click Record and talk naturally for 10 to 30 seconds, about anything. Or upload a clip you already have.
    3. Play it back, and record again if you hear noise or another voice.
    The reference clip recorder: a 24-second clip with Record, Play and Upload a fileThe reference clip recorder: a 24-second clip with Record, Play and Upload a file

    You should see a clip of 10 to 30 seconds, with one clear voice.

    The clip was rejected?

    Gemini only takes real recordings. It turns down synthetic speech, and audio that already carries a SynthID or C2PA watermark.

  3. Step 3: Record the consent clip

    1 min

    Google checks that the owner of the voice agrees. Without this clip, no voice is made.

    1. Read the consent line AI Studio shows you, in the same voice as the reference clip.
    2. Use the same mic, in the same room, as in step 2.
    The consent clip: the consent statement to read aloud, and a check that it matches the reference clipThe consent clip: the consent statement to read aloud, and a check that it matches the reference clip

    You should see a check mark: the two clips match, and the preview opens.

    Verification failed?

    The two clips were probably recorded in different conditions. Record both again, back to back, with the same mic in the same room.

  4. Step 4: Preview and save the voice

    2 min

    A saved voice sounds the same every time you use it, in every project.

    1. Play the preview.
    2. Name the voice, for example My voice, and save it.
    3. Building an app? Copy its voice_ ID to use the voice in the Gemini API.
    The saved voice: a preview to play, the name My voice, and its voice_ ID to copyThe saved voice: a preview to play, the name My voice, and its voice_ ID to copy

    You should see My voice at the top of your voice list, marked Custom.

    Saved voices are kept for a year after you last use them, and each project holds up to 200.

  5. Step 5: Generate speech with direction

    3 min

    One style line sets the delivery, and tags put pauses and sounds exactly where you want them.

    1. In the Voice menu, pick My voice.
    2. Paste the script below, with its style line on top.
    3. Click Run and listen.
    Your script
    Read this as a calm product walkthrough, warm and unhurried.
    
    Here's what's new this week. <short pause> Three features shipped, and one of them changes how you'll work. <short pause> The third one is the one to watch.
    Generating speech: My voice picked, the script with its style line and pause tags, and RunGenerating speech: My voice picked, the script with its style line and pause tags, and Run

    You should see your script, read in your voice, the way you directed it.

    It sounds flat or odd?

    Keep the delivery in one style line at the top. Leave fixed traits such as age or accent out of it, and skip notes like “keep the same voice”.

    Tags go right where the sound should happen: <short pause> for a beat of silence, <laugh>, <sigh> or <gasp> for a sound.

You get

A saved custom voice that sounds the same in every project

Did this guide work for you?

Sources