Neidio i'r cynnwys

Orpheus TTS

Integreiddio

ID y model orpheus-tts
# 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/orpheus-tts?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"

Y cais hwn: $0.003 3 o gredydau API Ei redeg ar y dudalen hon

Cael allwedd API
Canopy Labs Testun i Leferydd #text-to-speech#voice-synthesis#high-fidelity

Testun-i-leferydd gydag wyth llais a enwir a thagiau emosiynol mewnol fel laugh a sigh

Canopy Labs · Sain

Mae eich canlyniad cyntaf yn mynd yma

Adeiladwch gais isod a'i redeg gyda'ch allwedd API. Mae allbynnau'n cael eu copïo i'n storio, wedi'u cadw am byth neu am 7 diwrnod am ddim.

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

•gofynnol

Testun ar gyfer synthesis lleferydd, gan gynnwys y tagiau mynegiannol hyn yn ddewisol: <laugh>, <chuckle>, <sigh>, <cough>, <sniffle>, <groan>, <yawn>, <gasp>.

Uwch voice · temperature · repetition_penalty · enable_safety_checker
voice rhagosodedig tara

Dynodwr sy’n dewis y llais i’w ddefnyddio.

rhagosodedig 0.7

Tymheredd cynhyrchu; mae ei gynyddu yn gwneud y canlyniadau'n fwy creadigol.

rhagosodedig 1.2

Cosb am ailadrodd; er mwyn cynhyrchu sefydlog, mae angen gwerth o 1.1 o leiaf.

POST /run/orpheus-tts?wait=20 dyfynbris → $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/orpheus-tts?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"

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Ynglŷn â Orpheus TTS

Yn trosi testun yn leferydd gan ddefnyddio un o wyth llais: tara, leah, jess, leo, dan, mia, zac neu zoe (rhagosodiad tara). Gall y testun gynnwys tagiau fel <laugh>, <chuckle>, <sigh>, <cough>, <sniffle>, <groan>, <yawn> a <gasp>. Mae `temperature` yn amrywio o 0 i 2, a rhaid i `repetition_penalty` fod o leiaf 1.1 ar gyfer allbwn sefydlog.

Paramedrau

EnwMath RhagosodedigCaniateir Disgrifiad
textgofynnol
Mathstring
Testun ar gyfer synthesis lleferydd, gan gynnwys y tagiau mynegiannol hyn yn ddewisol: <laugh>, <chuckle>, <sigh>, <cough>, <sniffle>, <groan>, <yawn>, <gasp>.
voicedewisol
Mathenum
Rhagosodedigtara
taraleahjessleodanmiazaczoe
Dynodwr sy’n dewis y llais i’w ddefnyddio.
temperaturedewisol
Mathnumber
Rhagosodedig0.7
0 – 2
Tymheredd cynhyrchu; mae ei gynyddu yn gwneud y canlyniadau'n fwy creadigol.
repetition_penaltydewisol
Mathnumber
Rhagosodedig1.2
1.1 – 2
Cosb am ailadrodd; er mwyn cynhyrchu sefydlog, mae angen gwerth o 1.1 o leiaf.
enable_safety_checkerdewisol
Mathboolean
Rhagosodedigtrue
Gellir llacio'r sgrinio drwy osod false, ar yr amod bod y galwr wedi'i awdurdodi.
gofynnol

Allbwn

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "orpheus-tts",
  "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": {
    "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"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
audio
object {url, content_type, file_name, file_size}Sain sy'n cynnwys y lleferydd wedi'i syntheseiddio.

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/orpheus-tts.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt