सामग्री पर जाएँ

Kotoba Speech-to-Text

इंटीग्रेट करें

मॉडल id kotoba-technologies/kotoba-stt/v1/speech-to-text
# 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/kotoba-technologies/kotoba-stt/v1/speech-to-text?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",
    "language": "ja"
  }'

# 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.001 1 API क्रेडिट · ≈ ₽0.11 चलाने से पहले आपकी फ़ाइलों को मापा जाता है इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Kotoba Technologies स्पीच से टेक्स्ट #commercial-use#speech-to-text#japanese#multilingual

2 मिनट तक के क्लिप के लिए speech-to-text, जापानी के लिए अनुकूलित, शब्द-समय और कीवर्ड संकेतों के साथ

Kotoba Technologies · टेक्स्ट

आपका पहला परिणाम यहाँ आएगा

नीचे एक अनुरोध बनाएँ और उसे अपनी API कुंजी से चलाएँ। आउटपुट हमारे स्टोरेज में कॉपी किए जाते हैं और हमेशा के लिए या 7 दिन तक मुफ़्त में रखे जाते हैं।

अनुरोध बनाएँ

कंट्रोल मॉडल स्कीमा से जनरेट होते हैं। इन्हें बदलने पर कोड और कीमत अपडेट होती है।

•आवश्यक audio_url
फ़ाइल ड्रॉप करें, या

ऑडियो की अवधि 2 मिनट तक सीमित।

language •आवश्यक

ऑडियो के वक्ताओं द्वारा उपयोग की जाने वाली भाषा।

उन्नत with_timestamps · diarization · kana · keywords

ट्रांसक्रिप्ट में जिन शब्दों की वर्तनी को प्राथमिकता दी जानी चाहिए, जिनमें नाम या उत्पाद संबंधी शब्दावली शामिल है। अधिकतम 1000 शब्द स्वीकार किए जाते हैं, प्रत्येक की सीमा 64 वर्ण है।

POST /run/kotoba-technologies/kotoba-stt/v1/speech-to-text?wait=20 कोटेशन → $0.001
# 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/kotoba-technologies/kotoba-stt/v1/speech-to-text?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",
    "language": "ja"
  }'

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

यह अनुरोध चलाएँ

आपकी key इसी ब्राउज़र में रहती है: इसे केवल Doitong API को भेजा जाता है और केवल तभी (localStorage) में सेव किया जाता है जब आप Remember चुनते हैं। API कुंजी प्राप्त करें

Kotoba Speech-to-Text के बारे में

`audio_url` से अधिकतम 2 मिनट की ऑडियो क्लिप का लिप्यंतरण करता है। `language` को ja, en, ko, zh, es, zh-hk, zh-tw या auto पर सेट करें। वैकल्पिक `with_timestamps` प्रत्येक शब्द के आरंभ और समाप्ति समय लौटाता है, `diarization` वक्ताओं को लेबल करता है, `keywords` वर्तनी को प्रभावित करने के लिए अधिकतम 1000 शब्द स्वीकार करता है, और `kana` जापानी नामों को कटाकाना में लिखता है। आउटपुट में टेक्स्ट, पहचानी गई भाषा और ऑडियो अवधि शामिल होती है।

पैरामीटर

कैनोनिकल नाम या नेटिव नाम में से कोई एक भेजें, दोनों नहीं। कैनोनिकल नाम

नामप्रकार डिफ़ॉल्टअनुमत विवरण
audio_urlआवश्यक audio
प्रकारurl · audio
ऑडियो की अवधि 2 मिनट तक सीमित।
languageआवश्यक
प्रकारenum
jaenkozheszh-hkzh-twauto
ऑडियो के वक्ताओं द्वारा उपयोग की जाने वाली भाषा।
with_timestampsवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
`words` में प्रत्येक शब्द का आरंभ और अंत शामिल करने वाला प्रति-शब्द समय आउटपुट।
diarizationवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
शब्द-स्तरीय वक्ता एट्रिब्यूशन, केवल उन मॉडल के लिए उपलब्ध है जो वक्ता टोकन का समर्थन करते हैं। प्रत्येक शब्द को एक `speaker_id` मिलता है, लेकिन `with_timestamps` भी सक्षम होने तक उसका समय null रहता है।
keywordsवैकल्पिक
प्रकारstring[]
≤ 1,000 आइटम
ट्रांसक्रिप्ट में जिन शब्दों की वर्तनी को प्राथमिकता दी जानी चाहिए, जिनमें नाम या उत्पाद संबंधी शब्दावली शामिल है। अधिकतम 1000 शब्द स्वीकार किए जाते हैं, प्रत्येक की सीमा 64 वर्ण है।
kanaवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
जापानी में लोगों के नाम और स्थानों के नामों का कटाकाना रूपांतरण।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

फ़ाइल पैरामीटर में सार्वजनिक https:// URL, 10 MB तक का data: URI, या अपलोड का file_url लिया जाता है। फ़ाइलें

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kotoba-technologies/kotoba-stt/v1/speech-to-text",
  "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": 1,
    "usd": "0.001",
    "charged": 1,
    "refunded": 0
  },
  "input": {
    "audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3",
    "language": "ja"
  },
  "output": {
    "audio_duration_secs": 1.0,
    "language_code": "string",
    "language_probability": 1.0,
    "text": "string",
    "words": [
      {
        "end": 1.0,
        "speaker_id": "string",
        "start": 1.0,
        "text": "string",
        "type": "word"
      }
    ]
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "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_duration_secs
number | null
language_code
string
language_probability
number
text
string
words
array of object {end, speaker_id, start, text, type}

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/kotoba-technologies/kotoba-stt/v1/speech-to-text.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt