İçeriğe geç

Elevenlabs Sound Effects V2

Entegre et

Model kimliği elevenlabs/sound-effects/v2
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/elevenlabs/sound-effects/v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Bu istek: $0,044 44 API kredisi Bu sayfada çalıştır

API anahtarı al
ElevenLabs Ses 0,5–22 s #sound

Metin açıklamasından ses efektleri oluşturur; isteğe bağlı döngü modu ve 22 saniyeye kadar süre kontrolü sunar

ElevenLabs · Ses

İlk sonucunuz burada görünecek

Aşağıda bir istek oluşturun ve API anahtarınızla çalıştırın. Çıktılar depolamamıza kopyalanır ve sonsuza kadar veya ücretsiz olarak 7 gün boyunca saklanır.

İstek oluştur

Kontroller model şemasından oluşturulur. Değerleri değiştirdikçe kod ve fiyat güncellenir.

•gerekli 88 / 450

Üretilecek ses efektinin açıklaması.

0.5 ile 22 saniye arasında değişen ses süresi. None sağlanırsa istem en uygun uzunluğu belirler.

Gelişmiş output_format · prompt_influence · loop
varsayılan mp3_44100_128

codec_sample_rate_bitrate kalıbı kullanılarak belirtilen üretilmiş ses formatı.

varsayılan 0.3

0 ile 1 arasında değişen istem uyumu; artırılması varyasyonu azaltır.

POST /run/elevenlabs/sound-effects/v2?wait=20 fiyat → $0,044
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/elevenlabs/sound-effects/v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Bu isteği çalıştır

Anahtarınız bu tarayıcıda kalır: yalnızca Doitong API'ye gönderilir ve yalnızca Hatırla seçeneğini işaretlerseniz localStorage'a kaydedilir. API anahtarı al

Elevenlabs Sound Effects V2 hakkında

Kısa bir metin açıklamasını (en fazla 450 karakter) ses efektine dönüştürür. `duration_seconds` değerini 0.5 ile 22 arasında ayarlayın veya modelin prompttan bir süre seçmesi için boş bırakın. `prompt_influence` 0 ile 1 arasındadır; `loop` sorunsuz tekrarlanan bir ses ister ve `output_format` MP3, PCM, mu-law, A-law ve Opus seçenekleri sunar.

Parametreler

AdTür Varsayılanİzin verilen Açıklama
textgerekli
Türstring
≤ 450 karakter
Üretilecek ses efektinin açıklaması.
duration_secondsisteğe bağlı
Türnumber | null
0,5 – 22
0.5 ile 22 saniye arasında değişen ses süresi. None sağlanırsa istem en uygun uzunluğu belirler.
prompt_influenceisteğe bağlı
Türnumber
Varsayılan0.3
0 – 1
0 ile 1 arasında değişen istem uyumu; artırılması varyasyonu azaltır.
output_formatisteğe bağlı
Türenum
Varsayılanmp3_44100_128
mp3_22050_32mp3_44100_32mp3_44100_64mp3_44100_96mp3_44100_128mp3_44100_192pcm_8000pcm_16000pcm_22050pcm_24000pcm_44100pcm_48000ulaw_8000alaw_8000opus_48000_32opus_48000_64
+3 tane dahaopus_48000_96opus_48000_128opus_48000_192
codec_sample_rate_bitrate kalıbı kullanılarak belirtilen üretilmiş ses formatı.
loopisteğe bağlı
Türboolean
Varsayılanfalse
Üretilen ses efektinin kesintisiz döngüyü destekleyip desteklemediğini kontrol eder.
gerekli

Çıktı

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "elevenlabs/sound-effects/v2",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 44,
    "usd": "0.044",
    "charged": 44,
    "refunded": 0
  },
  "input": {
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "audio": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_name": "0-output.mp3",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "audio",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration": 12,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Dosyalarınız, seçiminizHer outputs[].url, depolamamızdaki bir kopyadır: sonsuza kadar (GB-ay başına ücretli) veya ücretsiz olarak 7 gün boyunca, hesap ayarınızla ya da ?storage= ile saklanır.
Her modelde aynı yapıGörüntüler, video ve ses için type, url, content_type, width, height ve duration aynıdır. output, modelin kendi sonuç nesnesidir.
Çıktı alanları
audio
object {url, content_type, file_name, file_size}MP3 sesi olarak kodlanmış üretilmiş ses efekti dosyası.

Daha fazla model: Ses

AI aracıları için: bu sayfanın Markdown biçimi şurada: https://doitong.com/tr/developers/models/elevenlabs/sound-effects/v2.md. Tüm modeller ve kılavuzlar: https://doitong.com/developers/llms.txt