Inne
Inne Text to speech

Speakvela/ElevenLabs-TTS

Model ID: Speakvela/ElevenLabs-TTS
Rodzina
Inne
Kontekst
Nie określono
Za request
0.015 zł
Liczba użyć
0
Sukces
—
Tokeny
0
Uptime
24 godz. temuTeraz
7 dni temuTeraz

Cennik

Za request
0.015 zł
Historia cen

Poziomy cen stosowane wcześniej. Wiersz oznaczony jako „bieżący” to cena obowiązująca.

Bieżąca Od 21/10/2026 - 01:07:27
Za request0.015 zł
Obsługiwane endpointy
https://api.xah.io/v1/audio/speech
Metoda POST · application/json
Autoryzacja Bearer token (klucz API)
Rate limit 60 req/min
Rodzaje API Text to speech

Uwagi techniczne

Giọng ElevenLabs, đọc tiếng Việt tự nhiên. Tối đa 1.000 ký tự/lần, trả MP3. Chọn model bằng "engine": v4 (mặc định), v3, v4-turbo, v2.5-flash, v2-multilingual. Tiếng Việt thêm "language":"vi".

Udostępnij

curl 'https://api.xah.io/v1/audio/speech' --output speech.mp3 \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "Speakvela/ElevenLabs-TTS",
    "input": "Hello world from Ckey AI",
    "voice": "alloy"
}'
// Node.js / Browser
const res = await fetch('https://api.xah.io/v1/audio/speech', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "model": "Speakvela/ElevenLabs-TTS",
    "input": "Hello world from Ckey AI",
    "voice": "alloy"
})
});
const audioBlob = await res.blob(); // Browser: player.src = URL.createObjectURL(audioBlob)
import json, requests

url = 'https://api.xah.io/v1/audio/speech'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = json.loads("{\n    \"model\": \"Speakvela/ElevenLabs-TTS\",\n    \"input\": \"Hello world from Ckey AI\",\n    \"voice\": \"alloy\"\n}")

res = requests.post(url, headers=headers, json=payload, stream=True, timeout=120)
res.raise_for_status()
with open('speech.mp3', 'wb') as audio:
    audio.write(res.content)
{
    "model": "Speakvela/ElevenLabs-TTS",
    "input": "Hello world from Ckey AI",
    "voice": "alloy"
}

Wypróbuj

Wyślij prompt za pomocą swojego klucza API — zużywa realne środki, wynik jest streamowany natychmiast.

Oceny i komentarze
★ 0.0 / 0 ocen
Ładowanie ocen...
Skontaktuj się z pomocą
Zawsze jesteśmy gotowi, aby Ci pomóc