Model API'si

MiniMax Speech 2.8 [HD]

MiniMax Speech 2.8 HD ile anlatım metnini seslendir.

Model kimliği

Her istekte bunu kullan
minimax/speech-2.8-hd

Ç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/speech-2.8-hd",
  "input": {
    "prompt": "A red ceramic cup on a wooden table, soft morning light"
  }
}'

# 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/speech-2.8-hd", "quote_id": "QUOTE_ID", "input": {"prompt":"A red ceramic cup on a wooden table, soft morning light"}}'

# 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/speech-2.8-hd girdi alanları
AlanTürAçıklama
promptzorunlustring
Text to convert to speech. Use `<#x#>` for pauses (x = 0.01-99.99 seconds). Supports interjection tags: `(laughs)`, `(sighs)`, `(coughs)`, `(clears throat)`, `(gasps)`, `(sniffs)`, `(groans)`, `(yawns)`.
voice_settingobject
Voice configuration settings

Varsayılan: {"english_normalization":false,"pitch":0,"speed":1,"voice_id":"Wise_Woman","vol":1}

audio_settingobject
Audio configuration settings
language_booststring (enum)
Enhance recognition of specified languages and dialects
output_formatstring (enum)
Format of the output content (non-streaming only)

Varsayılan: url

Seçenekler: url

pronunciation_dictobject
Custom pronunciation dictionary for text replacement
normalization_settingobject
Loudness normalization settings for the audio
voice_modifyobject
Voice modification settings for Speech 2.8 models.

Çı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$0,17/ üretim

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