Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

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.

ราคาพื้นฐาน
$0.06USD / การรัน
การทำงาน
async
ประเภโมเดล
audio
ฟิลด์อินพุต
9
เส้นทางโปรดักชัน

ลองใช้โมเดล

Playground

เปิด Playground
อินพุต
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. ช่วง: 0.5 ถึง 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. ช่วง: -12 ถึง 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. ช่วง: 0.5 ถึง 2.
เอาต์พุตตัวอย่าง
  1. ต้องการทำอะไรต่อ

    เปิดต้นฉบับ

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

การ์ดโมเดล

ข้อมูลจำเพาะ

ราคา

ราคาพื้นฐาน
$0.06 / การรัน

บริบทและ modalities

อินพุต
กำหนดตามสคีมา
เอาต์พุต
audio

ความสามารถ

แชท
ไม่รองรับ
วิชัน
ไม่รองรับ
การให้เหตุผล
ไม่รองรับ
เอาต์พุตแบบมีโครงสร้าง
ไม่รองรับ
การเรียกใช้ฟังก์ชัน
ไม่รองรับ
อินพุตเสียง
ไม่รองรับ

การเข้าถึง

ผู้ให้บริการ
ByteDance
รหัสโมเดล
bytedance/seed-speech/tts/2.0
การทำงาน
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

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.

เริ่มสร้าง

ส่งคำขอแรกของคุณ

เอ็นด์พอยต์ที่ใช้งานร่วมกับ OpenAI ได้ พร้อมการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์

Production API
เอ็นด์พอยต์ Unified Run API
https://api.sandbase.ai/v1/run
รหัสโมเดล
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

สคีมาขาเข้า

9 พารามิเตอร์ · จำเป็น 0 · ไม่บังคับ 9

พารามิเตอร์ประเภทจำเป็นคำอธิบาย
textstringไม่บังคับThe text to synthesize into speech. · ความยาวสูงสุด: 5000
pitchintegerไม่บังคับVoice pitch shift in semitones. 0 is normal pitch, -12 lowers by one octave, 12 raises by one octave. · ต่ำสุด: -12 · สูงสุด: 12 · ค่าเริ่มต้น: 0
speednumberไม่บังคับSpeech speed. 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed. · ต่ำสุด: 0.5 · สูงสุด: 2 · ค่าเริ่มต้น: 1
voicestringไม่บังคับ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. · ตัวเลือก: 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 · ค่าเริ่มต้น: "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
volumenumberไม่บังคับVolume. 1.0 is normal volume, 0.5 is half, 2.0 is double. · ต่ำสุด: 0.5 · สูงสุด: 2 · ค่าเริ่มต้น: 1
languagestringไม่บังคับ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). · ตัวเลือก: zh, en, ja, es-mx, id, pt-br, ko, it, de, fr
zhenjaes-mxidpt-brkoitdefr
sample_rateintegerไม่บังคับSample rate of the output audio in Hz. · ตัวเลือก: 8000, 16000, 22050, 24000, 32000, 44100, 48000 · ค่าเริ่มต้น: 24000
8000160002205024000320004410048000
output_formatstringไม่บังคับOutput audio format. 'mp3' returns MP3 audio; 'opus' returns Opus audio in an Ogg container. · ตัวเลือก: mp3, opus · ค่าเริ่มต้น: "mp3"
mp3opus
voice_instructionstringไม่บังคับ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.
02

สคีมาเอาต์พุต

ฟิลด์ประเภทคำอธิบาย
idstringตัวระบุเฉพาะสำหรับงาน generation
statusstringสถานะงาน: pending, running, completed, failed, timeout
modelstringโมเดลที่ใช้สำหรับ generation
outputsarrayอาร์เรย์ของรายการเอาต์พุต
outputs[].urlstringURL ของอาร์ติแฟกต์ที่สร้างขึ้น
outputs[].content_typestringประเภท MIME (เช่น image/png, video/mp4)
errorobject | nullรายละเอียดข้อผิดพลาดหากล้มเหลว, เป็น null เมื่อสำเร็จ
error.typestringรหัสประเภทข้อผิดพลาดที่เครื่องอ่านได้
error.messagestringคำอธิบายข้อผิดพลาดที่มนุษย์อ่านได้

เวิร์กโฟลว์แบบอะซิงก์

โมเดลนี้ทำงานแบบอะซิงโครนัส ส่งคำขอแล้วคอยตรวจผลลัพธ์

  1. ส่ง: POST ไปที่ /v1/run แล้วอ่าน id ที่ส่งกลับมา
  2. คอยตรวจ: GET /v1/run/{id} จนกว่าสถานะจะเป็น completed, failed หรือ timeout
  3. ดึงข้อมูล: อ่าน outputs จากการตอบกลับที่เสร็จสมบูรณ์

เลือกโมเดลของคุณ

เปรียบเทียบโมเดล

โมเดลภาพและวิดีโอทั้งหมด
โมเดลประเภทราคามาตรฐานเปิดตัว
Bytedance Seed Speech Text to Speechโมเดลนี้
ByteDance
เสียง$0.06 / ครั้ง5 มิ.ย. 2569
ByteDanceเสียง$0.02 / ครั้ง24 พ.ย. 2569
ByteDanceเสียง$0.19 / ครั้ง25 มิ.ย. 2569

คำถาม

คำถามที่พบบ่อย

ฉันจะเรียก Bytedance Seed Speech Text to Speech ผ่าน SandBase ได้อย่างไร?

สร้าง SandBase API key แล้วส่งคำขอด้วย model ID "bytedance/seed-speech/tts/2.0" ไปที่ Unified Run API (/v1/run) ที่ https://api.sandbase.ai ตัวอย่างคำขอบนหน้านี้แสดง payload ที่ถูกต้องทั้งหมด

ฉันจำเป็นต้องมีบัญชี ByteDance แยกต่างหากไหม?

ไม่จำเป็น SandBase API key และยอดคงเหลือหนึ่งชุดให้คุณเข้าถึง Bytedance Seed Speech Text to Speech และโมเดลอื่น ๆ ในแค็ตตาล็อกได้ คุณไม่ต้องสมัครใช้งานกับ ByteDance แยกต่างหาก