Dža ko lil

F5 TTS

Integriruj

Modelosko id f5-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/f5-tts?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "gen_text": "Hello from Doitong. This is a short test sentence.",
    "ref_audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "model_type": "F5-TTS"
  }'

# 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"

Kava mangipen: $0.003 3 API krediti Phir les kate

Lel API klidin
Open model Teksto ko Lav Referencaki inputura #speech

Vakerenge kloniripe thaj lavengo sinteziripe referencutne audio-kliposa, F5-TTS vaj E2-TTS koristindoj

Open model · Audio

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul

Teksto e govoroskere sintezake, limitime ko 5000 karakterura.

•trubul
Čhiv jekh fajl, vaj

Referentno audio-fajlosko URL.

model_type •trubul

Modeloskoro nav e TTS-sintezake.

Lučhe ref_text · remove_silence
standardno

TTS-referentno teksto; te ačhavel avri, alosarel automatikano keripe govorutne modeloasa (ASR, Automatic Speech Recognition).

POST /run/f5-tts?wait=20 hesab → $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/f5-tts?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "gen_text": "Hello from Doitong. This is a short test sentence.",
    "ref_audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "model_type": "F5-TTS"
  }'

# 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"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal F5 TTS

Vakerel `gen_text` (dži 5000 karaktera) ande vocesko referentnikano klipo savo del `ref_audio_url`. `model_type` kidel F5-TTS vaj E2-TTS. Te `ref_text` si prazno, vakerimaske lil-gindipe kerel les. `remove_silence` si standardno aktive.

Parametra

NavTip standardnoMuklo Vakeripe
gen_texttrubul
Tipstring
Teksto e govoroskere sintezake, limitime ko 5000 karakterura.
ref_audio_urltrubul
Tipurl · audio
Referentno audio-fajlosko URL.
ref_textopcionalno
Tipstring
standardno
TTS-referentno teksto; te ačhavel avri, alosarel automatikano keripe govorutne modeloasa (ASR, Automatic Speech Recognition).
model_typetrubul
Tipenum
F5-TTSE2-TTS
Modeloskoro nav e TTS-sintezake.
remove_silenceopcionalno
Tipboolean
standardnotrue
Kontrolinel, šaj li te čhivel avri o tišinipen andar o audio-fajlo.
trubul

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "f5-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": {
    "gen_text": "Hello from Doitong. This is a short test sentence.",
    "ref_audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "model_type": "F5-TTS"
  },
  "output": {
    "audio_url": {
      "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"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
audio_url
object {url, content_type, file_name, file_size}Audio-fajlo e sintetizirime govorosa.

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/f5-tts.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt