Seed Speech 2.0 API

by ByteDance

41 voices with tone set in plain language

bytedance/seed-speech-2.0/text-to-speech
Seed Speech 2.0 AI Voice Generator online
  • 41 voices
  • 10 languages
  • Text to Speech

About Seed Speech 2.0

Seed Speech 2.0 fits an explainer renderer or voice asset library that needs plain-language performance direction. Send the spoken script in text and put tone, emotion or pace in instructions. The museum guide and cooking tip examples show how the same integration shape serves calm narration and an upbeat practical read. Make the delivery note a reusable project setting so authors can keep a series consistent while editing individual scripts.

Call it with the model name bytedance/seed-speech-2.0/text-to-speech on POST /jobs/createTask, from $0.072.

Introduction

What it returns

One audio file per task: a 24 kHz mono MP3 unless you set output_format or sample_rate. There are no word timings or subtitles in the result.

Choosing a voice

voice_id takes one of 41 preset voices and defaults to stokie_en. The suffix of each voice name lists the languages it is built for — tim_en is English, minimi_ja Japanese, sven_de German, jess_ja_es_id_pt_en_zh speaks several. Mixed voices keep the same timbre across their languages.

Directing the delivery

instructions takes a sentence or two of plain language about how to read: tone, emotion, pace, volume. It shapes the performance and is not spoken. For exact control, speed (0.5–2), pitch (-12 to 12 semitones) and volume (0.5–2) have their own sliders.

Output format

output_format picks mp3 (default) or opus, an Ogg Opus file that is smaller at the same quality, and sample_rate goes from 8000 to 48000 Hz.

Language

The language is detected from the script. language forces one of zh, en, ja, es-mx, id, pt-br, ko, it, de or fr when a short or mixed script is read in the wrong one.

Request parameters

ParameterRequiredDescription
textYesThe words to be spoken, exactly as written.
pitchNoRaise or lower the voice. 0 keeps its natural pitch. ≥ -12 · ≤ 12 · Default: 0
speedNoSpeaking pace. ≥ 0.5 · ≤ 2 · Default: 1
volumeNoLoudness. 1 is the normal level. ≥ 0.5 · ≤ 2 · Default: 1
languageNoThe language of the speech. zh · en · ja · es-mx · id · pt-br · ko · it · de · fr
voice_idNoPick from the available voices. vivi_mixed_en_zh_ja_es_id · mindy_en_es_id_pt_zh · stokie_en · dacey_en · tim_en · kian_en_zh · cedric_en_zh · sophie_en_zh · jean_en_zh · magnus_en_zh · mabel_en_zh · nadia_en_zh · opal_en_zh · pearl_en_zh · quentin_en_zh · vienna_mixed_en_zh · alina_mixed_en_zh · corinne_mixed_en_zh · esther_mixed_en_zh · freya_mixed_en_zh · gigi_mixed_en_zh · holly_mixed_en_zh · lyla_mixed_en_zh · daisy_mixed_en_zh · tracy_es_zh · jess_ja_es_id_pt_en_zh · pinky_es_ko_mixed_en_zh · sweety_ja_es · sandy_es_mixed_en_zh · sven_de · minimi_ja · usseau_fr · felipe_es · han_id · martins_pt · enzo_it · shane_ko · bonnie_zh · felix_zh · celeste_zh · monkey_king_zh · Default: stokie_en
sample_rateNoAudio sample rate. Higher sounds clearer and makes bigger files. 8000–48000
instructionsNoHow to read the text: mood, distance from the mic, who’s listening. Not read aloud.
output_formatNoFile type of the result. mp3 · opus · Default: mp3

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per 1,000 characters
Standard$0.072

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

API quick start

Call the Seed Speech 2.0 API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model bytedance/seed-speech-2.0/text-to-speech and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "bytedance/seed-speech-2.0/text-to-speech",
  "input": {
    "text": "Welcome back. Your files finished rendering a minute ago and are ready to download.",
    "voice_id": "stokie_en",
    "output_format": "mp3"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

What to build with the Seed Speech 2.0 API

  • Add a house voice profile to a publishing tool. Save voice_id, an editorial delivery sentence and optional language selection as structured settings, then attach the current script when rendering an episode. Keep the settings visible when a new episode inherits them.
  • Create a dialogue assembly workflow in which each character has an independent narration job. This endpoint reads with a single preset voice per request. Your application can organize and edit the completed clips on a timeline without inventing a cast array that is absent from its schema.

Seed Speech 2.0 parameter notes

  • instructions is not spoken and is not part of the billed script text. Keep the script and delivery note in separate database columns and separate request properties. The instruction length bound is independent of the text limit; validate each before assembling a render.
  • language is optional, but auto is not an enum value here. Omit the field for detection from the text. Send an exact supported identifier when forcing a language, preserving regional spellings from the schema rather than normalizing them into labels your UI happens to display.
  • The voice_id suffix indicates languages the preset is built for. Default selection is stokie_en. Test the intended language with the chosen voice before applying the profile across a publication batch, especially when a project contains translated scripts.
  • output_format accepts mp3 or opus; opus is delivered in an Ogg container. Keep MIME handling aligned with that choice. speed and volume are bounded numbers, pitch is an integer, and sample_rate must be selected from the published numeric enum rather than any arbitrary audio rate.

How Seed Speech 2.0 API pricing adds up

Only the spoken text drives the character-based billing unit. Delivery instructions are excluded, and a change in playback pace is not a switch to duration billing. Quote the final script with its actual settings, reserve the accepted USD maximum and reconcile the task record after completion. Keeping the text revision beside the quote avoids attributing an earlier estimate to a later edit.

  • Text to Speech: $0.072 per run, $7.20 for 100 runs

Async jobs, webhooks and rate limits

Every Seed Speech 2.0 request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for bytedance/seed-speech-2.0/text-to-speech never runs or bills twice.

Common Seed Speech 2.0 API errors

errorCodeWhat it usually means and how to fix it
invalid_requestRemove a literal auto language value, check script and instruction lengths, and ensure numeric controls remain numbers. Use exact voice identifiers rather than their human-readable labels.
generation_failedPreserve the voice profile and script revision when synthesis ends unsuccessfully. Allow a reviewed retry instead of losing the authoring work in the failed job state.
upstream_unavailableKeep queued narration drafts pending and offer a later attempt with controlled backoff. Avoid treating a temporary service interruption as a permanent problem with the script.

Examples

Museum audio guideExamples
Cooking tipExamples

Seed Speech 2.0 API questions

How much does the Seed Speech 2.0 API cost?

Seed Speech 2.0 costs $0.072 per 1,000 characters. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What is the model name for Seed Speech 2.0 in the API?

Put bytedance/seed-speech-2.0/text-to-speech for Text to Speech in the model field of POST /jobs/createTask.

Can an author revise delivery without rewriting dialogue?

Yes. instructions is a separate field for the performance. Save revisions of that note alongside the voice profile so the editor can compare delivery choices against unchanged spoken words.

How does a rendering queue detect completion?

Use the asynchronous taskId returned by createTask. Poll recordInfo or register a reachable HTTPS task callback, verify its signature and attach the completed asset to the matching line.

Should every translation use an explicit language?

Not necessarily. Omission enables detection. Add a supported language hint when testing shows it helps a short or ambiguous line, and choose a voice whose listed languages suit that edition.

What are the limits of the Seed Speech 2.0 API?

Text length (characters): 5,000; Voices: 41; Languages: 10. Requests outside these limits are rejected before anything is charged.

Can I try Seed Speech 2.0 without writing code?

Run Seed Speech 2.0 in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.

More about Seed Speech 2.0