Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Bytedance Seed Speech Text to Speech

bytedance/seed-speech/tts/2.0

Seed Speech Tts 2.0 is Bytedance's text-to-speech AI model. Generate human-like voiceovers with expressive intonation, multilingual support, and customizable voice characteristics.

Giá cơ bản
$0.06USD / lần chạy
Thực thi
async
Loại model
audio
Các trường đầu vào
9
Đường dẫn production

Thử model

Phòng thử nghiệm

Mở playground
Đầu vào
The text to synthesize into speech.
Output audio format. 'mp3' returns MP3 audio; 'opus' returns Opus audio in an Ogg container.
Sample rate of the output audio in Hz.
0.52
Volume. 1.0 is normal volume, 0.5 is half, 2.0 is double. Phạm vi: 0.5 đến 2.
Voice to use for synthesis. The preset name encodes the voice and its supported language codes. 'mixed_en_zh' means the voice can seamlessly blend English and Chinese; separate codes (e.g. 'en_zh') mean the voice supports each language independently.
-1212
Voice pitch shift in semitones. 0 is normal pitch, -12 lowers by one octave, 12 raises by one octave. Phạm vi: -12 đến 12.
Force the text to be read as a single language, disabling automatic language detection. Leave unset for automatic detection (including seamless Chinese/English mixing on bilingual voices). Codes: zh (Chinese), en (English), ja (Japanese), es-mx (Mexican Spanish), id (Indonesian), pt-br (Brazilian Portuguese), ko (Korean), it (Italian), de (German), fr (French).
Optional natural-language instruction that steers the delivery (tone, emotion, pace, volume), e.g. 'Speak in a cheerful tone' or 'Could you speak a bit slower?'. It is not spoken aloud and does not affect billing.
0.52
Speech speed. 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed. Phạm vi: 0.5 đến 2.
Đầu raVí dụ
  1. Bạn muốn làm gì tiếp theo?

    Mở bản gốc

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

Thẻ model

Thông số kỹ thuật

Giá

Giá cơ bản
$0.06 / lần chạy

Ngữ cảnh & phương thức

Đầu vào
Định nghĩa theo schema
Đầu ra
audio

Tính năng

Chat
Không được hỗ trợ
Thị giác
Không được hỗ trợ
Suy luận
Không được hỗ trợ
Đầu ra có cấu trúc
Không được hỗ trợ
Gọi hàm
Không được hỗ trợ
Đầu vào âm thanh
Không được hỗ trợ

Truy cập

Nhà cung cấp
ByteDance
ID mô hình
bytedance/seed-speech/tts/2.0
Thực thi
async
URL cơ sở
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

README API

Bytedance Seed Speech Text to Speech

Seed Speech TTS 2.0 generates expressive, multilingual voiceovers in 10 languages, with pitch, speed, and volume control and a free-text voice_instruction for delivery.

Fields

FieldTypeDefaultNotes
textstring—Text to speak.
output_formatmp3 / opusmp3Output file format.
sample_rate8000 / 16000 / 22050 / 24000 / 32000 / 44100 / 4800024000Output sample rate in Hz.
volumenumber 0.5–210.5–2× loudness.
voicevivi_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_zhstokie_enPreset voice; names list the languages each voice supports.
pitchinteger -12–120Semitones, −12 to 12.
languagezh / en / ja / es-mx / id / pt-br / ko / it / de / fr—Force the text to be read as a single language, disabling automatic language detection.
voice_instructionstring—How to say it, e.g. “excited sports commentator”.
speednumber 0.5–210.5–2× speaking rate.

Billing

$0.06 per started 1,000 characters of text, with a one-unit minimum.

TextPrice
200 characters$0.06
1,000 characters$0.06
2,500 characters$0.18

Failed runs are not charged.

Prompting

  • Pick a voice whose language list includes the text's language.

Bắt đầu xây dựng

Gửi request đầu tiên của bạn

Endpoint tương thích OpenAI với xác thực và theo dõi mức sử dụng thống nhất.

API Production
endpoint Unified Run API
https://api.sandbase.ai/v1/run
ID mô hình
bytedance/seed-speech/tts/2.0
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "bytedance/seed-speech/tts/2.0",
  "text": "Hello, this is a test of ByteDance TTS 2.0 speech synthesis.",
  "pitch": 0,
  "speed": 1,
  "voice": "stokie_en",
  "volume": 1,
  "sample_rate": 24000,
  "output_format": "mp3",
  "voice_instruction": "Speak in a warm, cheerful tone."
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"
01

Schema đầu vào

9 tham số · 0 bắt buộc · 9 tùy chọn

Tham sốKiểuBắt buộcMô tả
textstringTùy chọnThe text to synthesize into speech. · Độ dài tối đa: 5000
pitchintegerTùy chọnVoice pitch shift in semitones. 0 is normal pitch, -12 lowers by one octave, 12 raises by one octave. · Tối thiểu: -12 · Tối đa: 12 · Mặc định: 0
speednumberTùy chọnSpeech speed. 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed. · Tối thiểu: 0.5 · Tối đa: 2 · Mặc định: 1
voicestringTùy chọnVoice to use for synthesis. The preset name encodes the voice and its supported language codes. 'mixed_en_zh' means the voice can seamlessly blend English and Chinese; separate codes (e.g. 'en_zh') mean the voice supports each language independently. · Tùy chọn: 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 · Mặc định: "stokie_en"
vivi_mixed_en_zh_ja_es_idmindy_en_es_id_pt_zhstokie_endacey_entim_enkian_en_zhcedric_en_zhsophie_en_zhjean_en_zhmagnus_en_zhmabel_en_zhnadia_en_zhopal_en_zhpearl_en_zhquentin_en_zhvienna_mixed_en_zhalina_mixed_en_zhcorinne_mixed_en_zhesther_mixed_en_zhfreya_mixed_en_zhgigi_mixed_en_zhholly_mixed_en_zhlyla_mixed_en_zhdaisy_mixed_en_zhtracy_es_zhjess_ja_es_id_pt_en_zhpinky_es_ko_mixed_en_zhsweety_ja_essandy_es_mixed_en_zhsven_deminimi_jausseau_frfelipe_eshan_idmartins_ptenzo_itshane_kobonnie_zhfelix_zhceleste_zhmonkey_king_zh
volumenumberTùy chọnVolume. 1.0 is normal volume, 0.5 is half, 2.0 is double. · Tối thiểu: 0.5 · Tối đa: 2 · Mặc định: 1
languagestringTùy chọnForce the text to be read as a single language, disabling automatic language detection. Leave unset for automatic detection (including seamless Chinese/English mixing on bilingual voices). Codes: zh (Chinese), en (English), ja (Japanese), es-mx (Mexican Spanish), id (Indonesian), pt-br (Brazilian Portuguese), ko (Korean), it (Italian), de (German), fr (French). · Tùy chọn: zh, en, ja, es-mx, id, pt-br, ko, it, de, fr
zhenjaes-mxidpt-brkoitdefr
sample_rateintegerTùy chọnSample rate of the output audio in Hz. · Tùy chọn: 8000, 16000, 22050, 24000, 32000, 44100, 48000 · Mặc định: 24000
8000160002205024000320004410048000
output_formatstringTùy chọnOutput audio format. 'mp3' returns MP3 audio; 'opus' returns Opus audio in an Ogg container. · Tùy chọn: mp3, opus · Mặc định: "mp3"
mp3opus
voice_instructionstringTùy chọnOptional natural-language instruction that steers the delivery (tone, emotion, pace, volume), e.g. 'Speak in a cheerful tone' or 'Could you speak a bit slower?'. It is not spoken aloud and does not affect billing.
02

Schema đầu ra

TrườngKiểuMô tả
idstringMã định danh duy nhất cho tác vụ tạo
statusstringTrạng thái tác vụ: pending, running, completed, failed, timeout
modelstringModel được dùng cho quá trình tạo
outputsarrayMảng các mục đầu ra
outputs[].urlstringURL của artifact đã tạo
outputs[].content_typestringKiểu MIME (ví dụ image/png, video/mp4)
errorobject | nullChi tiết lỗi nếu thất bại, null nếu thành công
error.typestringMã loại lỗi có thể đọc bằng máy
error.messagestringMô tả lỗi dễ đọc cho người dùng

Quy trình không đồng bộ

Model này chạy bất đồng bộ. Gửi yêu cầu, rồi thăm dò để lấy kết quả.

  1. Gửi: POST tới /v1/run và đọc id được trả về.
  2. Thăm dò: GET /v1/run/{id} cho đến khi trạng thái là completed, failed hoặc timeout.
  3. Truy xuất: đọc outputs từ phản hồi hoàn tất.

Chọn model của bạn

So sánh model

Tất cả model hình ảnh và video
Mô hìnhLoạiGiá mặc địnhPhát hành
ByteDanceÂm thanh$0.06 / lượt chạy5 thg 6, 2026
ByteDanceÂm thanh$0.02 / lượt chạy24 thg 11, 2026
ByteDanceÂm thanh$0.19 / lượt chạy25 thg 6, 2026

Câu hỏi

FAQ

Làm thế nào để gọi Bytedance Seed Speech Text to Speech qua SandBase?

Tạo một API key SandBase, sau đó gửi yêu cầu với model ID "bytedance/seed-speech/tts/2.0" tới Unified Run API (/v1/run) tại https://api.sandbase.ai. Các ví dụ yêu cầu trên trang này cho thấy chính xác payload.

Tôi có cần tài khoản ByteDance riêng không?

Không. Chỉ cần một API key và số dư SandBase là bạn có thể truy cập Bytedance Seed Speech Text to Speech và các model khác trong danh mục; bạn không cần đăng ký riêng với ByteDance.