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

Kling 3.0 Pro Text to Video

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

မော်ဒယ် id kling-video/v3/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/v3/pro/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A paper boat drifts down a rain-filled street gutter at dusk. The camera follows at water level as raindrops ripple around it and neon reflections shimmer on the wet asphalt, then the boat tips over a small cascade into a puddle. Realistic water physics, shallow depth of field, cinematic.",
    "duration": 5,
    "generate_audio": false,
    "aspect_ratio": "16:9"
  }'

# 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 #audio#cinematic#multi-shot

မူရင်းအသံနှင့် multi-shot ဇာတ်လမ်းပြောဆိုမှုပါသော ပရောမ့်မှ 3 မှ 15 စက္ကန့် ရုပ်ရှင်ဆန်သည့် ကလစ်များ။

နမူနာများ

ထွက်ရလဒ် · ~141 s

ပရောမ့်A paper boat drifts down a rain-filled street gutter at dusk. The camera follows at water level as raindrops ripple around it and neon reflections shimmer on the wet asphalt, then the boat tips over a small cascade into a puddle. Realistic water physics, shallow depth of field, cinematic.

၅ sgenerate_audio: false16:9၀.၅၆ $ · ၅၆၀ API ခရက်ဒစ်

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

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

289 / 2500

ဗီဒီယိုဖန်တီးရန် စာသားညွှန်ကြားချက်များ။ ပရောမ့် သို့မဟုတ် multi_prompt ထဲမှ တစ်ခုတည်းကိုသာ ပေးရမည်။

duration ၅ s

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

aspect_ratio

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

အဆင့်မြင့် negative_prompt · shot_type · cfg_scale · multi_prompt
0 / 2500
shot_type မူလ customize

ရိုက်ချက်များစွာ ဖန်တီးရာတွင် ရိုက်ချက်များကို စီစဉ်ပုံကို ရွေးချယ်ပါ။ 'intelligent' ကို ရွေးချယ်ပါက ရိုက်ချက်ဖွဲ့စည်းပုံကို မော်ဒယ်ထံ လွှဲအပ်သည်။

မူလ 0.5

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

ထည့်သွင်းပေးပါက ဗီဒီယိုဖန်တီးရန် တစ်ခုတည်းသော ပရောမ့်အစား အသုံးပြုမည့် ရိုက်ကွက်တစ်ခုချင်းစီ၏ ပရောမ့်များနှင့် ကြာချိန်များ။

POST /run/kling-video/v3/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/v3/pro/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A paper boat drifts down a rain-filled street gutter at dusk. The camera follows at water level as raindrops ripple around it and neon reflections shimmer on the wet asphalt, then the boat tips over a small cascade into a puddle. Realistic water physics, shallow depth of field, cinematic.",
    "duration": 5,
    "generate_audio": false,
    "aspect_ratio": "16:9"
  }'

# 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 3.0 Pro Text to Video အကြောင်း

Kling ၏ အဓိက စာသားမှဗီဒီယိုမော်ဒယ်သည် ချောမွေ့ပြီး ရုပ်ပိုင်းဆိုင်ရာအရ ယုံကြည်ရသော လှုပ်ရှားမှုနှင့် ရုပ်ရှင်ဆန်သော အလင်းရောင်ကို ဖန်တီးပေးပြီး၊ မူလတန်ဖိုးအရ ကိုက်ညီသော အသံနှင့် စကားပြောသံကို ဖန်တီးပေးသည်။ ကလစ်တစ်ခုကို ရိုက်ကူးခန်းတစ်ခုချင်းစီအတွက် ပရောမ့်များဖြင့် ရိုက်ကူးခန်းများစွာအဖြစ် ခွဲနိုင်သလို၊ မော်ဒယ်ကိုယ်တိုင် ဖြတ်တောက်မှုများကို စီစဉ်စေနိုင်သည်။ 16:9၊ 9:16 သို့မဟုတ် 1:1၊ 3 မှ 15 စက္ကန့်အထိ မည်သည့်ကြာချိန်မဆို၊ အနုတ်လက္ခဏာပရောမ့်နှင့် လမ်းညွှန်စကေးပါရှိသည်။

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

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
promptရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
စာလုံး ၂,၅၀၀ လုံးထက် မပိုပါ
ဗီဒီယိုဖန်တီးရန် စာသားညွှန်ကြားချက်များ။ ပရောမ့် သို့မဟုတ် multi_prompt ထဲမှ တစ်ခုတည်းကိုသာ ပေးရမည်။
durationရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး5
3456789101112131415
ထွက်ရလဒ်ဗီဒီယိုကြာချိန်ကို စက္ကန့်ဖြင့် တိုင်းတာသည်။
multi_promptရွေးချယ်နိုင်သည်
အမျိုးအစားobject[]
ထည့်သွင်းပေးပါက ဗီဒီယိုဖန်တီးရန် တစ်ခုတည်းသော ပရောမ့်အစား အသုံးပြုမည့် ရိုက်ကွက်တစ်ခုချင်းစီ၏ ပရောမ့်များနှင့် ကြာချိန်များ။
multi_prompt[].promptလိုအပ်သည်
အမျိုးအစားstring
လက်ရှိရိုက်ချက်အတွက် စာသားညွှန်ကြားချက်များ။
multi_prompt[].durationရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး5
123456789101112131415
လက်ရှိရိုက်ချက်၏ ကြာချိန်၊ စက္ကန့်ဖြင့် တိုင်းတာသည်။
generate_audioရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
မူရင်းဗီဒီယိုအသံ ဖန်တီးမှုကို ဖွင့်/ပိတ်ရန်။ တရုတ် သို့မဟုတ် အင်္ဂလိပ်ဘာသာရှိ အသံများကို ပံ့ပိုးပြီး အခြားဘာသာစကားများကို အင်္ဂလိပ်ဘာသာသို့ အလိုအလျောက် ဘာသာပြန်သည်။ အင်္ဂလိပ်စကားပြောအတွက် အတိုကောက်များနှင့် သင့်လျော်နာမ်များကို စာလုံးအကြီးဖြင့် ရေးပြီး ကျန်အရာအားလုံးကို စာလုံးအသေးဖြင့် ရေးပါ။
shot_typeရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးcustomize
customizeintelligent
ရိုက်ချက်များစွာ ဖန်တီးရာတွင် ရိုက်ချက်များကို စီစဉ်ပုံကို ရွေးချယ်ပါ။ 'intelligent' ကို ရွေးချယ်ပါက ရိုက်ချက်ဖွဲ့စည်းပုံကို မော်ဒယ်ထံ လွှဲအပ်သည်။
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 ကို အသုံးပြု၍ ဖန်တီးမှုသည် သင့်ပရောမ့်ကို မည်မျှနီးကပ်စွာ လိုက်နာမည်ကို သတ်မှတ်ပါ။
လိုအပ်သည်

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/v3/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": 560,
    "usd": "0.56",
    "charged": 560,
    "refunded": 0
  },
  "input": {
    "prompt": "Close-up of fireflies dancing in a dark forest at twilight, soft glowing particles, slow dolly forward",
    "duration": 5,
    "aspect_ratio": "16:9"
  },
  "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/v3/pro/text-to-video.md. မော်ဒယ်များနှင့် လမ်းညွှန်များအားလုံး: https://doitong.com/developers/llms.txt