ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

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/pa/developers/models/elevenlabs/sound-effects/v2.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt