ElevenLabs Eleven v4 Turbo
elevenlabs/v4-turboEleven v4 Turbo is the low-latency tier of ElevenLabs' v4 text-to-speech generation, for real-time and high-volume narration.
- ราคาพื้นฐาน
- $0.04USD / การรัน
- การทำงาน
- async
- ประเภโมเดล
- audio
- ฟิลด์อินพุต
- 9
ลองใช้โมเดล
Playground
ต้องการทำอะไรต่อ
ตัวอย่าง
เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
- เปิดผลลัพธ์ ↗
อินพุต
{ "text": "Hello from SandBase." }
การ์ดโมเดล
ข้อมูลจำเพาะ
ราคา
- ราคาพื้นฐาน
- $0.04 / การรัน
บริบทและ modalities
- อินพุต
- กำหนดตามสคีมา
- เอาต์พุต
- audio
ความสามารถ
- แชท
- ไม่รองรับ
- วิชัน
- ไม่รองรับ
- การให้เหตุผล
- ไม่รองรับ
- เอาต์พุตแบบมีโครงสร้าง
- ไม่รองรับ
- การเรียกใช้ฟังก์ชัน
- ไม่รองรับ
- อินพุตเสียง
- ไม่รองรับ
การเข้าถึง
- ผู้ให้บริการ
- ElevenLabs
- รหัสโมเดล
- elevenlabs/v4-turbo
- การทำงาน
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API README
ElevenLabs Eleven v4 Turbo
Eleven v4 Turbo, the low-latency v4 tier for real-time and high-volume narration.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
text | string, required | — | Text to speak. |
output_format | mp3_22050_32 / mp3_44100_32 / mp3_44100_64 / mp3_44100_96 / mp3_44100_128 / mp3_44100_192 / opus_48000_32 / opus_48000_64 / opus_48000_96 / opus_48000_128 / opus_48000_192 | mp3_44100_128 | Output file format. |
seed | integer 0–4294967295 | random | Fix it to compare prompt changes. |
stability | number 0–1 | 0.5 | Lower is more expressive; higher is more consistent. |
similarity_boost | number 0–1 | 0.75 | How closely to match the voice. |
apply_text_normalization | auto / on / off | auto | Whether to normalize text such as numbers and dates before generation. |
language_code | string | — | Force a language. |
timestamps | boolean | false | Return word timings. |
voice | string | Rachel | Voice name or ID. |
Billing
$0.04 per started 1,000 characters, with a one-unit minimum.
| Text | Price |
|---|---|
| 200 characters | $0.04 |
| 1,000 characters | $0.04 |
| 2,500 characters | $0.12 |
Failed runs are not charged.
Prompting
- Use punctuation and line breaks to shape pauses.
Also on SandBase
Other ElevenLabs voices: elevenlabs/v4, elevenlabs/v3, elevenlabs/multilingual-v2.
เริ่มสร้าง
ส่งคำขอแรกของคุณ
เอ็นด์พอยต์ที่ใช้งานร่วมกับ OpenAI ได้ พร้อมการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
# 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": "elevenlabs/v4-turbo",
"text": "[excited] Hello! Welcome to Eleven v4.",
"voice": "Aria",
"stability": 0.5,
"timestamps": false,
"output_format": "mp3_44100_128",
"similarity_boost": 0.75,
"apply_text_normalization": "auto"
}
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"สคีมาขาเข้า
9 พารามิเตอร์ · จำเป็น 1 · ไม่บังคับ 8
| พารามิเตอร์ | ประเภท | จำเป็น | คำอธิบาย |
|---|---|---|---|
text | string | จำเป็น | The text to convert to speech. Supports audio tags such as [whispering] and IPA pronunciation enclosed in forward slashes. · ความยาวต่ำสุด: 1 · ความยาวสูงสุด: 5000 |
seed | integer | ไม่บังคับ | Seed for best-effort reproducibility. Identical output is not guaranteed. · ต่ำสุด: 0 · สูงสุด: 4294967295 |
voice | string | ไม่บังคับ | The voice to use for speech generation · ค่าเริ่มต้น: "Rachel" |
stability | number | ไม่บังคับ | Voice stability. Lower values allow more expressive delivery; higher values make delivery more consistent. · ต่ำสุด: 0 · สูงสุด: 1 · ค่าเริ่มต้น: 0.5 |
timestamps | boolean | ไม่บังคับ | Whether to return character-level timing information with the generated audio. · ค่าเริ่มต้น: false |
language_code | string | ไม่บังคับ | Language code (ISO 639-1) for speech generation and text normalization. |
output_format | string | ไม่บังคับ | Output format of the generated audio. Formatted as codec_sample_rate_bitrate. · ตัวเลือก: mp3_22050_32, mp3_44100_32, mp3_44100_64, mp3_44100_96, mp3_44100_128, mp3_44100_192, opus_48000_32, opus_48000_64, opus_48000_96, opus_48000_128, opus_48000_192 · ค่าเริ่มต้น: "mp3_44100_128" mp3_22050_32mp3_44100_32mp3_44100_64mp3_44100_96mp3_44100_128mp3_44100_192opus_48000_32opus_48000_64opus_48000_96opus_48000_128opus_48000_192 |
similarity_boost | number | ไม่บังคับ | How closely the output follows the reference voice. Higher values increase similarity but may reduce naturalness. · ต่ำสุด: 0 · สูงสุด: 1 · ค่าเริ่มต้น: 0.75 |
apply_text_normalization | string | ไม่บังคับ | Whether to normalize text such as numbers and dates before generation. · ตัวเลือก: auto, on, off · ค่าเริ่มต้น: "auto" autoonoff |
สคีมาเอาต์พุต
| ฟิลด์ | ประเภท | คำอธิบาย |
|---|---|---|
id | string | ตัวระบุเฉพาะสำหรับงาน generation |
status | string | สถานะงาน: pending, running, completed, failed, timeout |
model | string | โมเดลที่ใช้สำหรับ generation |
outputs | array | อาร์เรย์ของรายการเอาต์พุต |
outputs[].url | string | URL ของอาร์ติแฟกต์ที่สร้างขึ้น |
outputs[].content_type | string | ประเภท MIME (เช่น image/png, video/mp4) |
error | object | null | รายละเอียดข้อผิดพลาดหากล้มเหลว, เป็น null เมื่อสำเร็จ |
error.type | string | รหัสประเภทข้อผิดพลาดที่เครื่องอ่านได้ |
error.message | string | คำอธิบายข้อผิดพลาดที่มนุษย์อ่านได้ |
เวิร์กโฟลว์แบบอะซิงก์
โมเดลนี้ทำงานแบบอะซิงโครนัส ส่งคำขอแล้วคอยตรวจผลลัพธ์
- ส่ง: POST ไปที่ /v1/run แล้วอ่าน
idที่ส่งกลับมา - คอยตรวจ: GET /v1/run/{id} จนกว่าสถานะจะเป็น
completed,failedหรือtimeout - ดึงข้อมูล: อ่าน
outputsจากการตอบกลับที่เสร็จสมบูรณ์
เลือกโมเดลของคุณ
เปรียบเทียบโมเดล
| โมเดล | ประเภท | ราคามาตรฐาน | เปิดตัว |
|---|---|---|---|
ElevenLabs Eleven v4 Turboโมเดลนี้ ElevenLabs | เสียง | $0.04 / ครั้ง | 28 ก.ย. 2569 |
ElevenLabs | เสียง | $0.01 / ครั้ง | 2 พ.ย. 2569 |
ElevenLabs | เสียง | $0.08 / ครั้ง | 28 ก.ย. 2569 |
ElevenLabs | เสียง | $0.75 / ครั้ง | 14 ก.ย. 2569 |
ElevenLabs | เสียง | $0.75 / ครั้ง | 14 ก.ย. 2569 |
ElevenLabs | เสียง | $0.30 / ครั้ง | 8 ก.ย. 2569 |
คำถาม
คำถามที่พบบ่อย
ฉันจะเรียก ElevenLabs Eleven v4 Turbo ผ่าน SandBase ได้อย่างไร?
สร้าง SandBase API key แล้วส่งคำขอด้วย model ID "elevenlabs/v4-turbo" ไปที่ Unified Run API (/v1/run) ที่ https://api.sandbase.ai ตัวอย่างคำขอบนหน้านี้แสดง payload ที่ถูกต้องทั้งหมด
ฉันจำเป็นต้องมีบัญชี ElevenLabs แยกต่างหากไหม?
ไม่จำเป็น SandBase API key และยอดคงเหลือหนึ่งชุดให้คุณเข้าถึง ElevenLabs Eleven v4 Turbo และโมเดลอื่น ๆ ในแค็ตตาล็อกได้ คุณไม่ต้องสมัครใช้งานกับ ElevenLabs แยกต่างหาก
