အကြောင်းအရာသို့ ကျော်ရန်

Kling Video v2.6 Text to Video

ပေါင်းစည်းရန်

မော်ဒယ် id kling-video/v2.6/pro/text-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/kling-video/v2.6/pro/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ဤတောင်းဆိုချက်: ၀.၇၀ $ ၇၀၀ API ခရက်ဒစ် ဤစာမျက်နှာတွင် လုပ်ဆောင်ရန်

API ကီး ရယူရန်
Kling စာသားမှ ဗီဒီယို မူရင်းအသံ၅–၁၀ s

မူရင်းအသံထွက်ရလဒ်၊ 5 သို့မဟုတ် 10 s ဗီဒီယိုအပိုင်းများနှင့် CFG၊ အချိုးအစားထိန်းချုပ်မှုပါဝင်သည့် v2.6 စာသားမှဗီဒီယို မော်ဒယ်

Kling · ဗီဒီယို

သင့်ပထမဆုံးရလဒ် ဤနေရာတွင် ပေါ်လာမည်

အောက်တွင် တောင်းဆိုချက်တစ်ခု တည်ဆောက်ပြီး သင့် API ကီးဖြင့် လုပ်ဆောင်ပါ။ ထွက်ရလဒ်များကို ကျွန်ုပ်တို့၏ သိုလှောင်မှုသို့ ကူးယူပြီး အမြဲတမ်း သို့မဟုတ် ၇ ရက် အခမဲ့ သိမ်းထားသည်။

တောင်းဆိုမှုတစ်ခု တည်ဆောက်ရန်

ထိန်းချုပ်မှုများကို မော်ဒယ် schema မှ အလိုအလျောက်ဖန်တီးသည်။ ၎င်းတို့ကို ပြောင်းလဲသည်နှင့် code နှင့် စျေးနှုန်းတို့လည်း ပြောင်းလဲမည်။

•လိုအပ်သည် 88 / 2500
duration ၅ s

ထွက်ရလဒ်ဗီဒီယိုကြာချိန်ကို စက္ကန့်ဖြင့် တိုင်းတာသည်။

aspect_ratio မူလ 16:9

ထွက်ရလဒ်ဗီဒီယိုရှိ ဖရိမ်များ၏ အကျယ်နှင့် အမြင့် အချိုး။

အဆင့်မြင့် negative_prompt · cfg_scale · enable_safety_checker
0 / 2500
မူလ 0.5

Classifier Free Guidance ၏ အတိုကောက်ဖြစ်သော CFG ကို အသုံးပြု၍ ဖန်တီးမှုသည် သင့်ပရောမ့်ကို မည်မျှနီးကပ်စွာ လိုက်နာမည်ကို သတ်မှတ်ပါ။

POST /run/kling-video/v2.6/pro/text-to-video?wait=20 ကုန်ကျစရိတ် → ၀.၇၀ $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/kling-video/v2.6/pro/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ဤတောင်းဆိုချက်ကို လုပ်ဆောင်ရန်

သင့် key သည် ဤဘရောက်ဇာထဲတွင်သာ ရှိမည်ဖြစ်ပြီး Doitong API သို့သာ ပို့မည်။ Remember ကို အမှန်ခြစ်ထားမှသာ (localStorage) တွင် သိမ်းမည်။ API ကီး ရယူရန်

Kling Video v2.6 Text to Video အကြောင်း

အက္ခရာ 2500 အထိရှိသော စာသားပရောမ့်မှ ဗီဒီယိုကို ဖန်တီးသည်။ `duration` သည် 5 သို့မဟုတ် 10 စက္ကန့် ဖြစ်ပြီး `aspect_ratio` သည် 16:9၊ 9:16 သို့မဟုတ် 1:1 ဖြစ်သည်။ `cfg_scale` သည် 0 မှ 1 အထိ ဖြစ်ပြီး `negative_prompt` ကို ပံ့ပိုးသည်။ `generate_audio` သည် တရုတ်နှင့် အင်္ဂလိပ်စကားပြောသံပါသော မူရင်းအသံကို ထည့်ပေးသည်။

ပါရာမီတာများ

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
enable_safety_checkerရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
အကောင့်ခွင့်ပြုချက်ဖြင့်သာ ဘေးကင်းရေးစစ်ဆေးမှုများကို ပိတ်နိုင်သည်။ ခွင့်ပြုချက်မရှိသော တောင်းဆိုချက်များကို အမြဲစစ်ဆေးသည်။
promptလိုအပ်သည်
အမျိုးအစားstring
စာလုံး ၂,၅၀၀ လုံးထက် မပိုပါ
durationရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး5
510
ထွက်ရလဒ်ဗီဒီယိုကြာချိန်ကို စက္ကန့်ဖြင့် တိုင်းတာသည်။
aspect_ratioရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး16:9
16:99:161:1
ထွက်ရလဒ်ဗီဒီယိုရှိ ဖရိမ်များ၏ အကျယ်နှင့် အမြင့် အချိုး။
negative_promptရွေးချယ်နိုင်သည်
အမျိုးအစားstring
မူလတန်ဖိုးblur, distort, and low quality
စာလုံး ၂,၅၀၀ လုံးထက် မပိုပါ
cfg_scaleရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး0.5
၀ – ၁
Classifier Free Guidance ၏ အတိုကောက်ဖြစ်သော CFG ကို အသုံးပြု၍ ဖန်တီးမှုသည် သင့်ပရောမ့်ကို မည်မျှနီးကပ်စွာ လိုက်နာမည်ကို သတ်မှတ်ပါ။
generate_audioရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
မူရင်းဗီဒီယိုအသံ ဖန်တီးမှုကို ဖွင့်/ပိတ်ရန်။ တရုတ် သို့မဟုတ် အင်္ဂလိပ်ဘာသာရှိ အသံများကို ပံ့ပိုးပြီး အခြားဘာသာစကားများကို အင်္ဂလိပ်ဘာသာသို့ အလိုအလျောက် ဘာသာပြန်သည်။ အင်္ဂလိပ်စကားပြောအတွက် အတိုကောက်များနှင့် သင့်လျော်နာမ်များကို စာလုံးအကြီးဖြင့် ရေးပြီး ကျန်အရာအားလုံးကို စာလုံးအသေးဖြင့် ရေးပါ။
လိုအပ်သည်

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/v2.6/pro/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": 700,
    "usd": "0.70",
    "charged": 700,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
သင့်ဖိုင်များ၊ သင့်ရွေးချယ်မှုoutputs[].url တိုင်းသည် ကျွန်ုပ်တို့၏ သိုလှောင်မှုရှိ မိတ္တူဖြစ်သည်- အမြဲတမ်း (GB-month အလိုက် ငွေပေးရသည်) သို့မဟုတ် ၇ ရက် အခမဲ့၊ သင့်အကောင့်ဆက်တင် သို့မဟုတ် ?storage= ဖြင့် သိမ်းထားသည်။
မော်ဒယ်တိုင်းတွင် ပုံစံတူပုံ၊ ဗီဒီယိုနှင့် အသံတို့အတွက် type၊ url၊ content_type၊ width၊ height နှင့် duration။ output သည် မော်ဒယ်ကိုယ်တိုင်၏ ရလဒ် object ဖြစ်သည်။
ထွက်ရလဒ်၏ Fields များ
video
object {url, content_type, file_name, file_size}မော်ဒယ်က ထုတ်လုပ်သည့် ဗီဒီယို။

နောက်ထပ် မော်ဒယ်များ: စာသားမှ ဗီဒီယို

AI အေးဂျင့်များအတွက်- ဤစာမျက်နှာ၏ Markdown ကို ဤနေရာတွင် ရရှိနိုင်သည် https://doitong.com/my/developers/models/kling-video/v2.6/pro/text-to-video.md. မော်ဒယ်များနှင့် လမ်းညွှန်များအားလုံး: https://doitong.com/developers/llms.txt