Model API'si
ElevenLabs Voice Changer
ElevenLabs Voice Changer ile kaydedilmiş konuşmanın sesini değiştirebilirsin.
Model kimliği
elevenlabs/voice-changerÇ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/voice-changer",
"input": {
"audio_url": "https://example.com/input.mp3"
}
}'
# 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/voice-changer", "quote_id": "QUOTE_ID", "input": {"audio_url":"https://example.com/input.mp3"}}'
# 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 |
|---|---|---|
audio_urlzorunlu | string (URL) | The input audio file |
voice | string | The voice to use for speech generation |
remove_background_noise | boolean | If set, will remove the background noise from your audio input using our audio isolation model. |
seed | integer | Random seed for reproducibility. |
output_format | string (enum) | Output format of the generated audio. Formatted as codec_sample_rate_bitrate. |
Çı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
- dakika başına$0,4754/ dakika
Girdinin kesin ücreti ücret teklifinden gelir. Bakiye nasıl kesinleşir?