Peke ki ngā ihirangi

Chatterbox · Text to Speech

Whakauru

id tauira chatterbox/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/chatterbox/text-to-speech?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "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.002 2 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Resemble AI Kuputuhi ki te Kōrero #text-to-speech

Kupu-ki-te-kōrero Ingarihi me ngā tūtohu kare ā-roto, te whakahaere whakarahinga me te kāhua ororongo tohutoro ā-kōwhiringa

Resemble AI · 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

Kuputuhi waihanga kōrero, ka taea te whakauru tūtohu kare ā-roto: <laugh>, <chuckle>, <sigh>, <cough>, <sniffle>, <groan>, <yawn>, <gasp>. Kaua e hipa te kuputuhi i te 5000 pūāhua.

Arā atu audio · exaggeration · temperature · cfg · seed
audio_url taunoa https://storage.googl...
Whakataka he kōnae,

He ororongo tohutoro e ngana ana te tauira ki te whakarite ki tōna wairua me tōna āhua i te putanga kōrero. Tukuna he URL kōnae ororongo mēnā e hiahia ana koe ki te whakamahi i tēnei tohutoro kōwhiringa.

taunoa 0.25

Mana whakarangatira kōrero: ko te whakarangatira mōrahi he 1.0, ā, ka whakaweto a 0.0 i te whakarangatira.

taunoa 0.7

Te pāmahana whakaputanga; mā te whakapiki ka auaha ake ngā putanga.

taunoa 0.5

Kākano whakaputanga ororongo; mā te 0 e kōwhiri he kākano matapōkere. Hei tukurua, whakamahia he uara pūmau, kaua hoki e whakarerekē i ētahi atu āhuatanga; me tino ōrite te kōnae ororongo ka puta.

POST /run/chatterbox/text-to-speech?wait=20 utu → $ 0.002
# 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/chatterbox/text-to-speech?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "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ō Chatterbox · Text to Speech

Ka huri i te kupu tae atu ki te 5000 pūāhua hei kōrero. Ka taea e te tuhinga ngā tūtohu kare ā-roto pēnei i <laugh>, <chuckle>, <sigh> me <cough>. Mā `audio_url` ā-kōwhiringa e tuku he tohutoro ka whai ai te kāhua me te reo o te putanga. Mā `exaggeration` (0 ki te 1), `temperature`, `cfg` me `seed` e whakarite te whakaputanga.

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
texte hiahiatia ana
Momostring
Kuputuhi waihanga kōrero, ka taea te whakauru tūtohu kare ā-roto: <laugh>, <chuckle>, <sigh>, <cough>, <sniffle>, <groan>, <yawn>, <gasp>. Kaua e hipa te kuputuhi i te 5000 pūāhua.
audio_urlkōwhiringa audio
Momourl · audio
Taunoahttps://storage.googleapis.com/chatterbox-demo-samples/prompts/male_rickmorty.mp3
He ororongo tohutoro e ngana ana te tauira ki te whakarite ki tōna wairua me tōna āhua i te putanga kōrero. Tukuna he URL kōnae ororongo mēnā e hiahia ana koe ki te whakamahi i tēnei tohutoro kōwhiringa.
exaggerationkōwhiringa
Momonumber
Taunoa0.25
0 – 1
Mana whakarangatira kōrero: ko te whakarangatira mōrahi he 1.0, ā, ka whakaweto a 0.0 i te whakarangatira.
temperaturekōwhiringa
Momonumber
Taunoa0.7
0.05 – 2
Te pāmahana whakaputanga; mā te whakapiki ka auaha ake ngā putanga.
cfgkōwhiringa
Momonumber
Taunoa0.5
0.1 – 1
seedkōwhiringa
Momointeger | null
Kākano whakaputanga ororongo; mā te 0 e kōwhiri he kākano matapōkere. Hei tukurua, whakamahia he uara pūmau, kaua hoki e whakarerekē i ētahi atu āhuatanga; me tino ōrite te kōnae ororongo ka puta.
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": "chatterbox/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": 2,
    "usd": "0.002",
    "charged": 2,
    "refunded": 0
  },
  "input": {
    "text": "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
    }
  },
  "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}Ororongo kei roto te kōrero waihanga.

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