Dža ko lil

Eleven v4 Text to Speech

Integriruj

Modelosko id elevenlabs/tts/eleven-v4
# 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/tts/eleven-v4?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "[whispers] Okay, everyone, gather close. [excited] The bread is finally out of the oven. [laughs] Fine, fine, one slice each, but only if you promise to save one for me."
  }'

# 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"

Kava mangipen: $0.014 14 API krediti · ≈ ₽1.51 Phir les kate

Lel API klidin
ElevenLabs Teksto ko Lav #voiceover#expressive#timestamps

ElevenLabs-os maj ekspresivno voicesko modelo, inline emotivno tagurenca thaj lilenge timestampurenca.

Primerura

rezultato · ~14 s
[whispers] Okay, everyone, gather close. [excited] The bread is finally out of the oven. [laughs] Fine, fine, one slice each, but only if you promise to save one for me.$0.014 · 14 API krediti

Ker jekh mangipen

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

•trubul 169 / 5000

De govorutno kotor sar teksto; opciono značinel e prezentacijakoro stilo audio-tagenca sar [whispering] vaj IPA-vakera maškar e kherutne slashura.

standardno Rachel

Glaso kidlo vaš vakeripeqi sinteza.

Lučhe apply_text_normalization · language_code · output_format · stability · similarity_boost · seed · timestamps
apply_text_normalization standardno auto

Kontrolinel e tekstoskiri normalizacija anglal e keripe, thaj sar trattirinen pes e numerura thaj e data.

ISO 639-1 čhibakoro kodo savo si uporabime kana kerel pes govor thaj normalizirinen pes o teksto.

standardno mp3_44100_128

Generime audiosko formato, specifičime codec_sample_rate_bitrate patternsa.

standardno 0.5

Stabiliteto e glasesko balansinel ekspresivno prezentaciako džalipen tele settingsenca thaj konzistentno džalipen uče settingsenca.

standardno 0.75

Kontrolo e sličnostako e referentne glasesa, potencialne naturalnostasa: vazdindoj la zorarel o podobenipen, ama šaj te kerel o rezultato maj-naturalo te šunel pes.

Seed savo šaj te del reproducibilno rezultatura; eksakto te repetirindol o rezultato nane garantime.

POST /run/elevenlabs/tts/eleven-v4?wait=20 hesab → $0.014
# 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/tts/eleven-v4?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "[whispers] Okay, everyone, gather close. [excited] The bread is finally out of the oven. [laughs] Fine, fine, one slice each, but only if you promise to save one for me."
  }'

# 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"

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 Eleven v4 Text to Speech

Eleven v4 ginel o tekst zorales naturalone thaj emocijakone glasesa thaj prinžarel inline audio tagura sar [excited]\nvaj [whispering], sar vi IPA pronuncijacije. Alosar jekh glaso, regulir stabilipe thaj podobipe, setisar e čhib,\nthaj opcionalone lel lavengo nivelo timestampe. MP3, PCM, Opus thaj telephony formatura.

Parametra

NavTip standardnoMuklo Vakeripe
texttrubul
Tipstring
≤ 5,000 simbolura
De govorutno kotor sar teksto; opciono značinel e prezentacijakoro stilo audio-tagenca sar [whispering] vaj IPA-vakera maškar e kherutne slashura.
voiceopcionalno
Tipstring
standardnoRachel
Glaso kidlo vaš vakeripeqi sinteza.
stabilityopcionalno
Tipnumber
standardno0.5
0 – 1
Stabiliteto e glasesko balansinel ekspresivno prezentaciako džalipen tele settingsenca thaj konzistentno džalipen uče settingsenca.
similarity_boostopcionalno
Tipnumber
standardno0.75
0 – 1
Kontrolo e sličnostako e referentne glasesa, potencialne naturalnostasa: vazdindoj la zorarel o podobenipen, ama šaj te kerel o rezultato maj-naturalo te šunel pes.
seedopcionalno
Tipinteger | null
0 – 4,294,967,295
Seed savo šaj te del reproducibilno rezultatura; eksakto te repetirindol o rezultato nane garantime.
language_codeopcionalno
Tipstring | null
ISO 639-1 čhibakoro kodo savo si uporabime kana kerel pes govor thaj normalizirinen pes o teksto.
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.
apply_text_normalizationopcionalno
Tipenum
standardnoauto
autoonoff
Kontrolinel e tekstoskiri normalizacija anglal e keripe, thaj sar trattirinen pes e numerura thaj e data.
timestampsopcionalno
Tipboolean
standardnofalse
Kontrolinel, si li generirime audioske timing-data pala jekutne karakterura.
trubul

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "elevenlabs/tts/eleven-v4",
  "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": 14,
    "usd": "0.014",
    "charged": 14,
    "refunded": 0
  },
  "input": {
    "text": "[excited] Hello! Welcome to the future of voice.",
    "voice": "Aria"
  },
  "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
    },
    "timestamps": []
  },
  "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"
  }
}
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}Audio fajlo kerdo generaciatar.
timestamps
array of any | nullGenerime vakeripnasko timing dato, deldo numa mangipnenge `timestamps` setime pe True, timestamposa vaš sako lav.

Bute modeli: Teksto ko Lav

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