Dža ko lil

Elevenlabs Sound Effects V2

Integriruj

Modelosko 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.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"

Kava mangipen: $0.044 44 API krediti Phir les kate

Lel API klidin
ElevenLabs Audio 0.5–22 s #sound

Kerel zvukoske efekta katar jekh tekstesko deskripcija, le opcionalno loop modosa thaj kontrolasa le lungipe vaš dži ko 22 sekundura

ElevenLabs · Audio

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul 88 / 450

Deskripcija e zvukoske efektoski savo trubul te kerel.

Zvukoski durata ande sekunde, 0.5 dži 22. Kana deldo None, promptos ginavel e optimalno duratasa.

Lučhe output_format · prompt_influence · loop
standardno mp3_44100_128

Generime audiosko formato, specifičime codec_sample_rate_bitrate patternsa.

standardno 0.3

Promptoski adherence, 0 dži 1; feder vrednosa tiknarel variation.

POST /run/elevenlabs/sound-effects/v2?wait=20 hesab → $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"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Elevenlabs Sound Effects V2

Paruvel jek kısa tekstoski deskripcija (dži 450 karaktera) ande zvukosko efekto. Setin `duration_seconds` maškar 0.5 thaj 22, vaj mukh les prazno kaj o modelo te kidel jek lungipe katar prompto. `prompt_influence` si 0 dži 1, `loop` mangel smoothly repetirime zvuko, thaj `output_format` del MP3, PCM, mu-law, A-law thaj Opus opcije.

Parametra

NavTip standardnoMuklo Vakeripe
texttrubul
Tipstring
≤ 450 simbolura
Deskripcija e zvukoske efektoski savo trubul te kerel.
duration_secondsopcionalno
Tipnumber | null
0.5 – 22
Zvukoski durata ande sekunde, 0.5 dži 22. Kana deldo None, promptos ginavel e optimalno duratasa.
prompt_influenceopcionalno
Tipnumber
standardno0.3
0 – 1
Promptoski adherence, 0 dži 1; feder vrednosa tiknarel variation.
output_formatopcionalno
Tipenum
standardnomp3_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 averopus_48000_96opus_48000_128opus_48000_192
Generime audiosko formato, specifičime codec_sample_rate_bitrate patternsa.
loopopcionalno
Tipboolean
standardnofalse
Kontrolinel whether generime zvukosko efekto šaj te loopinel bi phageripnasa.
trubul

Rezultato

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"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
audio
object {url, content_type, file_name, file_size}Generime zvukosko efekto fajlo enkodime sar MP3 audio.

Bute modeli: Audio

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/elevenlabs/sound-effects/v2.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt