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 USD, and a request you can paste into a terminal.
At a glance
- Made by
- ByteDance
- Output
- Audio
- From
- $0.072 USD per 1,000 characters
Prices are in USD, charged to your PopNow balance. A task reserves the maximum possible charge when accepted and settles actual usage on completion; any remainder is released. Failed tasks are not charged. Call POST /api/v1/jobs/quote for an exact quote before running.
Text to Speech
bytedance/seed-speech-2.0/text-to-speech
Price
| Option | USD |
|---|---|
Default | $0.072 per 1,000 characters |
Parameters
| Field | Type | Default | Allowed | What it does |
|---|---|---|---|---|
textRequired | string | — | up to 5,000 characters | The words to be spoken, exactly as written. Billed per 1,000 characters. |
voice_idOptional | string | stokie_en | 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, … (+27) | Preset voice. The suffix shows the languages it is built for. |
instructionsOptional | string | — | up to 1,000 characters | How to read the text: tone, emotion, pace or volume. Not spoken and not billed. |
speedOptional | number | 1 | 0.5 to 2 | Speaking rate; 1 is the voice's normal pace. |
pitchOptional | integer | 0 | -12 to 12 | Pitch shift in semitones; 0 keeps the voice's own pitch. |
volumeOptional | number | 1 | 0.5 to 2 | Loudness multiplier; 1 is the normal level. |
languageOptional | string | — | zh, en, ja, es-mx, id, pt-br, ko, it, de, fr | Forces the reading language. Leave empty to detect it from the text. |
output_formatOptional | string | mp3 | mp3, opus | File format of the result; opus is an Ogg Opus file. |
sample_rateOptional | integer | — | 8000, 16000, 22050, 24000, 32000, 44100, 48000 | Sample 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.
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: $(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.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
