PopNowAPI Docs
Main content

Seed Speech 2.0 API reference

41 voices with tone set in plain language

Call Seed Speech 2.0 from your own code with one PopNow API key. Below are the exact model IDs to send, every input field the model accepts, what each request costs in credits, and a request you can paste into a terminal.

At a glance

Made by
ByteDance
Output
Audio
From
10.8 credits per 1,000 characters ($0.108)
Typical time
about 9 s

1 credit = $0.01. A task holds the highest possible charge when it is accepted and settles the real amount when it finishes, rounded up to whole credits; failed tasks are not charged. Ask POST /api/v1/jobs/quote for the exact figure before you run.

Text to Speech

bytedance/seed-speech-2.0/text-to-speech

Price

OptionCredits (per 1,000 characters)US dollars
Default10.8$0.108

Parameters

FieldTypeDefaultAllowedWhat it does
textRequiredstring—up to 5,000 charactersThe words to be spoken, exactly as written. Billed per 1,000 characters.
voice_idOptionalstringstokie_envivi_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, … (+27)Preset voice. The suffix shows the languages it is built for.
instructionsOptionalstring—up to 1,000 charactersHow to read the text: tone, emotion, pace or volume. Not spoken and not billed.
speedOptionalnumber10.5 to 2Speaking rate; 1 is the voice's normal pace.
pitchOptionalinteger0-12 to 12Pitch shift in semitones; 0 keeps the voice's own pitch.
volumeOptionalnumber10.5 to 2Loudness multiplier; 1 is the normal level.
languageOptionalstring—zh, en, ja, es-mx, id, pt-br, ko, it, de, frForces the reading language. Leave empty to detect it from the text.
output_formatOptionalstringmp3mp3, opusFile format of the result; opus is an Ogg Opus file.
sample_rateOptionalinteger—8000, 16000, 22050, 24000, 32000, 44100, 48000Sample rate in Hz. The model uses 24000 when omitted.

Example request

This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.

POST /api/v1/jobs/createTask?wait=60
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask?wait=60" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "bytedance/seed-speech-2.0/text-to-speech",
  "input": {
    "text": "Hi there! This voice was created with the PopNow API in just a few seconds."
  }
}'

The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Next steps

On this page