Model API'si

ElevenLabs Sound Effects V3

Model kimliği

Her istekte bunu kullan
elevenlabs-sound-effects-v3

Ç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-sound-effects-v3",
  "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": "elevenlabs-sound-effects-v3", "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

elevenlabs-sound-effects-v3 girdi alanları
AlanTürAçıklama
promptzorunlustring
Required. Describe the sound to generate, e.g. "heavy rain on a tin roof with distant thunder".
durationstring (enum)
Required. Length of the sound effect in seconds, from 1 to 30.

Varsayılan: 5

outputFormatstring (enum)
Required.

Varsayılan: mp3_44100_128

Seçenekler: mp3_22050_32, mp3_44100_32, mp3_44100_64, mp3_44100_96, mp3_44100_128

loopstring (enum)
Optional. Default false. When true, the sound loops seamlessly, its end blending into its start.

Varsayılan: false

Seçenekler: false, true

promptInfluencenumber
Optional. Default 0.3. How closely the sound follows the prompt. Higher values follow it more closely with less variation.

Varsayılan: 0.3

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

  • 1 s$0,01/ ses
  • 2 s$0,01/ ses
  • 3 s$0,01/ ses
  • 4 s$0,02/ ses
  • 5 sn$0,02/ ses
  • 6 s$0,02/ ses
  • 7 s$0,03/ ses
  • 8 s$0,03/ ses
  • 9 s$0,03/ ses
  • 10 s$0,04/ ses
  • 11 s$0,04/ ses
  • 12 s$0,04/ ses
  • 13 s$0,05/ ses
  • 14 s$0,05/ ses
  • 15 s$0,05/ ses
  • 16 s$0,06/ ses
  • 17 s$0,06/ ses
  • 18 s$0,06/ ses
  • 19 s$0,07/ ses
  • 20 s$0,07/ ses
  • 21 s$0,07/ ses
  • 22 s$0,07/ ses
  • 23 s$0,08/ ses
  • 24 s$0,08/ ses
  • 25 s$0,08/ ses
  • 26 s$0,09/ ses
  • 27 s$0,09/ ses
  • 28 s$0,09/ ses
  • 29 s$0,10/ ses
  • 30 s$0,10/ ses

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