Model API'si

Chatterboxhd

Chatterboxhd ile metni konuşmaya dönüştür; ses ve konuşma ayarlarını seç.

Model kimliği

Her istekte bunu kullan
resemble-ai/chatterboxhd/text-to-speech

Ç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": "resemble-ai/chatterboxhd/text-to-speech",
  "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": "resemble-ai/chatterboxhd/text-to-speech", "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

resemble-ai/chatterboxhd/text-to-speech girdi alanları
AlanTürAçıklama
textzorunlustring
Text to synthesize into speech.
voicestring (enum)
The voice to use for the TTS request. If neither voice nor audio are provided, a random voice will be used.

Seçenekler: Aurora, Blade, Britney, Carl, Cliff, Richard, Rico, Siobhan, Vicky

audio_urlstring (URL)
URL to the audio sample to use as a voice prompt for zero-shot TTS voice cloning. Providing a audio sample will override the voice setting. If neither voice nor audio_url are provided, a random voice will be used.
exaggerationnumber
Controls emotion exaggeration. Range typically 0.25 to 2.0.

Varsayılan: 0.5

cfgnumber
Classifier-free guidance scale (CFG) controls the conditioning factor. Range typically 0.2 to 1.0. For expressive or dramatic speech, try lower cfg values (e.g. ~0.3) and increase exaggeration to around 0.7 or higher. If the reference speaker has a fast speaking style, lowering cfg to around 0.3 can improve pacing.

Varsayılan: 0.5

high_quality_audioboolean
If True, the generated audio will be upscaled to 48kHz. The generation of the audio will take longer, but the quality will be higher. If False, the generated audio will be 24kHz.

Varsayılan: false

seedinteger
Useful to control the reproducibility of the generated audio. Assuming all other properties didn't change, a fixed seed should always generate the exact same audio file. Set to 0 for random seed.

Varsayılan: 0

temperaturenumber
Controls the randomness of generation. Range typically 0.05 to 5.

Varsayılan: 0.8

Çı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?