Njuolgga sisdollui

Kling LipSync Text-to-Video

Integrere

Modealla-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.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Fiillat nugo ovdamearka: 0,14 $ 140 API-kreditta du fiillat mihtiduvvojit ovdal vuodjámis Vuodje dán siiddu alde

Oza API-čoavdaga
Kling Gubbelsynchroniseren ja avatárat Gubbelsynchroniseren #text-to-video#lipsync

Dahká video olbmo hállat čállojuvvon teavstta válljehahtti syntetalaš jienain ja heivehahtti leavttuin

Ráhkaduvvon Doitongis

Doitong-bargosearvvi almmolaš barggut, ráhkaduvvon Kling LipSync bokte. Geavat fas jearaldaga ovtta deaddilemiin.

Almmolaš barggut čájehuvvojit: 2
A realistic young Caucasian-looking woman wearing a modest hijab is walking through a modern city... Video

A realistic young Caucasian-looking woman wearing a modest hijab is walking through a modern city street. She is speaking naturally (audio will be added separately) and expressing admiration and pr...

A realistic young Caucasian-looking woman in a modest hijab is walking calmly through the modern ... Video

A realistic young Caucasian-looking woman in a modest hijab is walking calmly through the modern city of Grozny. The architecture around her is clean, modern, and impressive, with Dubai-style build...

Ráhkat jearaldaga

Kontrollat ráhkaduvvojit modealla skeama vuođul. Koda ja haddi ođasmahttojuvvojit go rievddadat daid.

•gáibiduvvo 88 / 120

Teaksta, geavahuvvon njálbmečuovgama videoráhkadeapmái, gitta 120 mearkka.

•gáibiduvvo video_url
Luoitte fiilla, dahje

Video-URL njálbmečuovgama ráhkadeapmái. Dohkkeha .mp4 dahje .mov fiillaid gitta 100MB rádjái, guhkkodagain 2–60s, dušše 720p dahje 1080p; goappašiid dimenšuvnnat fertejit leat gaskkal 720–1920px. Validereami vuohttin máhcaha meattáhus.

•gáibiduvvo

Jietnaga identifikahtor, geavahuvvon hupmama syntetiseremii.

Viiddiduvvon voice_language · voice_speed · enable_safety_checker
voice_language standárda en

Giella, mii gullá válljejuvvon Voice ID:ii.

standárda 1

Hupmama leahttu, geavahuvvon go video ráhkaduvvo teavsttas.

POST /run/kling-video/lipsync/text-to-video?wait=20 haddemearrádus → 0,14 $
# 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/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Geavat dán ohcamuša

Du key báhcá dán fierpmádatlogan: dat sáddejuvvo dušše Doitong API:ii ja vurkejuvvo (localStorage) dušše jos válljet Remember. Viečča API-keya

Dát lea Kling LipSync Text-to-Video birra

Ráhkada jietasynkroniserejuvvon hállama teavsttas, ii jietafiillas. Čále `video_url`, gitta 120 teavstamearka `text`, ja `voice_id` mii válljejuvvo ovddemearrejuvvon jieniid listtus. `voice_language` lea joko zh dahje en, ja `voice_speed` lea 0.8 rájes 2 rádjái. Gáldovideo sáhttá leat .mp4 dahje .mov, gitta 100MB, 2 rájes 60 sekundii ja 720p dahje 1080p.

Parametterat

Sádde kanonala nama dahje iežas nama, ii goappašiid. Kanonala namat

NammaŠládja StandárdaDohkkehuvvon Govvádus
enable_safety_checkereaktodáhtolaš
Šládjaboolean
Standárdatrue
Dorvvasvuođa dárkkisteami sáhttá heaittihit dušše kontodárbbašvuođa lobiin; jearaldagat almmá lobi haga dárkkistuvvojit álo.
video_urlgáibiduvvo video
Šládjaurl · video
Video-URL njálbmečuovgama ráhkadeapmái. Dohkkeha .mp4 dahje .mov fiillaid gitta 100MB rádjái, guhkkodagain 2–60s, dušše 720p dahje 1080p; goappašiid dimenšuvnnat fertejit leat gaskkal 720–1920px. Validereami vuohttin máhcaha meattáhus.
textgáibiduvvo
Šládjastring
≤ 120 mearkka
Teaksta, geavahuvvon njálbmečuovgama videoráhkadeapmái, gitta 120 mearkka.
voice_idgáibiduvvo
Šládjaenum
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 eanetai_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
Jietnaga identifikahtor, geavahuvvon hupmama syntetiseremii.
voice_languageeaktodáhtolaš
Šládjaenum
Standárdaen
zhen
Giella, mii gullá válljejuvvon Voice ID:ii.
voice_speedeaktodáhtolaš
Šládjanumber
Standárda1
0,8 – 2
Hupmama leahttu, geavahuvvon go video ráhkaduvvo teavsttas.
gáibiduvvo Kanonala namma, maid sáhttá geavahit

Fiilaparametterat váldet almmolaš https:// URL:a, data: URI:a gitta 10 MB, dahje uploada file_url:a. Fiillat

Boađus

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Du fiillat, du válljenJuohke outputs[].url lea kopia min vurkemis: bisuhuvvo álo (mákso GB-mánu mielde) dahje 7 beaivvi nuvttá, du konto­o heiveheami dahje ?storage= mielde.
Seammá hápmi juohke modeallastype, url, content_type, width, height ja duration, govvii, videoii ja jienai seammá ládje. output lea modealla iežas boađusobjekta.
Outputa giettit
video
object {url, content_type, file_name, file_size}Video maid modealla lea ráhkadan.

Eanet modeallat: Gubbelsynchroniseren ja avatárat

AI-agenttaide: dán siidu Markdowna lea dáppe https://doitong.com/se/developers/models/kling-video/lipsync/text-to-video.md. Buot modeallat ja ráđit: https://doitong.com/developers/llms.txt