Skip to content

Mage API · Audio model

Seed TTS API

Expressive speech you direct with tags

POST https://api.mage.space/v1/seed_tts/generate

At a glance

The Seed TTS API runs Seed TTS 3.0 through Mage at POST https://api.mage.space/v1/seed_tts/generate. A request at the default settings costs 3 Gems (about $0.003), with no subscription. Seed TTS takes no @handle mentions.

  • AudioOutput
  • 1Variant
  • 3Gems per clip, default
  • $0.003About, in USD

Overview

What the Seed TTS API does

Seed TTS 3.0 by ByteDance: expressive speech in 37 voices and 100+ languages, directed line by line with 82 audio tags like [whispering], [laughs], or [sighs]. Up to 10,000 characters.

Mage's default text to speech: ByteDance's Seed TTS 3.0 reads the prompt aloud in one of its preset voices, in 100+ languages, as an MP3 as long as the text. Audio tags in square brackets (82 of them, always in English) direct the emotion, the delivery, and sounds like laughs and sighs: [happy], [whispering], [laughs], [sighs]. Tags are never read aloud.

It generates from the prompt alone.

Quick start

Call the Seed TTS API

Set MAGE_API_KEY, submit to /seed_tts/generate, and poll status_url until the request completes.

cURL
STATUS_URL=$(curl --request POST 'https://api.mage.space/v1/seed_tts/generate' \
  --header "Authorization: Bearer $MAGE_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "[thoughtful] Every lighthouse keeps one promise: to stay lit until morning. [sighs] It kept it.",
  "model_id": "seed-tts-3.0"
}' | jq -r '.status_url')

# Repeat until status is "completed"; result.url is the file
curl "$STATUS_URL" --header "Authorization: Bearer $MAGE_API_KEY"
TypeScript
// npm install @mage-space/sdk
import Mage from '@mage-space/sdk';

const mage = new Mage(); // reads MAGE_API_KEY

const request = await mage.run('seed_tts', {
  prompt: '[thoughtful] Every lighthouse keeps one promise: to stay lit until morning. [sighs] It kept it.',
  model_id: 'seed-tts-3.0',
});

console.log(request.result.url);
Python
# pip install mage-space
from mage_space import Mage

mage = Mage()  # reads MAGE_API_KEY

request = mage.run("seed_tts", {
    "prompt": "[thoughtful] Every lighthouse keeps one promise: to stay lit until morning. [sighs] It kept it.",
    "model_id": "seed-tts-3.0",
})

print(request["result"]["url"])

Models

Seed TTS model_id values

Send model_id to pick a variant. A request without one runs the default.

model_idNameDefault
seed-tts-3.0Seed TTS 3.0Yes

Options

Seed TTS parameters

Allowed values across all variants; a variant may offer fewer. The docs list the options per variant.

FieldValues
voiceallison, margaret, megan, daphne, naomi, natasha, charlotte, harriet, dean, nigel, julian, orion, jasper, rory, harrison, barnaby, callum, lucia, renata, diego, elodie, antoine, stella, sven, matteo, camila, thiago, haruka, hiro, minji, jaeho, xiaohe, xiaotian, fatma, youssef, aditi, irina
languageauto, af, am, ar, as, ast, az, be, bg, bn, bs, ca, ceb, ckb, cs, cy, da, de, el, en, en-GB, es, es-MX, et, fa, fi, fil, fr, fuv, gl, gu, ha, he, hi, hr, hu, hy, id, ig, is, it, ja, jv, ka, kam, kea, kk, km, kn, ko, ky, lb, lg, ln, lo, lt, luo, lv, mi, mk, ml, mn, mr, ms, mt, my, ne, nl, no, nso, ny, oc, ory, pa, pl, ps, pt, pt-BR, ro, ru, sd, sk, sl, sn, sq, sr, sv, sw, ta, te, tg, th, tr, uk, umb, ur, uz, vi, wo, xh, yo, yue, zh, zh-CN-x-beijing, zh-CN-x-changsha, zh-CN-x-dongbei, zh-CN-x-henan, zh-CN-x-hubei, zh-CN-x-kejia, zh-CN-x-minnan, zh-CN-x-nanchang, zh-CN-x-nanjing, zh-CN-x-shaanxi, zh-CN-x-shandong, zh-CN-x-shanghai, zh-CN-x-sichuan, zh-CN-x-taiwan, zh-CN-x-tangshan, zh-CN-x-tianjin, zu

Rules

What the Seed TTS API enforces

  • The prompt is the text to speak, at most 10000 characters, audio tags included. It needs at least one word: tags alone make no speech.
  • Tags are English words in square brackets, spelled exactly as listed, placed where their effect starts, even in text in another language. An emotion or delivery tag shapes the words after it until the next tag; a vocal tag such as [laughs] is a sound made once, where it sits. Any other bracketed word is dropped silently.
  • Emotion tags: [happy] [excited] [bored] [sad] [distressed] [angry] [nervous] [fearful] [panicked] [surprised] [disgusted] [curious] [puzzled] [confident] [serious] [commanding] [pleading] [reassuring] [sarcastic] [laughing] [crying] [disappointed] [hopeless] [desperate] [frustrated] [worried] [embarrassed] [guilty] [thoughtful] [sympathetic] [indifferent].
  • Delivery tags: [very low pitch] [low pitch] [high pitch] [very high pitch] [very slow] [slow] [fast] [very fast] [very quiet] [quiet] [loud] [very loud] [hurried] [stammering] [whispering] [soft] [shouting] [muttering] [weak] [tired] [in pain] [panting] [trembling].
  • Vocal tags: [laughs] [chuckles] [giggles] [whimpers] [cries] [sobs] [wails] [screams] [scoffs] [inhales] [inhales deeply] [gasps] [exhales] [exhales sharply] [sighs] [pants] [wheezing] [clears throat] [coughs] [grunts] [groans] [sniffs] [sneezes] [smacks lips] [clicks tongue] [yawns] [laughing hysterically] [swallows].
  • `voice` is one of allison, margaret, megan, daphne, naomi, natasha, charlotte, harriet, dean, nigel, julian, orion, jasper, rory, harrison, barnaby, callum, lucia, renata, diego, elodie, antoine, stella, sven, matteo, camila, thiago, haruka, hiro, minji, jaeho, xiaohe, xiaotian, fatma, youssef, aditi, irina. Every voice speaks every language; its own language sets the accent.
  • `language` is `auto` (detects the language and handles mixed text) or a language code; a regional code such as `en-GB`, `es-MX`, or `pt-BR` also sets the accent.
  • `speed` runs from 0.5 to 2 (1 is natural), and `pitch` from -12 to 12 semitones.

More audio models

Other audio generation APIs on Mage

  • Audio · from 113 Gems

    Eleven Music API

    ElevenLabs songs, with vocals or without

  • Audio · from 30 Gems

    Eleven Speech API

    ElevenLabs v4: lifelike speech you can direct

  • Audio · from 125 Gems

    MiniMax Music 3 API

    Full songs from your lyrics, open weights

  • Audio · from 19 Gems

    Seed Audio API

    Voices, songs, music, and sound effects from one prompt

FAQ

Frequently asked questions

How much does the Seed TTS API cost?
A Seed TTS request at the default settings (Seed TTS 3.0) costs 3 Gems, about $0.003. Other resolutions, durations, and variants change the price; the response reports the exact charge. A generation that fails is refunded; one Mage's content policy blocks is not.
What is the Seed TTS API endpoint?
POST https://api.mage.space/v1/seed_tts/generate with an Authorization: Bearer header carrying your Mage API key. The response includes a status_url to poll for the result.
Which Seed TTS models can I call?
seed-tts-3.0 (Seed TTS 3.0). The default is Seed TTS 3.0.
Does Seed TTS support reference images or characters?
Seed TTS takes no image, video, or audio inputs. Seed TTS takes no @handle mentions.
Can I use Seed TTS from Claude or ChatGPT?
Yes. Connect the Mage MCP server to Claude, ChatGPT, Claude Code, Grok, or Cursor and ask for Seed TTS by name. Your assistant reads its options with get_model and quotes the price before it generates.
How long are Seed TTS results kept?
Results and inputs are kept for 30 days. Download anything you want to keep to your own storage.

Start building with Mage

One account, one Gems balance, every model. Pay only for what you generate.

CharactersCommunity