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

Kling O3 Text to Video [Pro]

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

မော်ဒယ် id kling-video/o3/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/o3/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 #text-to-video

3-15 s ကလစ်များ၊ ရိုက်ချက်များစွာပါ ပရောမ့်များနှင့် ရွေးချယ်နိုင်သော မူရင်းအသံပါ Pro အဆင့် O3 စာသားမှဗီဒီယို

Kling · ဗီဒီယို

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

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

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

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

88 / 2500

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

duration ၅ s

ဗီဒီယိုကြာချိန်၊ 3 စက္ကန့်မှ 15 စက္ကန့်အတွင်း။

aspect_ratio မူလ 16:9

ရလဒ်ဗီဒီယို၏ aspect ratio။

အဆင့်မြင့် shot_type · enable_safety_checker · multi_prompt
shot_type မူလ customize

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

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

POST /run/kling-video/o3/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/o3/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 O3 Text to Video [Pro] အကြောင်း

အများဆုံး စာလုံး 2500 ပါသော စာသား `prompt` မှ ဗီဒီယိုကို ဖန်တီးပေးသည်၊ သို့မဟုတ် multi-shot ကလစ်များအတွက် `multi_prompt` စာရင်းကို အသုံးပြုနိုင်သည်။ `duration` သည် 3 မှ 15 စက္ကန့် အထိ လက်ခံပြီး `aspect_ratio` သည် 16:9၊ 9:16 သို့မဟုတ် 1:1 ဖြစ်နိုင်သည်။ မူရင်းအသံထည့်ရန် `generate_audio` ကို သတ်မှတ်ပါ။ ၎င်းသည် မူလအားဖြင့် ပိတ်ထားသည်။ `shot_type` ကို intelligent ဟု သတ်မှတ်နိုင်ပြီး မော်ဒယ်က ရိုက်ကွက်ဖွဲ့စည်းပုံကို ဆုံးဖြတ်ပေးသည်။

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

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
enable_safety_checkerရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
အကောင့်ခွင့်ပြုချက်ဖြင့်သာ ဘေးကင်းရေးစစ်ဆေးမှုများကို ပိတ်နိုင်သည်။ ခွင့်ပြုချက်မရှိသော တောင်းဆိုချက်များကို အမြဲစစ်ဆေးသည်။
promptရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
စာလုံး ၂,၅၀၀ လုံးထက် မပိုပါ
ဗီဒီယိုဖန်တီးရန် စာသားညွှန်ကြားချက်များ။ multi_prompt မရှိပါက မဖြစ်မနေလိုအပ်သည်။
durationရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး5
3456789101112131415
ဗီဒီယိုကြာချိန်၊ 3 စက္ကန့်မှ 15 စက္ကန့်အတွင်း။
aspect_ratioရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး16:9
16:99:161:1
ရလဒ်ဗီဒီယို၏ aspect ratio။
generate_audioရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးfalse
ဗီဒီယိုနှင့်အတူ မူရင်းအသံကို ဖန်တီးမည်၊ မဖန်တီးမည်ကို ထိန်းချုပ်သည်။
multi_promptရွေးချယ်နိုင်သည်
အမျိုးအစားobject[]
ရိုက်ချက်များစွာပါသော ဗီဒီယိုဖန်တီးရန် အသုံးပြုသည့် ပရောမ့်စာရင်း။
multi_prompt[].promptလိုအပ်သည်
အမျိုးအစားstring
လက်ရှိရိုက်ချက်အတွက် စာသားညွှန်ကြားချက်များ။
multi_prompt[].durationရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး5
123456789101112131415
လက်ရှိရိုက်ချက်၏ ကြာချိန်၊ စက္ကန့်ဖြင့် တိုင်းတာသည်။
shot_typeရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးcustomize
customizeintelligent
ရိုက်ချက်များစွာ ဖန်တီးရာတွင် ရိုက်ချက်များကို စီစဉ်ပုံကို ရွေးချယ်ပါ။ 'intelligent' ကို ရွေးချယ်ပါက ရိုက်ချက်ဖွဲ့စည်းပုံကို မော်ဒယ်ထံ လွှဲအပ်သည်။
လိုအပ်သည်

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/o3/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": "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/o3/pro/text-to-video.md. မော်ဒယ်များနှင့် လမ်းညွှန်များအားလုံး: https://doitong.com/developers/llms.txt