सामग्री पर जाएँ

Elevenlabs Sound Effects V2

इंटीग्रेट करें

मॉडल id 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.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

यह अनुरोध: $0.044 44 API क्रेडिट · ≈ ₽4.73 इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
ElevenLabs ऑडियो 0.5–22 s #sound

टेक्स्ट विवरण से ध्वनि प्रभाव बनाता है, जिसमें वैकल्पिक लूप मोड और 22 सेकंड तक अवधि नियंत्रण है

ElevenLabs · ऑडियो

आपका पहला परिणाम यहाँ आएगा

नीचे एक अनुरोध बनाएँ और उसे अपनी API कुंजी से चलाएँ। आउटपुट हमारे स्टोरेज में कॉपी किए जाते हैं और हमेशा के लिए या 7 दिन तक मुफ़्त में रखे जाते हैं।

अनुरोध बनाएँ

कंट्रोल मॉडल स्कीमा से जनरेट होते हैं। इन्हें बदलने पर कोड और कीमत अपडेट होती है।

•आवश्यक 88 / 450

बनाए जाने वाले ध्वनि प्रभाव का विवरण।

सेकंड में ध्वनि की अवधि, 0.5 से 22 तक। यदि None दिया जाता है, तो प्रॉम्प्ट इष्टतम लंबाई निर्धारित करता है।

उन्नत output_format · prompt_influence · loop
डिफ़ॉल्ट mp3_44100_128

निर्मित ऑडियो फ़ॉर्मैट, `codec_sample_rate_bitrate` पैटर्न का उपयोग करके निर्दिष्ट।

डिफ़ॉल्ट 0.3

प्रॉम्प्ट-अनुरूपता, 0 से 1 तक; इसे बढ़ाने पर विविधता कम होती है।

POST /run/elevenlabs/sound-effects/v2?wait=20 कोटेशन → $0.044
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

यह अनुरोध चलाएँ

आपकी key इसी ब्राउज़र में रहती है: इसे केवल Doitong API को भेजा जाता है और केवल तभी (localStorage) में सेव किया जाता है जब आप Remember चुनते हैं। API कुंजी प्राप्त करें

Elevenlabs Sound Effects V2 के बारे में

छोटे टेक्स्ट विवरण (अधिकतम 450 वर्ण) को ध्वनि प्रभाव में बदलता है। `duration_seconds` को 0.5 और 22 के बीच सेट करें, या इसे खाली छोड़ दें ताकि मॉडल प्रॉम्प्ट से अवधि चुने। `prompt_influence` 0 से 1 तक होता है, `loop` सुचारु रूप से दोहराई जाने वाली ध्वनि का अनुरोध करता है, और `output_format` MP3, PCM, mu-law, A-law और Opus विकल्प देता है।

पैरामीटर

नामप्रकार डिफ़ॉल्टअनुमत विवरण
textआवश्यक
प्रकारstring
≤ 450 अक्षर
बनाए जाने वाले ध्वनि प्रभाव का विवरण।
duration_secondsवैकल्पिक
प्रकारnumber | null
0.5 – 22
सेकंड में ध्वनि की अवधि, 0.5 से 22 तक। यदि None दिया जाता है, तो प्रॉम्प्ट इष्टतम लंबाई निर्धारित करता है।
prompt_influenceवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट0.3
0 – 1
प्रॉम्प्ट-अनुरूपता, 0 से 1 तक; इसे बढ़ाने पर विविधता कम होती है।
output_formatवैकल्पिक
प्रकारenum
डिफ़ॉल्टmp3_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 औरopus_48000_96opus_48000_128opus_48000_192
निर्मित ऑडियो फ़ॉर्मैट, `codec_sample_rate_bitrate` पैटर्न का उपयोग करके निर्दिष्ट।
loopवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
यह नियंत्रित करता है कि निर्मित ध्वनि प्रभाव बिना रुकावट लूपिंग का समर्थन करता है या नहीं।
आवश्यक

आउटपुट

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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
आपकी फ़ाइलें, आपकी पसंदहर outputs[].url हमारे स्टोरेज में एक कॉपी है: हमेशा के लिए (प्रति GB-माह भुगतान) या 7 दिन तक मुफ़्त में, आपके अकाउंट की सेटिंग या ?storage= के अनुसार।
हर मॉडल पर एक जैसा आकारइमेज, वीडियो और ऑडियो सभी के लिए type, url, content_type, width, height और duration। output मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
audio
object {url, content_type, file_name, file_size}MP3 ऑडियो के रूप में एन्कोड की गई निर्मित ध्वनि प्रभाव फ़ाइल।

और मॉडल: ऑडियो

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/elevenlabs/sound-effects/v2.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt