APIMODELSAPIMODELS
Documentação da API

apimodels.app

View .md
Docs/SparkVoice API

SparkVoice API

SparkVoice 1.0 text-to-speech, model name sparkvoice-1.0. 232 built-in voices, voice cloning in seven languages, seven emotions, Cantonese and Sichuanese, voice design from a description, and two-to-four-speaker podcast dialogue. $0.05 per 1,000 characters, free to try until December 31, 2026.

Model name

There is one model: sparkvoice-1.0. The earlier names sparkvoice-1 and sparkvoice-1-pro still work; both run sparkvoice-1.0 and are billed at its price. In our test 1,000 Chinese characters returned 211 seconds of audio in 61 seconds.

Preços

$0.05 per 1,000 characters. Free trial until December 31, 2026 (UTC): every call is billed at $0 and needs no balance; from then on the price applies automatically. Failed requests are never charged.

Code examples

# ─── Built-in voice ─────────────────────────────────────
curl -X POST https://api.apimodels.app/v1/audio/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "model": "sparkvoice-1.0", "text": "欢迎使用我们的语音合成服务。", "voice": "灵小雅" }'
# { "code": 200, "data": { "taskId": "..." } }

# ─── Get the result ─────────────────────────────────────
curl "https://api.apimodels.app/v1/audio/generations?task_id=TASK_ID" \
  -H "Authorization: Bearer YOUR_API_KEY"
# { "code": 200, "data": { "state": "completed", "resultUrls": ["https://r2.apimodels.app/...mp3"] } }

Parâmetros da requisição

Pick one voice source: voice, reference_audio_url, voice_description, or speakers. With none of them, a default voice is used for the text language (灵小雅 for Chinese, US_Emma for English).

FieldRequiredTypeDescription
modelYesstringsparkvoice-1.0 (the earlier sparkvoice-1 / sparkvoice-1-pro also work)
textYesstringThe text to speak, up to 3,000 characters. input is accepted as an alias.
voiceNostringBuilt-in voice id from the table below (232 in total)
reference_audio_urlNostringReference clip to clone (http/https), up to 20 MB; the first 30 seconds are used. 5-15 seconds of clean speech works best.
reference_textNostringThe words spoken in the reference clip. Required for plain cloning; not needed with emotion, dialect or speed controls.
emotionNostringhappy / sad / angry / fearful / disgusted / surprised / neutral (needs reference_audio_url)
dialectNostringcantonese / sichuanese (needs reference_audio_url)
speed / pitch / volumeNostringslow|normal|fast, low|normal|high (needs reference_audio_url)
voice_descriptionNostringA written description of the voice, e.g. "a calm male documentary narrator"
speakersNoarray2-4 items of { reference_audio_url, reference_text }; start each line of text with speaker_1:, speaker_2:
languageNostringLanguage to speak: one of Chinese, English, Japanese, Korean, German, French, Spanish, or the codes zh / en / ja / ko / de / fr / es. Defaults to Chinese or English from the text. The last five work only with reference_audio_url + reference_text (the clip can be in any of the seven), not with voice, voice_description, emotion, dialect, pace controls or speakers. Other languages return 400; for Cantonese or Sichuanese use dialect.
output_formatNostringmp3 (default) / wav
callback_urlNostringWebhook URL called when the task completes

Request bodies for each feature

Built-in voice

{ "model": "sparkvoice-1.0", "text": "夜深了,城市渐渐安静下来。", "voice": "灵楷" }

Built-in voice with emotion

{ "model": "sparkvoice-1.0", "text": "太好了,我们赢了!", "voice": "灵晓声_高兴" }

Voice cloning

{ "model": "sparkvoice-1.0", "text": "傍晚的风从山口吹过来。",
  "reference_audio_url": "https://r2.apimodels.app/assets/wan3-cases/wan3-case-15-audio-1.mp3", "reference_text": "晚上好宝子们,欢迎来到我们的专属直播间,今天福利满满,惊喜不断。" }

Clone + paralinguistic tags

{ "model": "sparkvoice-1.0", "text": "[Sigh]雨还是没有停,[Laughter]算了,改到室内吧。",
  "reference_audio_url": "https://r2.apimodels.app/assets/wan3-cases/wan3-case-15-audio-1.mp3", "reference_text": "晚上好宝子们,欢迎来到我们的专属直播间,今天福利满满,惊喜不断。" }

Clone + emotion

{ "model": "sparkvoice-1.0", "text": "明天放假一天!",
  "reference_audio_url": "https://r2.apimodels.app/assets/wan3-cases/wan3-case-15-audio-1.mp3", "emotion": "happy" }

Clone + dialect

{ "model": "sparkvoice-1.0", "text": "今日天气几好,我哋一齐去海边行下啦。",
  "reference_audio_url": "https://r2.apimodels.app/assets/wan3-cases/wan3-case-15-audio-1.mp3", "dialect": "cantonese" }

Clone + pace / pitch / volume

{ "model": "sparkvoice-1.0", "text": "请耐心等待下一次通知。",
  "reference_audio_url": "https://r2.apimodels.app/assets/wan3-cases/wan3-case-15-audio-1.mp3", "speed": "slow", "pitch": "normal", "volume": "normal" }

Multilingual cloning

{ "model": "sparkvoice-1.0", "language": "German", "text": "Am Wochenende fahren wir mit dem Fahrrad an den See.",
  "reference_audio_url": "https://r2.apimodels.app/assets/wan3-cases/wan3-case-15-audio-1.mp3", "reference_text": "晚上好宝子们,欢迎来到我们的专属直播间,今天福利满满,惊喜不断。" }

Voice design

{ "model": "sparkvoice-1.0", "text": "冰川在漫长岁月中缓缓移动。",
  "voice_description": "成熟沉稳的男性纪录片旁白,吐字清晰,节奏舒缓" }

Podcast dialogue

{ "model": "sparkvoice-1.0",
  "text": "speaker_1: 你最近是不是又去那家面馆了?\nspeaker_2: 对啊,他们家的牛肉面还是那个味道。",
  "speakers": [
    { "reference_audio_url": "https://r2.apimodels.app/assets/wan3-cases/wan3-case-15-audio-1.mp3", "reference_text": "晚上好宝子们,欢迎来到我们的专属直播间,今天福利满满,惊喜不断。" },
    { "reference_audio_url": "https://r2.apimodels.app/assets/wan3-cases/wan3-case-15-audio-2.mp3", "reference_text": "家人们准备好开启今晚的购物狂欢了吗?我们为大家精选了每一款都值得入手的好物。" }
  ] }

Built-in voices (232)

For voices with emotional variants, pass "name_emotion" as voice, e.g. 灵晓声_高兴.

Chinese voices: 灵小安、灵语汐、灵小萌、灵小柔、灵小雅、花小呗、灵韵、妩媚妲己、灵婉、灵小月、灵朵儿、灵小锋、灵小川、灵小甄、灵小知、灵小惠、灵小晴、灵小琪、灵梦、灵恬、灵小汐、灵小棠、灵小梨、灵小芸、灵空、灵宇、灵朗、灵楷、灵旭、灵江、悲伤女声、皮六
English voices: US_Emma, UK_George, UK_Charlotte
Voices with emotional variants:
灵晓声: 灵晓声_惊讶、灵晓声_厌恶、灵晓声_高兴、灵晓声_中性、灵晓声_悲伤
灵风信: 灵风信_生气、灵风信_中性、灵风信_厌恶、灵风信_高兴、灵风信_悲伤
灵惜梦: 灵惜梦_中性、灵惜梦_厌恶、灵惜梦_高兴、灵惜梦_悲伤、灵惜梦_恐惧、灵惜梦_惊讶、灵惜梦_生气
灵逸风: 灵逸风_悲伤、灵逸风_惊讶、灵逸风_中性、灵逸风_恐惧、灵逸风_高兴
灵悦澜: 灵悦澜_中性、灵悦澜_高兴、灵悦澜_厌恶、灵悦澜_恐惧、灵悦澜_生气、灵悦澜_悲伤
灵御心: 灵御心_高兴、灵御心_中性、灵御心_生气
灵语恬: 灵语恬_高兴、灵语恬_恐惧、灵语恬_悲伤、灵语恬_惊讶、灵语恬_生气、灵语恬_中性
灵心恬: 灵心恬_厌恶、灵心恬_惊讶、灵心恬_悲伤、灵心恬_中性、灵心恬_恐惧、灵心恬_高兴、灵心恬_生气
灵亦尘: 灵亦尘_中性、灵亦尘_恐惧
灵语尘: 灵语尘_高兴、灵语尘_厌恶、灵语尘_惊讶、灵语尘_中性、灵语尘_悲伤、灵语尘_恐惧
灵悦兮: 灵悦兮_高兴、灵悦兮_中性、灵悦兮_生气、灵悦兮_惊讶、灵悦兮_厌恶、灵悦兮_悲伤、灵悦兮_恐惧
灵若虚: 灵若虚_惊讶、灵若虚_中性、灵若虚_悲伤、灵若虚_高兴、灵若虚_厌恶、灵若虚_生气
灵未央: 灵未央_高兴、灵未央_中性、灵未央_惊讶、灵未央_悲伤、灵未央_恐惧、灵未央_生气
灵梦瑶: 灵梦瑶_中性、灵梦瑶_高兴、灵梦瑶_悲伤、灵梦瑶_惊讶、灵梦瑶_生气
灵妙声: 灵妙声_中性、灵妙声_悲伤
灵言澈: 灵言澈_中性、灵言澈_高兴
灵嘉肴: 灵嘉肴_中性、灵嘉肴_恐惧
灵孤影: 灵孤影_中性
灵雨汐: 灵雨汐_中性、灵雨汐_恐惧、灵雨汐_高兴、灵雨汐_悲伤、灵雨汐_惊讶
灵信远: 灵信远_生气、灵信远_惊讶、灵信远_高兴、灵信远_恐惧、灵信远_悲伤
灵思齐: 灵思齐_高兴、灵思齐_恐惧、灵思齐_厌恶、灵思齐_惊讶、灵思齐_悲伤
灵叙柔: 灵叙柔_高兴、灵叙柔_惊讶
灵绮木: 灵绮木_厌恶、灵绮木_高兴、灵绮木_生气
灵渊霆: 灵渊霆_厌恶、灵渊霆_恐惧、灵渊霆_惊讶、灵渊霆_悲伤、灵渊霆_生气、灵渊霆_高兴
灵素心: 灵素心_悲伤、灵素心_厌恶
灵采薇: 灵采薇_厌恶、灵采薇_生气、灵采薇_高兴
灵卓然: 灵卓然_恐惧、灵卓然_悲伤
灵浅忧: 灵浅忧_高兴、灵浅忧_厌恶、灵浅忧_悲伤、灵浅忧_恐惧
灵昭野: 灵昭野_高兴、灵昭野_悲伤、灵昭野_厌恶
灵心澜: 灵心澜_高兴、灵心澜_悲伤
灵犀言: 灵犀言_悲伤、灵犀言_生气
灵语冰: 灵语冰_悲伤、灵语冰_高兴、灵语冰_惊讶
灵惊鸿: 灵惊鸿_厌恶、灵惊鸿_高兴、灵惊鸿_惊讶、灵惊鸿_生气、灵惊鸿_悲伤
灵惜蕊: 灵惜蕊_惊讶、灵惜蕊_厌恶、灵惜蕊_恐惧、灵惜蕊_高兴、灵惜蕊_悲伤、灵惜蕊_生气
灵语萱: 灵语萱_厌恶、灵语萱_高兴、灵语萱_恐惧、灵语萱_生气、灵语萱_悲伤
灵语烟: 灵语烟_生气、灵语烟_恐惧、灵语烟_厌恶、灵语烟_高兴、灵语烟_悲伤
灵律雅: 灵律雅_恐惧、灵律雅_生气、灵律雅_高兴
灵惊涛: 灵惊涛_恐惧
灵寒陌: 灵寒陌_厌恶、灵寒陌_高兴
灵决冥: 灵决冥_厌恶、灵决冥_生气、灵决冥_恐惧
灵慈萱: 灵慈萱_生气、灵慈萱_悲伤、灵慈萱_恐惧
灵妙音: 灵妙音_悲伤、灵妙音_惊讶、灵妙音_厌恶、灵妙音_高兴、灵妙音_恐惧
灵断尘: 灵断尘_悲伤、灵断尘_高兴、灵断尘_惊讶、灵断尘_恐惧、灵断尘_厌恶
灵熙婉: 灵熙婉_高兴、灵熙婉_恐惧、灵熙婉_悲伤
灵旭扬: 灵旭扬_生气、灵旭扬_恐惧、灵旭扬_高兴、灵旭扬_惊讶、灵旭扬_悲伤、灵旭扬_厌恶
灵阅川: 灵阅川_生气、灵阅川_悲伤、灵阅川_高兴、灵阅川_厌恶、灵阅川_恐惧
灵妩月: 灵妩月_厌恶、灵妩月_生气、灵妩月_惊讶、灵妩月_恐惧、灵妩月_高兴、灵妩月_悲伤
灵汐月: 灵汐月_悲伤、灵汐月_高兴
灵黛嗔: 灵黛嗔_厌恶、灵黛嗔_高兴

Limits and notes

  • Up to 3,000 characters per request, about three and a half minutes of synthesis; split longer scripts into several requests, sent one after another or together.
  • Long text is synthesized sentence by sentence in parallel: about a minute for 1,000 Chinese characters, roughly 7-25 seconds end to end for a short sentence.
  • No streaming: the result is a complete mp3 or wav file.
  • Cloning has no per-voice fee: a cloned voice is billed per character like a built-in one. Nothing is stored and there is no voice id; send the reference clip and its transcript with each request.
  • Only clone your own voice or one you have permission to use.
  • Result files are deleted after 7 days; download or copy them in time.
  • Seven languages: Chinese and English, plus Japanese, Korean, German, French and Spanish through cloning only; when we transcribed the five foreign-language outputs back to text, all matched the script.
  • If you need 80+ languages, Fish Audio S2.1 Pro covers 83 languages from one model and is the better fit.

Try SparkVoice 1.0

Perguntas frequentes

How much does the SparkVoice 1.0 API cost?

sparkvoice-1.0 is $0.05 per 1,000 characters. It is a free trial until December 31, 2026 (UTC): every call is billed at $0 and needs no balance, and the price applies automatically from then on. Failed requests are never charged.

How do I clone a voice with SparkVoice?

Send reference_audio_url (a clip of up to 20 MB; the first 30 seconds are used, and 5 to 15 seconds of clean speech works best) together with reference_text, the exact words spoken in that clip. The text you send is then read in that voice. You can add emotion, dialect, or speed, pitch and volume instead of reference_text. Only clone your own voice or one you have permission to use.

What languages does the SparkVoice API speak?

Seven. Built-in voices, voice design and the emotion, dialect and pace controls read Chinese and English. A cloned voice also speaks Japanese, Korean, German, French and Spanish: send reference_audio_url and reference_text with language set to one of them (or ja, ko, de, fr, es); the clip can be in any of the seven. Cantonese and Sichuanese are dialects, set with dialect, and other languages return a 400 error. When we transcribed the output back, all five foreign languages matched the script.

How do I make a podcast dialogue with the SparkVoice API?

Pass speakers as an array of two to four objects, each with reference_audio_url and reference_text, and start every line of the script with speaker_1:, speaker_2: and so on, matching the array order. One request returns the whole conversation as a single audio file.