Model API'si

Eleven v4 Turbo

Eleven v4 Turbo ile aynı metnin başka bir seslendirmesini deneyebilirsin.

Model kimliği

Her istekte bunu kullan
elevenlabs/tts/eleven-v4-turbo

Çalıştır

Girdiye ücret teklifi al, bu teklifle üretimi başlat, ardından işin durumunu sorgula. Önce RAYWAKE_API_KEY değişkenini ayarla; ayrıntılar için Kimlik doğrulama sayfasına bak.

# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "elevenlabs/tts/eleven-v4-turbo",
  "input": {
    "text": "example"
  }
}'

# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"model": "elevenlabs/tts/eleven-v4-turbo", "quote_id": "QUOTE_ID", "input": {"text":"example"}}'

# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $RAYWAKE_API_KEY"

Girdi

elevenlabs/tts/eleven-v4-turbo girdi alanları
AlanTürAçıklama
textzorunlustring
The text to convert to speech. Supports audio tags such as [whispering] and IPA pronunciation enclosed in forward slashes.
voicestring
The voice to use for speech generation

Varsayılan: Rachel

stabilitynumber
Voice stability. Lower values allow more expressive delivery; higher values make delivery more consistent.

Varsayılan: 0.5

similarity_boostnumber
How closely the output follows the reference voice. Higher values increase similarity but may reduce naturalness.

Varsayılan: 0.75

seedinteger
Seed for best-effort reproducibility. Identical output is not guaranteed.
language_codestring
Language code (ISO 639-1) for speech generation and text normalization.
output_formatstring (enum)
Output format of the generated audio. Formatted as codec_sample_rate_bitrate.

Varsayılan: mp3_44100_128

Seçenekler: mp3_22050_32, mp3_44100_32, mp3_44100_64, mp3_44100_96, mp3_44100_128, mp3_44100_192, pcm_8000, pcm_16000, pcm_22050, pcm_24000, pcm_44100, pcm_48000, ulaw_8000, alaw_8000, opus_48000_32, opus_48000_64, opus_48000_96, opus_48000_128, opus_48000_192

apply_text_normalizationstring (enum)
Whether to normalize text such as numbers and dates before generation.

Varsayılan: auto

Seçenekler: auto, on, off

timestampsboolean
Whether to return character-level timing information with the generated audio.

Varsayılan: false

Çıktı

Başarılı bir iş, sonuçlarını outputs altında listeler; dosyalar bizim tarafımızda saklanır. Tüm alanlar için İşler sayfasına bak.

İş yanıtından bir bölüm
"outputs": [
  { "type": "audio", "url": "https://…", "mime_type": "audio/mpeg", "thumbnail_url": null }
]

Fiyatlandırma

  • en fazla · 1,000 ASCII characters$0,07/ üretim

Girdinin kesin ücreti ücret teklifinden gelir. Bakiye nasıl kesinleşir?