Peke ki ngā ihirangi

Async Text to Speech Pro V1.0

Whakauru

id tauira async/tts-pro/v1.0
# 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/async/tts-pro/v1.0?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "transcript": "Hello from Doitong. This is a short test sentence.",
    "voice": {
      "name": "Jennie"
    }
  }'

# 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.001 1 whiwhinga API · ≈ ₽ 0.10 Whakahaerehia ki tēnei whārangi

Tikina he kī API
Async Kuputuhi ki te Kōrero Tukutahi Ngutu #text-to-speech#voice-clone#lipsync

Kuputuhi-ki-te-kōrero me te tīpako reo, te tārua reo whiriwhiri me ngā kōwhiringa reo takoha e ono

Async · Ororongo

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

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

Ngā ihirangi kuputuhi hei waihanga kōrero.

•e hiahiatia ana

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

Arā atu language · output_format
language

Te reo hei whakatinana i te waihanga, kua tohua mā ISO 639-1.

Whirihoranga mō te ororongo kua whakaputaina.

POST /run/async/tts-pro/v1.0?wait=20 utu → $ 0.001
# 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/async/tts-pro/v1.0?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "transcript": "Hello from Doitong. This is a short test sentence.",
    "voice": {
      "name": "Jennie"
    }
  }'

# 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ō Async Text to Speech Pro V1.0

Ka huri i tētahi `transcript` hei kōrero mā te whakamahi i tētahi ahanoa `voice` kua tīpakohia. Mā te tawhā `language` whiriwhiri e takoha te waihanga ki English, French, Spanish, German, Italian, Portuguese rānei. Mā tētahi ahanoa `output_format` e whirihora te oro, ā, kei roto i te hua te kōnae oro, tōna momo MIME me tōna rahi ki ngā paita. He pai mō ngā reo whakamārama ina tīpakohia he reo motuhake.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
transcripte hiahiatia ana
Momostring
Ngā ihirangi kuputuhi hei waihanga kōrero.
voicee hiahiatia ana
Momoobject
Te reo kua kōwhiria mō te waihanga kōrero.
voice.namekōwhiringa
Momoenum
TaunoaJennie
JennieStellaMaxHayesElaraCleoFisherCorinThaddeusLucinaAcadiaHuxleyWinsletJethroElioRupert
+84 anōEiraNyraArianLilyPierceKaelaElowenFreyaLennyAlessaPandoraFiaAbbottKaelOrlaSableMarnieSeraVirelLioraRivenElysDreenaRheaVelaNymeraIsoldeLirienZellaAvennaMirelleCaliaLuneaLucanTarianArloJovanNeronZivenDaxOrienLiorEryxTyrenNoxElricVarianZoranMiroDalenRonixJarekNyxieSorenVionaSeleneRachielCorbinAbigailFaithKimberlyDaveGraceAldenRenlyVioletJoelXavierEsmeraldaRobertLilaBrooksLennoxVanessaSimonNyomiJackPenelopeBraydenAbelNellieConnieAndrewLincoln
Te reo tatūkē kua whakaingoatia hei whakamahi. Kāore he pānga mēnā ka tukuna `id`.
output_formatkōwhiringa
Momoobject
Whirihoranga mō te ororongo kua whakaputaina.
output_format.containerkōwhiringa
Momoenum
Taunoamp3
mp3raw
Te hōputu ipu mō te ororongo kua whakaputaina.
output_format.encodingkōwhiringa
Momoenum
pcm_s16lepcm_f32lepcm_mulaw
Te whakawaehere PCM ka whakamahia anake ina 'raw' te ipu.
output_format.sample_ratekōwhiringa
Momointeger
Taunoa44100
8,000 – 48,000
Te auau tīpako o te putanga, i Hz.
output_format.bit_ratekōwhiringa
Momointeger | null
32,000 – 320,000
Te auau moka mō te putanga; ka pā anake ki te ipu 'mp3'.
languagekōwhiringa
Momoenum
enfresdeitpt
Te reo hei whakatinana i te waihanga, kua tohua mā ISO 639-1.
e hiahiatia ana

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "async/tts-pro/v1.0",
  "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": 1,
    "usd": "0.001",
    "charged": 1,
    "refunded": 0
  },
  "input": {
    "transcript": "Hello from Doitong. This is a short test sentence.",
    "voice": {
      "name": "Jennie"
    }
  },
  "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
    },
    "content_type": "audio/mpeg",
    "size_bytes": 1
  },
  "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}
content_type
stringMomo MIME ororongo.
size_bytes
integerTe rahi o te ororongo, kua inehia ki ngā paita.

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