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

Workflow Utilities Auto Subtitle

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

मॉडल id workflow-utilities/auto-subtitle
# 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/workflow-utilities/auto-subtitle?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

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

API कुंजी प्राप्त करें
Utility वीडियो से वीडियो #auto-subtitle#captioning

वीडियो में शब्दों को हाइलाइट करने वाले TikTok-शैली के सबटाइटल जोड़ता है, जिनमें फ़ॉन्ट, रंग और स्थिति के नियंत्रण होते हैं

Utility · वीडियो

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

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

अनुरोध बनाएँ

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

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

स्वचालित सबटाइटल जोड़ने के लिए वीडियो URL।

उन्नत font_weight · position · language · font_name · font_color · highlight_color · stroke_color · background_color · font_size · stroke_width · background_opacity · y_offset · words_per_subtitle · enable_animation
font_weight डिफ़ॉल्ट bold

टेक्स्ट का वेट; सामान्य TikTok स्टाइलिंग में bold या black उपयोग होता है।

position डिफ़ॉल्ट bottom

ऊर्ध्वाधर अक्ष पर सबटाइटल का स्थान।

डिफ़ॉल्ट en

ट्रांसक्रिप्शन भाषा पहचानकर्ता, जैसे 'en', 'es', 'fr', 'de', 'it', 'pt', 'nl', 'ja', 'zh' या 'ko'। 'eng', 'spa' या 'fra' जैसे 3-अक्षरीय ISO पहचानकर्ता भी स्वीकार किए जाते हैं।

डिफ़ॉल्ट Montserrat

fonts.google.com से चुना गया फ़ॉन्ट नाम; 'Montserrat', 'Poppins' और 'BBH Sans Hegarty' सहित कोई भी Google Font स्वीकार किया जाता है।

डिफ़ॉल्ट white

निष्क्रिय सबटाइटल शब्दों के लिए उपयोग किया जाने वाला रंग।

डिफ़ॉल्ट purple

बोले जा रहे शब्द पर लागू किया जाने वाला कराओके-शैली का हाइलाइट रंग।

डिफ़ॉल्ट black

टेक्स्ट आउटलाइन या स्ट्रोक पर लागू किया जाने वाला रंग।

डिफ़ॉल्ट none

टेक्स्ट के पीछे की पृष्ठभूमि का रंग; 'none' और 'transparent' दोनों पृष्ठभूमि अक्षम करते हैं।

डिफ़ॉल्ट 100

सबटाइटल फ़ॉन्ट आकार; TikTok स्टाइलिंग में बड़ा टेक्स्ट उपयोग होता है।

डिफ़ॉल्ट 3

टेक्स्ट आउटलाइन या स्ट्रोक की चौड़ाई, पिक्सेल में मापी जाती है; 0 इसे अक्षम करता है।

डिफ़ॉल्ट 0

पृष्ठभूमि की अपारदर्शिता, जिसमें 0.0 पूरी तरह पारदर्शी और 1.0 पूरी तरह अपारदर्शी को दर्शाता है।

डिफ़ॉल्ट 75

पिक्सेल में ऊर्ध्वाधर विस्थापन; धनात्मक मान नीचे और ऋणात्मक मान ऊपर स्थानांतरित करते हैं।

डिफ़ॉल्ट 3

सबटाइटल शब्द-संख्या सीमा, जो 1 पर एकल शब्द, 2–3 पर छोटा वाक्यांश या 8–12 पर प्रति सेगमेंट पूरा वाक्य दिखाने देती है।

POST /run/workflow-utilities/auto-subtitle?wait=20 कोटेशन → $0.005
# 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/workflow-utilities/auto-subtitle?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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 कुंजी प्राप्त करें

Workflow Utilities Auto Subtitle के बारे में

वीडियो में भाषण को ट्रांसक्राइब करता है और वर्तमान में बोले जा रहे शब्द को हाइलाइट करके सबटाइटल जोड़ता है। स्टाइल विकल्पों में कोई भी Google Font नाम, 20-150 का आकार, वेट, टेक्स्ट और हाइलाइट रंग, स्ट्रोक, बैकग्राउंड रंग और अपारदर्शिता, तथा ऊपर, केंद्र या नीचे की स्थिति और वर्टिकल ऑफ़सेट शामिल हैं। `words_per_subtitle` 1 से 12 तक हो सकता है और बाउंस एनिमेशन चालू या बंद किया जा सकता है। यह ट्रांसक्रिप्शन और शब्दों का टाइमिंग भी लौटाता है।

पैरामीटर

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

नामप्रकार डिफ़ॉल्टअनुमत विवरण
video_urlआवश्यक video
प्रकारurl · video
स्वचालित सबटाइटल जोड़ने के लिए वीडियो URL।
languageवैकल्पिक
प्रकारstring
डिफ़ॉल्टen
ट्रांसक्रिप्शन भाषा पहचानकर्ता, जैसे 'en', 'es', 'fr', 'de', 'it', 'pt', 'nl', 'ja', 'zh' या 'ko'। 'eng', 'spa' या 'fra' जैसे 3-अक्षरीय ISO पहचानकर्ता भी स्वीकार किए जाते हैं।
font_nameवैकल्पिक
प्रकारstring
डिफ़ॉल्टMontserrat
fonts.google.com से चुना गया फ़ॉन्ट नाम; 'Montserrat', 'Poppins' और 'BBH Sans Hegarty' सहित कोई भी Google Font स्वीकार किया जाता है।
font_sizeवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट100
20 – 150
सबटाइटल फ़ॉन्ट आकार; TikTok स्टाइलिंग में बड़ा टेक्स्ट उपयोग होता है।
font_weightवैकल्पिक
प्रकारenum
डिफ़ॉल्टbold
normalboldblack
टेक्स्ट का वेट; सामान्य TikTok स्टाइलिंग में bold या black उपयोग होता है।
font_colorवैकल्पिक
प्रकारenum
डिफ़ॉल्टwhite
whiteblackredgreenblueyelloworangepurplepinkbrowngraycyanmagenta
निष्क्रिय सबटाइटल शब्दों के लिए उपयोग किया जाने वाला रंग।
highlight_colorवैकल्पिक
प्रकारenum
डिफ़ॉल्टpurple
whiteblackredgreenblueyelloworangepurplepinkbrowngraycyanmagenta
बोले जा रहे शब्द पर लागू किया जाने वाला कराओके-शैली का हाइलाइट रंग।
stroke_widthवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट3
0 – 10
टेक्स्ट आउटलाइन या स्ट्रोक की चौड़ाई, पिक्सेल में मापी जाती है; 0 इसे अक्षम करता है।
stroke_colorवैकल्पिक
प्रकारenum
डिफ़ॉल्टblack
blackwhiteredgreenblueyelloworangepurplepinkbrowngraycyanmagenta
टेक्स्ट आउटलाइन या स्ट्रोक पर लागू किया जाने वाला रंग।
background_colorवैकल्पिक
प्रकारenum
डिफ़ॉल्टnone
blackwhiteredgreenblueyelloworangepurplepinkbrowngraycyanmagentanonetransparent
टेक्स्ट के पीछे की पृष्ठभूमि का रंग; 'none' और 'transparent' दोनों पृष्ठभूमि अक्षम करते हैं।
background_opacityवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट0
0 – 1
पृष्ठभूमि की अपारदर्शिता, जिसमें 0.0 पूरी तरह पारदर्शी और 1.0 पूरी तरह अपारदर्शी को दर्शाता है।
positionवैकल्पिक
प्रकारenum
डिफ़ॉल्टbottom
topcenterbottom
ऊर्ध्वाधर अक्ष पर सबटाइटल का स्थान।
y_offsetवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट75
-200 – 200
पिक्सेल में ऊर्ध्वाधर विस्थापन; धनात्मक मान नीचे और ऋणात्मक मान ऊपर स्थानांतरित करते हैं।
words_per_subtitleवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट3
1 – 12
सबटाइटल शब्द-संख्या सीमा, जो 1 पर एकल शब्द, 2–3 पर छोटा वाक्यांश या 8–12 पर प्रति सेगमेंट पूरा वाक्य दिखाने देती है।
enable_animationवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
उछलते हुए प्रवेश प्रभाव के साथ सबटाइटल एनीमेशन सक्षम करता है।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

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

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "workflow-utilities/auto-subtitle",
  "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": 5,
    "usd": "0.005",
    "charged": 5,
    "refunded": 0
  },
  "input": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    },
    "transcription": "string",
    "subtitle_count": 1,
    "words": [
      {}
    ],
    "transcription_metadata": {}
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "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 मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
video
object {url, content_type, file_name, file_size}स्वचालित रूप से बनाए गए सबटाइटल वाला वीडियो।
transcription
stringट्रांसक्रिप्शन का पूरा टेक्स्ट।
subtitle_count
integerनिर्मित सबटाइटल सेगमेंट की संख्या।
words
array of object | nullट्रांसक्रिप्शन सेवा द्वारा दिए गए अलग-अलग शब्दों का टाइमिंग डेटा।
transcription_metadata
object | nullट्रांसक्रिप्शन के लिए ElevenLabs द्वारा दिया गया अतिरिक्त मेटाडेटा, जिसमें भाषा, सेगमेंट और अन्य विवरण शामिल हैं।

और मॉडल: वीडियो से वीडियो

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/workflow-utilities/auto-subtitle.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt