Peke ki ngā ihirangi

Tada TTS 1B

Whakauru

id tauira tada/1b/text-to-speech
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/tada/1b/text-to-speech?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "audio": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "prompt": "Hello from Doitong. This is a short test sentence."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: $ 0.003 3 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Open model Kuputuhi ki te Kōrero

He text-to-speech tārua reo mai i tētahi topenga oro tohutoro, he momo 1B me ngā reo tekau

Open model · 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

Ihirangi kōrero i tukuna hei tuhinga; mā te kaikōrero tohutoro e whakarato te reo hei whakaputa.

•e hiahiatia ana audio_url
Whakataka he kōnae,

Puna tārua reo i tukuna hei URL kōnae ororongo, e tautuhi ana i te kaikōrero hei tārua mā te tauira i ōna āhuatanga reo.

Arā atu output_format · transcript · language · num_extra_steps · temperature · top_p · repetition_penalty · acoustic_cfg_scale · noise_temperature · num_inference_steps · speed_up_factor · enable_safety_checker
output_format taunoa wav

Hōputu kōnae mō te ororongo kua whakaputaina.

taunoa

Tuhinga ā-tuhi o te ororongo tohutoro me tuku mō ngā hopukanga reo kē atu i te English; kua whakauru te tuhi aunoa mō English anake.

taunoa en

Waehere reo whakahāngai-tuhi, me ōrite ki te reo whakahiato ina whakaputa kōrero ki tētahi reo kē atu i te English.

taunoa 0

Te tatau hīkoi autoregressive tāpiri hei tāpiri i te prosody, i te noho puku rānei ki muri, mā te haere tonu o te kōrero i tua atu i te tuhinga kua tukuna.

taunoa 0.6

Pāmahana sampling o ngā tohu-tuhi: mā te whakapiki e tāpiri ai te rerekētanga o te putanga, ā, kāore e whakaaetia te 0, te uara iti iho rānei.

taunoa 0.9

Tautuhinga sampling Top-p (nucleus) hei whakaputa tuhinga.

taunoa 1.1

Whiu mō te tukurua tohu i te wā whakaputa putanga.

taunoa 1.6

Te kaha arataki classifier-free hei whakaputa āhuatanga oro.

taunoa 0.9

Pāmahana haruru ka whakamahia i te diffusion flow-matching.

taunoa 20

Te tatau hīkoi pūwhakatika ODE hei whakaputa oro mā te flow matching.

taunoa 1

Kaitāpiri tere kōrero: ka pōturi ake te kōrero kua whakaputaina i raro i te 1.0, ka tere ake i runga ake i te 1.0.

POST /run/tada/1b/text-to-speech?wait=20 utu → $ 0.003
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/tada/1b/text-to-speech?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "audio": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "prompt": "Hello from Doitong. This is a short test sentence."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/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ō Tada TTS 1B

Ka kōrero i te kuputuhi `prompt` mā te reo o tētahi topenga tohutoro i tukuna hei `audio_url`. Me tuku he `transcript` o te tohutoro mō te oro ehara i te reo Ingarihi. E tautoko ana `language` i en, ar, ch, de, es, fr, it, ja, pl me pt. Kei roto i ngā whakatikatika `speed_up_factor` (0.5 ki te 2), `temperature`, `top_p` me `num_inference_steps`; ko wav, mp3 rānei te whakaputa.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
audio_urle hiahiatia ana audio
Momourl · audio
Puna tārua reo i tukuna hei URL kōnae ororongo, e tautuhi ana i te kaikōrero hei tārua mā te tauira i ōna āhuatanga reo.
transcriptkōwhiringa
Momostring
Taunoa
Tuhinga ā-tuhi o te ororongo tohutoro me tuku mō ngā hopukanga reo kē atu i te English; kua whakauru te tuhi aunoa mō English anake.
prompte hiahiatia ana
Momostring
Ihirangi kōrero i tukuna hei tuhinga; mā te kaikōrero tohutoro e whakarato te reo hei whakaputa.
languagekōwhiringa
Momoenum
Taunoaen
enarchdeesfritjaplpt
Waehere reo whakahāngai-tuhi, me ōrite ki te reo whakahiato ina whakaputa kōrero ki tētahi reo kē atu i te English.
num_extra_stepskōwhiringa
Momointeger
Taunoa0
0 – 50
Te tatau hīkoi autoregressive tāpiri hei tāpiri i te prosody, i te noho puku rānei ki muri, mā te haere tonu o te kōrero i tua atu i te tuhinga kua tukuna.
temperaturekōwhiringa
Momonumber
Taunoa0.6
≤ 2> 0
Pāmahana sampling o ngā tohu-tuhi: mā te whakapiki e tāpiri ai te rerekētanga o te putanga, ā, kāore e whakaaetia te 0, te uara iti iho rānei.
top_pkōwhiringa
Momonumber
Taunoa0.9
0 – 1
Tautuhinga sampling Top-p (nucleus) hei whakaputa tuhinga.
repetition_penaltykōwhiringa
Momonumber
Taunoa1.1
1 – 2
Whiu mō te tukurua tohu i te wā whakaputa putanga.
acoustic_cfg_scalekōwhiringa
Momonumber
Taunoa1.6
0 – 10
Te kaha arataki classifier-free hei whakaputa āhuatanga oro.
noise_temperaturekōwhiringa
Momonumber
Taunoa0.9
0 – 2
Pāmahana haruru ka whakamahia i te diffusion flow-matching.
num_inference_stepskōwhiringa
Momointeger
Taunoa20
1 – 50
Te tatau hīkoi pūwhakatika ODE hei whakaputa oro mā te flow matching.
speed_up_factorkōwhiringa
Momonumber
Taunoa1
0.5 – 2
Kaitāpiri tere kōrero: ka pōturi ake te kōrero kua whakaputaina i raro i te 1.0, ka tere ake i runga ake i te 1.0.
output_formatkōwhiringa
Momoenum
Taunoawav
wavmp3
Hōputu kōnae mō te ororongo kua whakaputaina.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Ka taea te whakangāwari i te tātari mā te tautuhi false, mēnā he mana tō te kaiwhakatuwhera.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "tada/1b/text-to-speech",
  "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": 3,
    "usd": "0.003",
    "charged": 3,
    "refunded": 0
  },
  "input": {
    "audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "prompt": "Hello from Doitong. This is a short test sentence."
  },
  "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,
      "duration": 5,
      "channels": 1,
      "sample_rate": 1,
      "bitrate": "string"
    }
  },
  "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/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, duration, channels, sample_rate, bitrate}Te kōnae ororongo kei roto te kōrero kua waihangatia.

Ē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/tada/1b/text-to-speech.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt