Seed TTS 3.0 API

Expressive text-to-speech with 82 performance tags in 100+ languages.

PlaygroundAPI
Pricing
~2.46s
POST /v2/seed-tts-3.0 · submit + poll
 1# pip install "segmind>=1.1.0"
 2# export SEGMIND_API_KEY="YOUR_API_KEY"
 3import segmind
 4
 5# Async (v2): submit to the queue and block until COMPLETED.
 6# run() returns the final result dict (600s deadline, 1.0s poll by default).
 7result = segmind.run(
 8    "seed-tts-3.0",
 9    text="[whispering] Shh — hide, he's almost here. [gasps] [excited] Surprise! Happy 10th birthday, Theo! [laughs] [curious] Wait... are you crying? [reassuring] Oh, happy tears. Come here, buddy.",
10    voice_id="multi_female_stokie_v3_uranus_bigtts",
11    language_code="auto",
12    speed=1,
13    volume=1,
14    output_format="mp3",
15    bit_rate=160000,
16)
17print(result["status"])                      # COMPLETED
18print(result.get("output"))                  # model output (e.g. media URL)
19print(result["metrics"]["inference_time"])   # server compute seconds
20
21# --- Or submit + poll manually (track request_id, control the cadence) ---
22from segmind import SegmindClient, InferenceFailed, InferenceTimeout
23
24client = SegmindClient()                      # reads SEGMIND_API_KEY
25payload = {
26    "text": "[whispering] Shh — hide, he's almost here. [gasps] [excited] Surprise! Happy 10th birthday, Theo! [laughs] [curious] Wait... are you crying? [reassuring] Oh, happy tears. Come here, buddy.",
27    "voice_id": "multi_female_stokie_v3_uranus_bigtts",
28    "language_code": "auto",
29    "speed": 1,
30    "volume": 1,
31    "output_format": "mp3",
32    "bit_rate": 160000,
33}
34job = client.submit_async("seed-tts-3.0", **payload)
35print(job.request_id)                         # available immediately
36try:
37    result = job.wait(timeout=600, interval=1.0)
38except InferenceTimeout as e:
39    print("still running:", e.request_id)
40except InferenceFailed as e:
41    print("failed:", e.detail)

API Endpoint

POSThttps://api.segmind.com/v1/seed-tts-3.0

Parameters

textrequired
string

Text to speak, up to 10,000 characters. Direct it with English tags in square brackets, such as [happy], [whispering] or [sighs]. Tag characters are billed.

bit_rateoptional
integer

For MP3 and Ogg Opus. MP3 at 8,000 Hz takes only 64 kbps.

Default: 160000
Allowed values :
64 kbps→64000
160 kbps→160000
enable_markdown_filteroptional
boolean

Parse Markdown in the text.

Default: false
language_codeoptional
string

Output language or Chinese dialect — 119 codes. Auto-detect handles mixed-language text; set it when the accent matters.

Default: "auto"
Allowed values (120 total):
Auto-detect→"auto"
Afrikaans (South Africa)→"af"
Amharic (Ethiopia)→"am"
Arabic (Saudi Arabia)→"ar"
Assamese (India)→"as"
Asturian (Spain)→"ast"
Azerbaijani (Azerbaijan)→"az"
Belarusian (Belarus)→"be"
Bulgarian (Bulgaria)→"bg"
Bengali (Bangladesh)→"bn"
+110 more
output_formatoptional
string

Audio format. PCM has no header; Ogg Opus is always 48,000 Hz.

Default: "mp3"
Allowed values :
MP3→"mp3"
PCM (raw samples)→"pcm"
Ogg Opus→"ogg_opus"
sample_rateoptional
integer

Hz. Left empty: 24,000 for MP3 and PCM, 48,000 for Ogg Opus.

Allowed values :
8,000 Hz→8000
16,000 Hz→16000
22,050 Hz→22050
24,000 Hz→24000
32,000 Hz→32000
44,100 Hz→44100
48,000 Hz→48000
speedoptional
number

Speaking rate, 0.5 to 2. Lower it for narration, raise it for brisk announcements.

Default: 1Range: 0.5 - 2
text_normalizationoptional
boolean

Read numbers and dates the way a person would.

Default: true
voice_idoptional
string

One of 495 preset voices. Pick one whose native language matches your text for the most natural accent.

Default: "multi_female_stokie_v3_uranus_bigtts"
Allowed values (495 total):
Owen (English, male)→"multi_male_mpho_v3_uranus_bigtts"
Mason (English, male)→"multi_male_livesteve_v3_uranus_bigtts"
Dylan (English, male)→"multi_male_yangguangjieshuonan_v3_uranus_bigtts"
Kayla (English, female)→"multi_female_xinwenjieshuonv_v3_uranus_bigtts"
Megan (English, female)→"multi_female_wenrouzhishijieshuonv_v3_uranus_bigtts"
Valentino (English, male)→"multi_male_valentino_v3_uranus_bigtts"
Skye (English, female)→"multi_female_skye_v3_uranus_bigtts"
Sharron (English, female)→"multi_female_sharron_v3_uranus_bigtts"
Ryan (English, male)→"multi_male_ryan_v3_uranus_bigtts"
Blair (English, female)→"multi_female_nadia_v3_uranus_bigtts"
+485 more
volumeoptional
number

Loudness multiplier, 0.5 to 2.

Default: 1Range: 0.5 - 2

Response Type

Returns: Audio

Asynchronous requests (v2)

Use Async for video, long-running (>~60s), or high-concurrency workloads; Sync is simplest for fast image & LLM calls. Async submits a request and you poll it to completion.

  1. 1
    POST /v2/seed-tts-3.0

    Submit — returns request_id, status_url, response_url

  2. 2
    GET /v2/requests/{id}/status

    Poll — until COMPLETED or FAILED

  3. 3
    GET /v2/requests/{id}

    Result — final response body

Status states

QUEUED— Accepted, waiting for a worker
PROCESSING— Running on a worker
COMPLETED— Done — result body is ready
FAILED— Errored (incl. content/RAI blocks)
  • A FAILED request is served as HTTP 422 — the body still carries the error detail.
  • An unknown or expired request_id returns HTTP 404.
  • Results are retained for 1 hour, then expire.
  • Content / RAI blocks surface as FAILED, not a separate state.
  • Track completion by polling the status endpoint.

Common Error Codes

The API returns standard HTTP status codes. Detailed error messages are provided in the response body.

400

Bad Request

Invalid parameters or request format

401

Unauthorized

Missing or invalid API key

403

Forbidden

Insufficient permissions

404

Not Found

Model or endpoint not found

406

Insufficient Credits

Not enough credits to process request

429

Rate Limited

Too many requests

500

Server Error

Internal server error

502

Bad Gateway

Service temporarily unavailable

504

Timeout

Request timed out