Leum chun t-susbaint

Async Text to Speech Pro V1.0

Amalaich

ID a’ mhodail 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"

An t-iarrtas seo: $0.001 1 creideas API · ≈ ₽0.10 Ruith e air an duilleig seo

Faigh iuchair API
Async Teacsa gu Òraid Sioncronadh bilean #text-to-speech#voice-clone#lipsync

Teacsa-gu-cainnt le taghadh gutha, clonadh gutha roghainneil agus sia roghainnean cànain èignichte

Async · Fuaim

Thèid a’ chiad toradh agad an-seo

Tog iarrtas gu h-ìosal agus ruith e leis an iuchair API agad. Tha na h-às-churan air an lethbhreacadh dhan stòradh againn, air an cumail gu bràth no 7 latha an-asgaidh.

Tog iarrtas

Tha na smachdan air an cruthachadh bho sgeama a’ mhodail. Bidh an còd agus a’ phrìs ag ùrachadh fhad ’s a dh’atharraicheas tu iad.

•riatanach

Susbaint teacsa ri cho-chur mar chainnt.

•riatanach

Guth a chaidh a thaghadh airson co-chur cainnte.

Adhartach language · output_format
language

Cànan ri sparradh rè co-chur, air a shònrachadh le ISO 639-1.

Rèiteachadh airson na claisneachd a chaidh a ghineadh.

POST /run/async/tts-pro/v1.0?wait=20 tuairmse → $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"

Ruith an t-iarrtas seo

Fuirichidh an iuchair agad sa bhrobhsair seo: thèid a cur chun Doitong API a-mhàin agus a sàbhaladh (localStorage) a-mhàin ma chuireas tu comharra ri Cuimhnich. Faigh iuchair API

Mu Async Text to Speech Pro V1.0

A’ tionndadh `transcript` gu cainnt a’ cleachdadh nì `voice` taghte. Bidh am paramadair `language` roghainneil a’ sparradh co-chur ann am Beurla, Fraingis, Spàinntis, Gearmailtis, Eadailtis no Portagailis. Bidh nì `output_format` a’ rèiteachadh an fhuaim, agus tha am faidhle fuaim, a sheòrsa MIME agus a mheud ann am bytes anns an toradh. Freagarrach airson voiceovers far an tagh thu guth sònraichte.

Paramadairean

AinmSeòrsa Bun-roghainnCeadaichte Tuairisgeul
transcriptriatanach
Seòrsastring
Susbaint teacsa ri cho-chur mar chainnt.
voiceriatanach
Seòrsaobject
Guth a chaidh a thaghadh airson co-chur cainnte.
voice.nameroghainneil
Seòrsaenum
Bun-roghainnJennie
JennieStellaMaxHayesElaraCleoFisherCorinThaddeusLucinaAcadiaHuxleyWinsletJethroElioRupert
+84 eileEiraNyraArianLilyPierceKaelaElowenFreyaLennyAlessaPandoraFiaAbbottKaelOrlaSableMarnieSeraVirelLioraRivenElysDreenaRheaVelaNymeraIsoldeLirienZellaAvennaMirelleCaliaLuneaLucanTarianArloJovanNeronZivenDaxOrienLiorEryxTyrenNoxElricVarianZoranMiroDalenRonixJarekNyxieSorenVionaSeleneRachielCorbinAbigailFaithKimberlyDaveGraceAldenRenlyVioletJoelXavierEsmeraldaRobertLilaBrooksLennoxVanessaSimonNyomiJackPenelopeBraydenAbelNellieConnieAndrewLincoln
Guth ro-shuidhichte ainmichte ri chleachdadh. Chan eil buaidh aige ma tha `id` air a solar.
output_formatroghainneil
Seòrsaobject
Rèiteachadh airson na claisneachd a chaidh a ghineadh.
output_format.containerroghainneil
Seòrsaenum
Bun-roghainnmp3
mp3raw
Cruth soitheach na claisneachd a chaidh a ghineadh.
output_format.encodingroghainneil
Seòrsaenum
pcm_s16lepcm_f32lepcm_mulaw
Còdachadh PCM a thèid a chur an sàs dìreach nuair a tha an soitheach 'raw'.
output_format.sample_rateroghainneil
Seòrsainteger
Bun-roghainn44100
8,000 – 48,000
Tricead samplachaidh an às-chuir, ann an Hz.
output_format.bit_rateroghainneil
Seòrsainteger | null
32,000 – 320,000
Ìre bit an às-chuir; chan eil e iomchaidh ach don t-soitheach 'mp3'.
languageroghainneil
Seòrsaenum
enfresdeitpt
Cànan ri sparradh rè co-chur, air a shònrachadh le ISO 639-1.
riatanach

Toradh

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"
  }
}
Na faidhlichean agad, do roghainnTha gach outputs[].url na lethbhreac air an stòradh againn: air a chumail gu bràth (air a phàigheadh gach GB-mìos) no 7 latha an-asgaidh, a rèir suidheachadh a’ chunntais agad no ?storage=.
An aon chruth air gach modailtype, url, content_type, width, height agus duration, airson dealbhan, bhidio agus fuaim le chèile. ’S e output nì toraidh a’ mhodail fhèin.
Raointean toraidh
audio
object {url, content_type, file_name, file_size}
content_type
stringSeòrsa MIME na claisneachd.
size_bytes
integerMeud na claisneachd air a thomhas ann am bytes.

Do riochdairean AI: tha an duilleag seo mar Markdown aig https://doitong.com/gd/developers/models/async/tts-pro/v1.0.md. Na modailean agus na treòraichean uile: https://doitong.com/developers/llms.txt