Model API'si
ElevenLabs TTS Turbo v2.5
ElevenLabs Turbo v2.5 ile metnin okunma hızını ayarlayabilirsin.
Model kimliği
elevenlabs/tts/turbo-v2.5Ç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/turbo-v2.5",
"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/turbo-v2.5", "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
| Alan | Tür | Açıklama |
|---|---|---|
textzorunlu | string | The text to convert to speech |
voice | string | The voice to use for speech generation |
stability | number | Voice stability (0-1) |
similarity_boost | number | Similarity boost (0-1) |
style | number | Style exaggeration (0-1) |
speed | number | Speech speed (0.7-1.2). Values below 1.0 slow down the speech, above 1.0 speed it up. Extreme values may affect quality. |
timestamps | boolean | Whether to return timestamps for each word in the generated speech |
language_code | string | Language code (ISO 639-1) used to enforce a language for the model. An error will be returned if language code is not supported by the model. |
apply_text_normalization | string (enum) | This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. |
Çı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.
"outputs": [
{ "type": "audio", "url": "https://…", "mime_type": "audio/mpeg", "thumbnail_url": null }
]Fiyatlandırma
- en fazla · 1.000 karakter$0,09/ üretim
Girdinin kesin ücreti ücret teklifinden gelir. Bakiye nasıl kesinleşir?