Home Blog

How to Use the Seed Voice Replication 2.0 API

Seed Voice Replication 2.0 API blog cover

Nov 28, 2026

EmpirioLabs AI

Disclosure: This article was written with AI assistance and reviewed by EmpirioLabs AI.

Seed Voice Replication 2.0 is available on EmpirioLabs. It is ByteDance's voice cloning: one recording of 10 to 60 seconds of a person speaking makes a reusable custom voice that speaks on Seed TTS 2.0 and works as a reference voice in Seed Audio 1.0 scenes. It is billed once per voice created, and speech with the voice is billed at Seed TTS 2.0's per-character price.

Try it in the Playground, read the parameters in the docs, and see the current rate on the Seed Voice Replication 2.0 model page.

Make a voice, then speak with it

Creating a voice runs as a job: POST /v1/audio/generations answers at once with a job_id, and GET /v1/jobs/{job_id} returns the voice_id and a short preview clip when the voice is ready. Then send the voice_id to Seed TTS 2.0:

import base64
import os
import time

import requests

API = "https://api.empiriolabs.ai/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['EMPIRIOLABS_API_KEY']}"}

# 1. Make the voice from 10 to 60 seconds of one person speaking.
with open("my_voice.wav", "rb") as f:
    recording = "data:audio/wav;base64," + base64.b64encode(f.read()).decode()
job = requests.post(f"{API}/audio/generations", headers=HEADERS, timeout=60, json={
    "model": "seed-voice-replication-2-0",
    "audio": recording,
    "language": "en",
    "preview_text": "Hello! This is my new custom voice.",
}).json()
while True:  # the voice is made in the background; poll its job
    time.sleep(4)
    status = requests.get(f"{API}/jobs/{job['job_id']}", headers=HEADERS, timeout=60).json()
    if status["status"] not in ("queued", "processing"):
        break
if status["status"] != "completed":
    raise RuntimeError(status.get("error"))
voice_id = status["result"]["data"][0]["voice_id"]

# 2. Speak with it on Seed TTS 2.0.
speech = requests.post(f"{API}/audio/speech", headers=HEADERS, timeout=120, json={
    "model": "seed-tts-2-0",
    "voice_id": voice_id,
    "input": "Welcome back. Here is a quick summary of today's news.",
    "instruction": "Warm and calm",
})
speech.raise_for_status()
with open("summary.mp3", "wb") as f:
    f.write(requests.get(speech.json()["data"][0]["url"], timeout=60).content)
print("voice ready; spoke", speech.json()["usage"]["billable_characters"], "characters")

It printed voice ready; spoke 54 characters. The voice was ready about 15 seconds after the request.

The recording

  • 10 to 60 seconds of one person speaking, with little background noise: WAV, MP3 or OGG Opus, at most 10 MB, as an https URL or a base64 data URI in audio.
  • language is the language spoken in the recording; the voice speaks it best. Twenty languages are supported, among them English, Chinese, Japanese, Spanish, Portuguese, German, French, Korean and Arabic.
  • transcript, the exact words spoken, can improve the likeness. denoise cleans a noisy recording and volume_normalization evens out its loudness.

Using the voice

  • On Seed TTS 2.0, a custom voice takes instruction and word timestamps and streams through POST /v1/audio/speech:stream, like a preset voice.
  • On Seed Audio 1.0, list the voice_id in voices and name it @Audio1 in the prompt.

Watch the launch film

The film plays a recording, then the custom voice Seed Voice Replication 2.0 made from it speaking a new line through the EmpirioLabs API. Watch it on YouTube.

Operational notes

  • Keep the voice_id. Each request makes a new voice, and the id works only on the account that created it.
  • Speak with a new voice within 7 days. A voice that has spoken once stays available.
  • Custom voices speak on Seed TTS 2.0. Seed TTS 3.0 refuses a voice_id.
  • A Chinese character counts as one character in speech with a custom voice.

Ready to use better endpoints?

Explore our models, or contact us about business inquiries, custom deployments, or anything else.