Neidio i'r cynnwys

Elevenlabs Sound Effects V2

Integreiddio

ID y model 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"

Y cais hwn: $0.044 44 o gredydau API · ≈ ₽4.73 Ei redeg ar y dudalen hon

Cael allwedd API
ElevenLabs Sain 0.5–22 s #sound

Yn creu effeithiau sain o ddisgrifiad testun, gyda modd dolen dewisol a rheolaeth hyd hyd at 22 eiliad

ElevenLabs · Sain

Mae eich canlyniad cyntaf yn mynd yma

Adeiladwch gais isod a'i redeg gyda'ch allwedd API. Mae allbynnau'n cael eu copïo i'n storio, wedi'u cadw am byth neu am 7 diwrnod am ddim.

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

•gofynnol 88 / 450

Disgrifiad o'r effaith sain i'w chynhyrchu.

Hyd sain mewn eiliadau, yn amrywio o 0.5 i 22. Os cyflenwir None, mae'r anogiad yn pennu'r hyd gorau.

Uwch output_format · prompt_influence · loop
rhagosodedig mp3_44100_128

Fformat sain a gynhyrchir, wedi'i bennu gan ddefnyddio'r patrwm codec_sample_rate_bitrate.

rhagosodedig 0.3

Glynu wrth yr anogiad, yn amrywio o 0 i 1; mae ei gynyddu yn lleihau amrywiad.

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

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Ynglŷn â Elevenlabs Sound Effects V2

Yn troi disgrifiad testun byr (hyd at 450 nod) yn effaith sain. Gosodwch `duration_seconds` rhwng 0.5 a 22, neu gadewch ef yn wag i adael i'r model ddewis hyd o'r anogiad. Mae `prompt_influence` yn amrywio o 0 i 1, mae `loop` yn gofyn am sain sy'n ailadrodd yn llyfn, ac mae `output_format` yn cynnig opsiynau MP3, PCM, mu-law, A-law ac Opus.

Paramedrau

EnwMath RhagosodedigCaniateir Disgrifiad
textgofynnol
Mathstring
≤ 450 nod
Disgrifiad o'r effaith sain i'w chynhyrchu.
duration_secondsdewisol
Mathnumber | null
0.5 – 22
Hyd sain mewn eiliadau, yn amrywio o 0.5 i 22. Os cyflenwir None, mae'r anogiad yn pennu'r hyd gorau.
prompt_influencedewisol
Mathnumber
Rhagosodedig0.3
0 – 1
Glynu wrth yr anogiad, yn amrywio o 0 i 1; mae ei gynyddu yn lleihau amrywiad.
output_formatdewisol
Mathenum
Rhagosodedigmp3_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 yn rhagoropus_48000_96opus_48000_128opus_48000_192
Fformat sain a gynhyrchir, wedi'i bennu gan ddefnyddio'r patrwm codec_sample_rate_bitrate.
loopdewisol
Mathboolean
Rhagosodedigfalse
Yn rheoli a yw'r effaith sain a gynhyrchir yn cefnogi dolennu di-dor.
gofynnol

Allbwn

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"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
audio
object {url, content_type, file_name, file_size}Ffeil effaith sain a gynhyrchir, wedi'i hamgodio fel sain MP3.

Mwy o fodelau: Sain

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/elevenlabs/sound-effects/v2.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt