שפּרינגען צו אינהאַלט

Kling LipSync Text-to-Video

אינטעגרירן

מאָדעל־id kling-video/lipsync/text-to-video
# 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/kling-video/lipsync/text-to-video?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",
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "voice_id": "genshin_vindi2"
  }'

# 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.14⁩ 140 API־קרעדיטן · ≈ ⁨₽ 15.06⁩ אײַערע פֿײַלן ווערן געמאסטן איידערן לויפֿן לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל
Kling ליפּסינק און אַוואַטאַרן ליפּסינק #text-to-video#lipsync

מאַכט אַ מענטש אין אַ ווידעא רעדן געשריבענעם טעקסט מיט אַן אויסקלייבבאַרער סינטעטישער שטימע, מיט אַדזשאַסטאַבאַל גיכקייט

געמאַכט אויף Doitong

עפֿנטלעכע ווערק געמאַכט מיט Kling LipSync פֿון דער Doitong קהילה. ניצט אַ פּינטלעך מיט איין קליק.

געוויזענע עפֿנטלעכע ווערק: 16
ווידעא

You didn't fail because you're weak. You failed because you QUIT the second it got uncomfortable. Comfort is the enemy. Comfort is the drug that's keeping you average. Nobody's coming to save you. YOU are the rescue mission. Tomorrow morning, five A M. Do the thing you've been avoiding. That's...

ווידעא

Как остановить тревогу за 60 секунд. Когда она накатывает, начните с дыхания: медленно вдохните через нос на четыре счёта, задержите на четыре и мягко выдохните через рот на шесть. Повторите три раза — это сразу успокаивает нервную систему. Затем посмотрите вокруг и вслух назовите три вещи,...

ווידעא

You didn't fail because you're weak. You failed because you QUIT the second it got uncomfortable. Comfort is the enemy. Comfort is the drug that's keeping you average. Nobody's coming to save you. YOU are the rescue mission. Tomorrow morning, five A M. Do the thing you've been avoiding. That's...

ווידעא

Дорогой друг, если тревога внезапно накрыла, остановите её за шестьдесят секунд тремя простыми шагами. Сначала медленно вдохните носом на четыре секунды, задержите дыхание ещё на четыре и плавно выдохните ртом на шесть. Это сразу снижает активность симпатической нервной системы и даёт телу сигнал...

ווידעא

You didn't fail because you're weak. You failed because you QUIT the second it got uncomfortable. Comfort is the enemy. Comfort is the drug that's keeping you average. Nobody's coming to save you. YOU are the rescue mission. Tomorrow morning, five A M. Do the thing you've been avoiding. That's...

ווידעא

You didn't fail because you're weak. You failed because you QUIT the second it got uncomfortable. Comfort is the enemy. Comfort is the drug that's keeping you average. Nobody's coming to save you. YOU are the rescue mission. Tomorrow morning, five A M. Do the thing you've been avoiding. That's...

ווידעא

You didn't fail because you're weak. You failed because you QUIT the second it got uncomfortable. Comfort is the enemy. Comfort is the drug that's keeping you average. Nobody's coming to save you. YOU are the rescue mission. Tomorrow morning, five A M. Do the thing you've been avoiding. That's...

ווידעא

Как перестать всё контролировать? Я знаю, как тяжело постоянно держать всё в руках. Вот три простых шага, которые реально помогают. Сначала заметьте, когда внутри возникает напряжение, и сделайте три медленных выдоха длиннее вдохов. Это сразу включает спокойную часть нервной системы. Второй шаг:...

בויען אַ בעטן

קאָנטראָלן ווערן דזשענערירט פֿון דעם מאָדעל־סכעמע. דער קאָד און דער פּרײַז דערהײַנטיקן זיך ווען איר ענדערט זיי.

•פארלאנגט 88 / 120

טעקסט גענוצט צו גענערירן אַ ליפּ־סינק־ווידעא, באַגרענעצט צו 120 אותיות.

•פארלאנגט video_url
לייגט אַרײַן אַ טעקע, אָדער

ווידעא־URL פֿאַר ליפּ־סינק־גענערירונג. נעמט אָן .mp4 אָדער .mov פֿײַלן ביז 100MB, מיט אַ לענג פֿון 2–60s, נאָר אין 720p אָדער 1080p; ביידע דימענסיעס מוזן זײַן צווישן 720–1920px. בײַ אַ וואַלידאַציע־דורכפֿאַל ווערט צוריקגעגעבן אַן טעות.

•פארלאנגט

אידענטיפיקאַטאָר פֿון דעם קול גענוצט פֿאַר רעדע־סינטעז.

פֿאָרגעשריטן voice_language · voice_speed · enable_safety_checker
voice_language סטאַנדאַרט en

שפּראַך פֿאַרבונדן מיט דעם אויסגעקליבענעם Voice ID.

סטאַנדאַרט 1

רעד־גיכקייט גענוצט בײַ גענערירן ווידעא פֿון טעקסט.

POST /run/kling-video/lipsync/text-to-video?wait=20 פּרײַז → ⁨$ 0.14⁩
# 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/kling-video/lipsync/text-to-video?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",
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "voice_id": "genshin_vindi2"
  }'

# 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) נאָר אויב איר טיקט אָן געדענקען. באַקומען אַן API שליסל

וועגן Kling LipSync Text-to-Video

גענערירט ליפּן-סינכראָניזירטע רייד פֿון טעקסט אַנשטאָט אַן אוידיאָ טעקע. גיט אָן `video_url`, ביז 120 אותיות פֿון `text`, און אַ `voice_id` אויסגעקליבן פֿון אַ רשימה פֿון פֿאָרויס-באַשטימטע שטימעס. `voice_language` איז אָדער zh אָדער en, און `voice_speed` קייט פֿון 0.8 ביז 2. דער מקור ווידעא קען זײַן .mp4 אָדער .mov, ביז 100MB, 2 ביז 60 סעקונדעס, בײַ 720p אָדער 1080p.

פּאַראַמעטערס

שיקט אָדער דעם קאַנאָנישן נאָמען אָדער דעם נאַטיוון נאָמען, נישט ביידע. קאַנאָנישע נעמען

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
enable_safety_checkerאָפּציאָנעל
טיפּboolean
סטאַנדאַרטtrue
זיכערהייט־קאָנטראָלן קענען ווערן אויסגעשלאָסן נאָר מיט אַקאַונט־דערלויבעניש; בקשות אָן דערלויבעניש ווערן שטענדיק קאָנטראָלירט.
video_urlפארלאנגט video
טיפּurl · video
ווידעא־URL פֿאַר ליפּ־סינק־גענערירונג. נעמט אָן .mp4 אָדער .mov פֿײַלן ביז 100MB, מיט אַ לענג פֿון 2–60s, נאָר אין 720p אָדער 1080p; ביידע דימענסיעס מוזן זײַן צווישן 720–1920px. בײַ אַ וואַלידאַציע־דורכפֿאַל ווערט צוריקגעגעבן אַן טעות.
textפארלאנגט
טיפּstring
≤ 120 כאַראַקטערן
טעקסט גענוצט צו גענערירן אַ ליפּ־סינק־ווידעא, באַגרענעצט צו 120 אותיות.
voice_idפארלאנגט
טיפּenum
genshin_vindi2zhinen_xueshengAOTai_shatanggenshin_klee2genshin_kiraraai_kaiyaoversea_male1ai_chenjiahao_712girlfriend_4_speech02chat1_female_new-3chat_0407_5-1cartoon-boy-07uk_boy1cartoon-girl-01PeppaPig_platform
+30 נאָךai_huangzhong_712ai_huangyaoshi_712ai_laoguowang_712chengshu_jiejieyou_pingjingcalm_story1uk_man2laopopo_speech02heainainai_speech02reader_en_m-v1commercial_lady_en_f-v1tiyuxi_xueditiexin_nanyougirlfriend_1_speech02girlfriend_2_speech02zhuxi_speech02uk_oldman3dongbeilaotie_speech02chongqingxiaohuo_speech02chuanmeizi_speech02chaoshandashu_speech02ai_taiwan_man2_speech02xianzhanggui_speech02tianjinjiejie_speech02diyinnansang_DB_CN_M_04-v2yizhipiannan-v1guanxiaofang-v2tianmeixuemei-v1daopianyansang-v1mengwa-v1
אידענטיפיקאַטאָר פֿון דעם קול גענוצט פֿאַר רעדע־סינטעז.
voice_languageאָפּציאָנעל
טיפּenum
סטאַנדאַרטen
zhen
שפּראַך פֿאַרבונדן מיט דעם אויסגעקליבענעם Voice ID.
voice_speedאָפּציאָנעל
טיפּnumber
סטאַנדאַרט1
0.8 – 2
רעד־גיכקייט גענוצט בײַ גענערירן ווידעא פֿון טעקסט.
פארלאנגט קאַנאָנישער נאָמען, אויך אַקצעפּטירט

טעקע־פּאַראַמעטערס נעמען אַן עפֿנטלעכע https:// URL, אַ data: URI ביז 10 MB, אָדער דעם file_url פֿון אַן אַרויפֿלאָד. טעקעס

אויסגאַבע

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/lipsync/text-to-video",
  "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": 140,
    "usd": "0.14",
    "charged": 140,
    "refunded": 0
  },
  "input": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "voice_id": "genshin_vindi2"
  },
  "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
    }
  },
  "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}ווידעא געשאַפֿן דורך דעם מאָדעל.

מער מאָדעלן: ליפּסינק און אַוואַטאַרן

פֿאַר AI־אַגענטן: דער בלאַט ווי Markdown געפֿינט זיך בײַ https://doitong.com/yi/developers/models/kling-video/lipsync/text-to-video.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt