Model API'si

MiniMax Voice Cloning

Ses örneğinden bir ses referansı oluştur; istersen örnek bir metni seslendir.

Model kimliği

Her istekte bunu kullan
minimax/voice-clone

Ç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": "minimax/voice-clone",
  "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": "minimax/voice-clone", "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

minimax/voice-clone girdi alanları
AlanTürAçıklama
audio_urlzorunlustring (URL)
URL of the input audio file for voice cloning. Should be at least 10 seconds long. To retain the voice permanently, use it with a TTS (text-to-speech) endpoint at least once within 7 days. Otherwise, it will be automatically deleted.
noise_reductionboolean
Enable noise reduction for the cloned voice

Varsayılan: false

need_volume_normalizationboolean
Enable volume normalization for the cloned voice

Varsayılan: false

accuracynumber
Text validation accuracy threshold (0-1)
textstring
Text to generate a TTS preview with the cloned voice (optional)

Varsayılan: Hello, this is a preview of your cloned voice! I hope you like it!

modelstring (enum)
TTS model to use for preview. Options: speech-02-hd, speech-02-turbo, speech-01-hd, speech-01-turbo

Varsayılan: speech-02-hd

Seçenekler: speech-02-hd, speech-02-turbo, speech-01-hd, speech-01-turbo

Çı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 karakter$2,86/ üretim

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