مواد پر جائیں

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

مثال جیسی فائلیں: ⁨$0.14⁩ 140 API کریڈٹس آپ کی فائلیں رن سے پہلے ناپی جاتی ہیں اس صفحے پر چلائیں

API کلید حاصل کریں
Kling لِپ سنک اور اوتار لِپ سنک #text-to-video#lipsync

ویڈیو میں موجود شخص کو منتخب مصنوعی آواز کے ذریعے ٹائپ کیا ہوا متن بولواتا ہے، اور رفتار قابلِ ترمیم ہوتی ہے

Doitong پر بنایا گیا

Doitong کمیونٹی کے Kling LipSync سے بنائے گئے عوامی کام۔ ایک کلک میں پرامپٹ دوبارہ استعمال کریں۔

دکھائے گئے عوامی کام: 2
A realistic young Caucasian-looking woman wearing a modest hijab is walking through a modern city... ویڈیو

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 ... ویڈیو

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...

درخواست بنائیں

کنٹرولز ماڈل اسکیما سے تیار ہوتے ہیں۔ آپ کے بدلنے کے ساتھ کوڈ اور قیمت اپ ڈیٹ ہوتے ہیں۔

•لازمی 88 / 120

lip-sync ویڈیو تخلیق کرنے کے لیے متن، زیادہ سے زیادہ 120 حروف تک۔

•لازمی video_url
فائل ڈراپ کریں، یا

lip-sync تخلیق کے لیے ویڈیو URL۔ زیادہ سے زیادہ 100MB کی .mp4 یا .mov فائلیں قبول ہوتی ہیں، جن کی لمبائی 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.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"

یہ درخواست چلائیں

آپ کی key اسی براؤزر میں رہتی ہے: یہ صرف Doitong API کو بھیجی جاتی ہے اور صرف اس صورت میں localStorage میں محفوظ ہوتی ہے جب آپ Remember منتخب کریں۔ 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
lip-sync تخلیق کے لیے ویڈیو URL۔ زیادہ سے زیادہ 100MB کی .mp4 یا .mov فائلیں قبول ہوتی ہیں، جن کی لمبائی 2–60s اور ریزولوشن صرف 720p یا 1080p ہو؛ دونوں ابعاد 720–1920px کے درمیان ہوں۔ توثیق ناکام ہونے پر خرابی واپس آتی ہے۔
textلازمی
قسمstring
≤ 120 کریکٹرز
lip-sync ویڈیو تخلیق کرنے کے لیے متن، زیادہ سے زیادہ 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، 10 MB تک کی data: URI، یا اپ لوڈ کے 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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/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/ur/developers/models/kling-video/lipsync/text-to-video.md. تمام ماڈلز اور گائیڈز: https://doitong.com/developers/llms.txt