Peke ki ngā ihirangi

Eleven v4 Text to Speech

Whakauru

id tauira 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"

Tēnei tono: $ 0.014 14 whiwhinga API · ≈ ₽ 1.51 Whakahaerehia ki tēnei whārangi

Tikina he kī API
ElevenLabs Kuputuhi ki te Kōrero #voiceover#expressive#timestamps

Ko te tauira reo tino whakapuaki a ElevenLabs, me ngā tūtohu kare ā-roto me ngā tohu wā kupu.

Ngā tauira

Putanga · ~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 whiwhinga API

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana 169 / 5000

Whakaratohia ngā ihirangi kōrero hei kuputuhi, ā, ki te hiahia, tohuhia te āhua o te tuku mā ngā tūtohu ororongo pērā i te [whispering], whakatakotohia rānei ngā whakahua IPA ki waenga i ngā rītaha whakamua.

taunoa Rachel

Te reo kua kōwhiria mō te waihanga kōrero.

Arā atu apply_text_normalization · language_code · output_format · stability · similarity_boost · seed · timestamps
apply_text_normalization taunoa auto

Ka whakahaere i te whakarite kuputuhi i mua i te whakaputanga, tae atu ki te whakahaere tau me ngā rā.

Waehere reo ISO 639-1 ka whakamahia mō te whakaputa kōrero me te whakarite kuputuhi.

taunoa mp3_44100_128

Te hōputu ororongo i whakaputaina, kua tohua mā te tauira codec_sample_rate_bitrate.

taunoa 0.5

Ka whakataurite te pūmautanga o te reo i te tuku whai-āhua i ngā tautuhinga iti ki te tuku taurite i ngā tautuhinga nui.

taunoa 0.75

Mana ōritetanga ki te reo tohutoro, me te tauhokohoko pea ki te māori: mā te whakapiki ka kaha ake te ōrite, engari ka iti ake pea te māori o te putanga.

Kākano hei whakamātau i ngā putanga ka taea te tāruarua; kāore e whakamanahia te tāruaruatanga pū o te putanga.

POST /run/elevenlabs/tts/eleven-v4?wait=20 utu → $ 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"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Eleven v4 Text to Speech

Ka pānui reo māori, kare ā-roto hoki a Eleven v4 i te tuhinga, ā, ka mārama ki ngā tūtohu oro ā-raina pēnei i [excited] rānei [whispering], me ngā whakahua IPA. Kōwhiria he reo, whakatikahia te pūmautanga me te ōritetanga, whakaritea te reo, ā, mēnā e hiahia ana, tiki tohu wā taumata-kupu. Ngā whakatakotoranga MP3, PCM, Opus me te waea.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
texte hiahiatia ana
Momostring
≤ 5,000 pūāhua
Whakaratohia ngā ihirangi kōrero hei kuputuhi, ā, ki te hiahia, tohuhia te āhua o te tuku mā ngā tūtohu ororongo pērā i te [whispering], whakatakotohia rānei ngā whakahua IPA ki waenga i ngā rītaha whakamua.
voicekōwhiringa
Momostring
TaunoaRachel
Te reo kua kōwhiria mō te waihanga kōrero.
stabilitykōwhiringa
Momonumber
Taunoa0.5
0 – 1
Ka whakataurite te pūmautanga o te reo i te tuku whai-āhua i ngā tautuhinga iti ki te tuku taurite i ngā tautuhinga nui.
similarity_boostkōwhiringa
Momonumber
Taunoa0.75
0 – 1
Mana ōritetanga ki te reo tohutoro, me te tauhokohoko pea ki te māori: mā te whakapiki ka kaha ake te ōrite, engari ka iti ake pea te māori o te putanga.
seedkōwhiringa
Momointeger | null
0 – 4,294,967,295
Kākano hei whakamātau i ngā putanga ka taea te tāruarua; kāore e whakamanahia te tāruaruatanga pū o te putanga.
language_codekōwhiringa
Momostring | null
Waehere reo ISO 639-1 ka whakamahia mō te whakaputa kōrero me te whakarite kuputuhi.
output_formatkōwhiringa
Momoenum
Taunoamp3_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 anōopus_48000_96opus_48000_128opus_48000_192
Te hōputu ororongo i whakaputaina, kua tohua mā te tauira codec_sample_rate_bitrate.
apply_text_normalizationkōwhiringa
Momoenum
Taunoaauto
autoonoff
Ka whakahaere i te whakarite kuputuhi i mua i te whakaputanga, tae atu ki te whakahaere tau me ngā rā.
timestampskōwhiringa
Momoboolean
Taunoafalse
Ka whakahaere mēnā ka whai raraunga wā mō ia pūāhua te ororongo kua whakaputaina.
e hiahiatia ana

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
audio
object {url, content_type, file_name, file_size}Te kōnae ororongo i puta mai i te whakaputanga.
timestamps
array of any | nullNgā raraunga wā o te whaikōrero i whakaputaina, ka whakaurua mō ngā tono anake kua tautuhia a `timestamps` ki True, me te timestamp mō ia kupu.

Ētahi atu tauira: Kuputuhi ki te Kōrero

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/elevenlabs/tts/eleven-v4.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt