ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

F5 TTS

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ 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.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ᡝᠨᡳ ᠵᠠᠯᡳᠨ: $0.003 3 API ᠺᠷᡝᡩᡳᠲ · ≈ ₽0.32 ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
Open model ᡥᡡᠯᠠᠨ ᡩᡝ ᡤᡳᠰᡠᠨ ᡩᠠᠯᡳᠨ ᡳ ᠠᠯᡳᠨ #speech

ᠵᡠᠯᡤᡝ ᠠᠸᠠᡳᠣ ᡩᡝ ᠵᠠᠯᡤᠠᠨ ᠪᡝ ᠮᡠᠰᡝᠨᡳ ᡥᡡᠯᠠᠮᠪᡳ᠂ F5-TTS ᡥᠠᠮᡳ E2-TTS ᠪᡝ ᠰᡳᠯᡤᠠᠮᠪᡳ

Open model · ᡤᡳᠰᡠᠨ

ᡳᠨᡝ ᡝᠮᡠᠨᡳᠩᡤᡝ ᡝᡵᡝᠮᡝ ᡩᡝ

ᡝᡵᡝ ᠵᡠᠯᡝᠨ ᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠪᠠᠶᠠᠨᠠᠮᡝ ᠠᠮᡪᠠᠯᠠ ᡶᡳᠯᡝᠮᡝ ᠪᡝᠶᡝᠮᡝ᠃ API ᠵᡳᡵᡤᠠᡳ ᡤᠠᡳᡥᠠᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠵᠠᠯᠠᠨᠠᠮᡝ ᠪᡠᠶᡝᠮᡝ ᠮᡠᠰᡝᡳ ᠰᡠᠯᡠᠨᡩᡝ ᠪᠠᠶᠠᠨᠠᠮᡝ᠂ ᠝ᠮᡤᡳ ᠮᡠᠰᡝ ᠠᠶᠠᠨ 7 ᡥᠠᠨ ᠰᠠᡳᠨᠠᠮᡝ᠃

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

ᠵᠠᡴᡠᠨᡳ ᠵᡠᠯᡝ ᡩᡝᡵᡤᡳ ᡩᡝᠪᡝᠰᡠᠮᡝ ᠵᡠᠯᡤᡝ ᠪᡠᠶᡝᠮᡝ᠈ ᡳᠨᡳ ᡤᡳᠰᡠᠨ ᠪᠠᡳ ᡝᠨᡝᠩᡤᡳ ᠠᠮᠪᡳ

•ᡴᠠᠷᠠᡴᡡ

ᡤᡳᠰᡠᠨ ᡳ ᠪᡠᠶᡝᠮᡝ ᡥᡡᠯᠠᠨ᠈ 5000 ᡥᡝᡵᡤᡝᠨ ᡩᡝ ᡩᠠᠩᡤᠠᠨ᠉

•ᡴᠠᠷᠠᡴᡡ
ᠪᡠᠮᠪᡳ ᡝᠮᡠ ᡩᠠᡵᠠᠮᡝ

ᠪᡳᠰᡳᡵᡝ ᡤᡳᠰᡠᠨ ᡶᡳᠯᡝ ᡳ URL᠉

model_type •ᡴᠠᠷᠠᡴᡡ

TTS ᠪᡠᠶᡝᠮᡝ ᡳ ᠮᡳᠶᠠᠮᡝ ᡳ ᡤᡝᠪᡠ᠉

ᠵᡠᠯᡤᡝ ᠵᡝᡵᡤᡳ ref_text · remove_silence
ᠵᡠᠯᡝ

TTS ᠪᡳᠰᡳᡵᡝ ᡥᡡᠯᠠᠨ᠈ ᠠᠯᡤᠠᠨ ᠪᡝ ᡩᠠᠯᡳᠮᡝ ASR ᠮᡳᠶᠠᠮᡝ ᡳ ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠵᠠᠯᡳᠨ᠉

POST /run/f5-tts?wait=20 ᠵᠠᠯᡳᠨ → $0.003
# 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/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ᡝᠨᡳ ᠵᠠᠯᡳᠨ ᠪᡝ ᠵᠠᠯᠠᠨᠠᠮᡝ

ᡳᠨᡝ ᠵᠠᠯᠠᠨ ᡝᡵᡝ ᠪᡠᡵᡝᠪᡝᡵᡳ ᡩᡝ ᠪᡳᠮᡝ᠈ Doitong API ᡩᡝ ᠵᡝᠯᡤᡳ ᡩᠠᡵᠠᠮᡝ᠈ Remember ᠵᡠᠯᡝᠮᡝ ᡤᡳᠯᠠᠮᡝ localStorage ᡩᡝ ᠰᡠᠯᡝᠮᡝ ᠪᡳᠮᡝ API ᠵᠠᠯᠠᠨ ᠠᠪᠠᠮᡝ

F5 TTS ᡠᡵᡝᠮᡝ

`ref_audio_url` ᡩᡝ ᠪᡳᠴᡳᠪᡝ ᠠᠰᡳᠯᠠᠮᡝ `gen_text` (ᠠᠮᠪᠠᠨ 5000 ᠠᠪᠠᡵᡳ) ᠪᡝ ᠵᠠᠯᡤᠠᠮᠪᡳ. `model_type` F5-TTS ᡥᠠᠮᡳ E2-TTS ᠪᡝ ᠰᡳᠯᡤᠠᠮᠪᡳ. `ref_text` ᡩᡝ ᠣᠯᡥᠣ ᡩᡝ ᡥᡡᠯᠠᠨ ᡳ ᡤᡳᠰᡠᠨ ᠪᡝ ᠵᠠᠯᠠᠮᠪᡳ. `remove_silence` ᡝᠮᡠ on ᠪᡳ.

ᠵᠠᡴᡠᠨ

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
gen_textᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
ᡤᡳᠰᡠᠨ ᡳ ᠪᡠᠶᡝᠮᡝ ᡥᡡᠯᠠᠨ᠈ 5000 ᡥᡝᡵᡤᡝᠨ ᡩᡝ ᡩᠠᠩᡤᠠᠨ᠉
ref_audio_urlᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝurl · audio
ᠪᡳᠰᡳᡵᡝ ᡤᡳᠰᡠᠨ ᡶᡳᠯᡝ ᡳ URL᠉
ref_textᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝstring
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ
TTS ᠪᡳᠰᡳᡵᡝ ᡥᡡᠯᠠᠨ᠈ ᠠᠯᡤᠠᠨ ᠪᡝ ᡩᠠᠯᡳᠮᡝ ASR ᠮᡳᠶᠠᠮᡝ ᡳ ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠵᠠᠯᡳᠨ᠉
model_typeᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝenum
F5-TTSE2-TTS
TTS ᠪᡠᠶᡝᠮᡝ ᡳ ᠮᡳᠶᠠᠮᡝ ᡳ ᡤᡝᠪᡠ᠉
remove_silenceᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
ᡤᡳᠰᡠᠨ ᡶᡳᠯᡝ ᡩᡝ ᡩᠠᠮᡳᠨ ᠪᡝ ᠪᡝᡵᡝᠮᡝ᠉
ᡴᠠᠷᠠᡴᡡ

ᠪᡠᠮᠪᡳᠯᡝᠰᡝ ᡝᠮᡠ ᡤᡝᠮᡠᠨᡳ https:// URL᠈ 10 MB ᡩᡝ ᡩᡝᠷᡤᡳ data: URI ᠵᡝᡵᡤᡳ ᡝᠮᡝ᠈ ᡳᠨᡝ ᠪᡠᠮᠪᡳᠯᡝᠰᡝᠨᡳ file_url ᠠᠪᠠᠮᠪᡳ ᠪᡠᠮᠪᡳ

ᠪᡠᠶᡝᠮᡝ

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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ᡤᡝᠯᡝᠮᡝ ᡥᡡᠯᡤᡠᠨᡳ ᡳᠨᡠᡝᠯᡝᡥᡝ outputs[].url ᠰᡠᠯᡠᠨ ᡩᡝ ᠰᡳᡵᡝ ᡶᡳᠯᡝ᠈ ᠝ᠮᡤᡳ ᠮᡠᠰᡝ ᠠᠪᠠᠯᡳ ᠵᡝᠮᡤᡳᠨ GB-ᠪᡳᠶᠠ ᠵᡝᠮᡤᡳᠨ ᠪᡝ ᡝᠮᡠᠯᡝᠮᡝ ᠠᠪᠠᠯᡳ 7 ᡥᠠᠨ ᠰᡳᠯᡤᠠᠨ ᡩᡝ᠈ ᠰᡳᠨᡳ ᠪᠠᠯᠠᠨᠰᡳ ᠵᡠᠶᡝᡵᡝᠨ ᠠᠪᠠᠯᡳ ?storage= ᡩᡝ ᡝᠵᡝᠨ ᡥᠠᠯᠠᠮᡝ᠉
ᡝᠮᡠ ᡤᡳᠰᡠᠨ ᡝᠮᡠ ᠮᠣᡩᡝᠯ ᡩᡝtype, url, content_type, width, height ᠮᠠᠩᡤᡳ duration᠈ ᠵᠠᠯᠠᠨ᠈ ᠪᡠᠵᡠᠮᠪᡳ ᠮᠠᠩᡤᡳ ᠵᡝᡵᡤᡳ ᡩᡝᠨᡳ᠈ output ᠮᠣᡩᡝᠯᡳᠨᡳ ᡝᠮᡠ ᠵᠠᠯᠠᠨ
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡤᡳᠰᡠᠨ
audio_url
object {url, content_type, file_name, file_size}ᠪᡠᠶᡝᠮᡝ ᡤᡳᠰᡠᠨ ᡶᡳᠯᡝ᠉

AI ᠠᡤᡝᠨᡨᡳ ᡠᠴᡠᠷᡳ᠈ ᡝᡵᡝ ᡩᡝᠪᡝᡵᡳ Markdown ᠰᡳᠨᡩᠠᡵᡳ https://doitong.com/mnc/developers/models/f5-tts.md. ᡝᡵᡝ ᠮᠣᡩᡝᠯ ᠵᠠᡴᡠᠨ ᠰᡠᠯᡠᠮᡝ https://doitong.com/developers/llms.txt