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

Kling O3 Reference to Video [Pro]

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

မော်ဒယ် id kling-video/o3/pro/reference-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/o3/pro/reference-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://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

API ကီး ရယူရန်
Kling ရည်ညွှန်းချက်မှ ဗီဒီယို မူရင်းအသံရည်ညွှန်း ထည့်သွင်းချက်များ၃–၁၅ s #reference-to-video

ပုံများနှင့် element များကို အသုံးပြု၍ ဇာတ်ကောင်များနှင့် အရာဝတ္ထုများကို တစ်သမတ်တည်း ထိန်းသိမ်းပေးသည့် Pro reference-to-video

Doitong တွင် ဖန်တီးထားသည်

Doitong အသိုင်းအဝိုင်းက Kling O3 ဖြင့် ဖန်တီးထားသော အများပြည်သူသုံး လက်ရာများ။ ပရောမ့်ကို တစ်ချက်နှိပ်၍ ပြန်အသုံးပြုပါ။

ပြသထားသော အများပြည်သူသုံး လက်ရာများ: 16
**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ဗီဒီယို

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ဗီဒီယို

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ဗီဒီယို

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе... ဗီဒီယို

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе с панорамными окнами. Внутри деревянный интерьер, мягкие диваны и живые цветы. Они садятся за столик, перед ними стоят дымящиеся чашки чая. Мягкий свет ламп создает уют. Средний план, уровень глаз. (...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... ဗီဒီယို

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты вн... ဗီဒီယို

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты внешности, возраст, причёски и одежду. Мужчины слегка поворачивают головы, естественно моргают и едва заметно улыбаются. Женщина слева спокойно смотрит в камеру и мягко моргает. Маленький ребёнок слегка...

A five-second orbital camera move circling completely around a red-haired woman in a yellow rainc... ဗီဒီယို

A five-second orbital camera move circling completely around a red-haired woman in a yellow raincoat standing in an autumn forest holding a vintage lantern, she remains stationary facing forward while the camera circles 180 degrees from her left side to her right side at eye level, golden fallen...

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a w... ဗီဒီယို

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a wooden cutting board in a bright kitchen, camera suddenly swings in a rapid blur motion panning right at high speed creating motion blur, ending sharply focused on a barista pouring latte art in a...

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

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

88 / 2500

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

duration ၅ s

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

aspect_ratio မူလ 16:9

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

အဆင့်မြင့် image · end_image · images · shot_type · enable_safety_checker · multi_prompt · elements
start_image_url
ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

ဗီဒီယို၏ အစဖရိမ်အတွက် အသုံးပြုသည့် ပုံ။ ဖိုင်အရွယ်အစားသည် 50 MB ထက် မပိုရပါ။ အကျယ်နှင့် အမြင့်တစ်ခုချင်းစီသည် အနည်းဆုံး 300px ဖြစ်ရပြီး aspect ratio သည် 0.40 နှင့် 2.50 ကြား ဖြစ်ရမည်။

end_image_url
ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

ဗီဒီယို၏ အဆုံးဖရိမ်ကို ပေးသည့် ပုံ။ အရွယ်အစား 50 MB အထိသာ ဖြစ်ရမည်။ အကျယ်နှင့် အမြင့်တစ်ခုချင်းစီသည် အနည်းဆုံး 300 px ဖြစ်ရပြီး aspect ratio သည် 0.40 မှ 2.50 အတွင်း ဖြစ်ရမည်။

image_urls
ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

စတိုင် သို့မဟုတ် အသွင်အပြင်ကို လမ်းညွှန်ပေးသည့် ပုံများ။ ပရောမ့်တွင် @Image1၊ @Image2 စသည်ဖြင့် ရည်ညွှန်းပါ။ ဗီဒီယိုထည့်သွင်းချက်ရှိပါက element များနှင့် ရည်ညွှန်းပုံများ စုစုပေါင်းသည် 4 ခုထက် မပိုရပါ။ ဖိုင်တစ်ခုချင်းစီသည် 50 MB အထိသာ ဖြစ်ရပြီး အကျယ်နှင့် အမြင့်တစ်ခုချင်းစီသည် အနည်းဆုံး 300 px၊ aspect ratio သည် 0.40 မှ 2.50 အတွင်း ဖြစ်ရမည်။

shot_type မူလ customize

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

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

ထည့်သွင်းမည့် ဇာတ်ကောင်များ သို့မဟုတ် အရာဝတ္ထုများ။ ပရောမ့်တွင် @Element1 နှင့် @Element2 ဖြင့် ရည်ညွှန်းပါ။

POST /run/kling-video/o3/pro/reference-to-video?wait=20 ကုန်ကျစရိတ် → ၀.၅၆ $
# 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/o3/pro/reference-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://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

Kling O3 Reference to Video [Pro] အကြောင်း

@Image1 စသည်ဖြင့် ရည်ညွှန်းထားသော `image_urls` နှင့် ဇာတ်ကောင်များ သို့မဟုတ် အရာဝတ္ထုများအတွက် `elements` များမှ ဗီဒီယိုမြင်ကွင်းများ ဖန်တီးသည်။ ရွေးချယ်နိုင်သော `start_image_url` နှင့် `end_image_url` တို့က ပထမနှင့် နောက်ဆုံးဘောင်များကို သတ်မှတ်ပေးသည်။ ကြာချိန်သည် 3 မှ 15 စက္ကန့်၊ အချိုးသည် 16:9၊ 9:16 သို့မဟုတ် 1:1 ဖြစ်သည်။ `multi_prompt` ရိုက်ကူးမှုများနှင့် ရွေးချယ်နိုင်သောအသံကို ထောက်ပံ့သည်။

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

စံအမည် သို့မဟုတ် မူရင်းအမည် တစ်ခုခုကိုသာ ပို့ပါ၊ နှစ်ခုလုံး မပို့ပါနှင့်။ စံအမည်များ

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
enable_safety_checkerရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
အကောင့်ခွင့်ပြုချက်ဖြင့်သာ ဘေးကင်းရေးစစ်ဆေးမှုများကို ပိတ်နိုင်သည်။ ခွင့်ပြုချက်မရှိသော တောင်းဆိုချက်များကို အမြဲစစ်ဆေးသည်။
promptရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
စာလုံး ၂,၅၀၀ လုံးထက် မပိုပါ
ဗီဒီယိုဖန်တီးရန် စာသားညွှန်ကြားချက်များ။ ပရောမ့် သို့မဟုတ် multi_prompt ထဲမှ တစ်ခုတည်းကိုသာ ပေးရမည်။
multi_promptရွေးချယ်နိုင်သည်
အမျိုးအစားobject[]
ရိုက်ချက်များစွာပါသော ဗီဒီယိုဖန်တီးရန် အသုံးပြုသည့် ပရောမ့်စာရင်း။
multi_prompt[].promptလိုအပ်သည်
အမျိုးအစားstring
လက်ရှိရိုက်ချက်အတွက် စာသားညွှန်ကြားချက်များ။
multi_prompt[].durationရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး5
123456789101112131415
လက်ရှိရိုက်ချက်၏ ကြာချိန်၊ စက္ကန့်ဖြင့် တိုင်းတာသည်။
start_image_urlရွေးချယ်နိုင်သည် image
အမျိုးအစားurl · image
ဗီဒီယို၏ အစဖရိမ်အတွက် အသုံးပြုသည့် ပုံ။ ဖိုင်အရွယ်အစားသည် 50 MB ထက် မပိုရပါ။ အကျယ်နှင့် အမြင့်တစ်ခုချင်းစီသည် အနည်းဆုံး 300px ဖြစ်ရပြီး aspect ratio သည် 0.40 နှင့် 2.50 ကြား ဖြစ်ရမည်။
end_image_urlရွေးချယ်နိုင်သည် end_image
အမျိုးအစားurl · image
ဗီဒီယို၏ အဆုံးဖရိမ်ကို ပေးသည့် ပုံ။ အရွယ်အစား 50 MB အထိသာ ဖြစ်ရမည်။ အကျယ်နှင့် အမြင့်တစ်ခုချင်းစီသည် အနည်းဆုံး 300 px ဖြစ်ရပြီး aspect ratio သည် 0.40 မှ 2.50 အတွင်း ဖြစ်ရမည်။
image_urlsရွေးချယ်နိုင်သည် images
အမျိုးအစားurl[] · image
စတိုင် သို့မဟုတ် အသွင်အပြင်ကို လမ်းညွှန်ပေးသည့် ပုံများ။ ပရောမ့်တွင် @Image1၊ @Image2 စသည်ဖြင့် ရည်ညွှန်းပါ။ ဗီဒီယိုထည့်သွင်းချက်ရှိပါက element များနှင့် ရည်ညွှန်းပုံများ စုစုပေါင်းသည် 4 ခုထက် မပိုရပါ။ ဖိုင်တစ်ခုချင်းစီသည် 50 MB အထိသာ ဖြစ်ရပြီး အကျယ်နှင့် အမြင့်တစ်ခုချင်းစီသည် အနည်းဆုံး 300 px၊ aspect ratio သည် 0.40 မှ 2.50 အတွင်း ဖြစ်ရမည်။
elementsရွေးချယ်နိုင်သည်
အမျိုးအစားobject[]
ထည့်သွင်းမည့် ဇာတ်ကောင်များ သို့မဟုတ် အရာဝတ္ထုများ။ ပရောမ့်တွင် @Element1 နှင့် @Element2 ဖြင့် ရည်ညွှန်းပါ။
elements[].frontal_image_urlရွေးချယ်နိုင်သည်
အမျိုးအစားurl · image
Element ၏ အဓိကမြင်ကွင်းကို ပြသသည့် ရှေ့မျက်နှာမူပုံ။ ဖိုင်အရွယ်အစားသည် 50 MB ထက် မပိုရပါ။ အကျယ်နှင့် အမြင့်တစ်ခုချင်းစီသည် အနည်းဆုံး 300px ဖြစ်ရပြီး aspect ratio သည် 0.40 နှင့် 2.50 ကြား ဖြစ်ရမည်။
elements[].reference_image_urlsရွေးချယ်နိုင်သည်
အမျိုးအစားurl[] · image
မတူညီသောထောင့်များကို ပြသသည့် အပိုရည်ညွှန်းပုံ 1–3 ပုံ ပေးပါ။ ပုံတစ်ပုံချင်းစီ၏ aspect ratio သည် 0.40 နှင့် 2.50 ကြား ဖြစ်ရမည်၊ အတိုင်းအတာနှစ်ခုစလုံးသည် အနည်းဆုံး 300px ဖြစ်ရမည်၊ အရွယ်အစားသည် 50.0MB ထက် မပိုရပါ။
elements[].video_urlရွေးချယ်နိုင်သည်
အမျိုးအစားurl · video
Element ၏ ဗီဒီယိုကို ညွှန်းသည့် URL။ တောင်းဆိုချက်တစ်ခုတွင် element တစ်ခုတည်းသာ ဗီဒီယို ပါဝင်နိုင်သည်။ ဖိုင်အရွယ်အစားသည် 200 MB အထိသာ ဖြစ်ရပြီး အကျယ်နှင့် အမြင့်တစ်ခုချင်းစီသည် 720px နှင့် 2160px ကြား ဖြစ်ရမည်။ ကြာချိန်သည် 3 စက္ကန့်မှ 10.05 စက္ကန့်အတွင်း၊ FPS သည် 24.0 နှင့် 60.0 ကြား ဖြစ်ရမည်။
elements[].voice_idရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
Element ထံ သတ်မှတ်ပေးထားသော Voice ID။ ထို element ကို ရည်ညွှန်းရာတွင် သတ်မှတ်ပေးထားသော အသံကို အသုံးပြုသည်။
generate_audioရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးfalse
ဗီဒီယိုနှင့်အတူ မူရင်းအသံကို ဖန်တီးမည်၊ မဖန်တီးမည်ကို ထိန်းချုပ်သည်။
durationရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး5
3456789101112131415
ဗီဒီယိုကြာချိန်၊ 3 စက္ကန့်မှ 15 စက္ကန့်အတွင်း။
shot_typeရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးcustomize
customizeintelligent
ရိုက်ချက်များစွာ ဖန်တီးရာတွင် ရိုက်ချက်များကို စီစဉ်ပုံကို ရွေးချယ်ပါ။ 'intelligent' ကို ရွေးချယ်ပါက ရိုက်ချက်ဖွဲ့စည်းပုံကို မော်ဒယ်ထံ လွှဲအပ်သည်။
aspect_ratioရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး16:9
16:99:161:1
ဖန်တီးထားသော ဗီဒီယိုရှိ ဖရိမ်များ၏ အကျယ်နှင့် အမြင့် အချိုး။
လိုအပ်သည် စံအမည်၊ ထို့အပြင် လက်ခံသည်

ဖိုင်ပါရာမီတာများသည် အများပြည်သူသုံး https:// URL၊ 10 MB အထိ data: URI သို့မဟုတ် အပ်လုဒ်လုပ်ထားသောဖိုင်၏ file_url ကို လက်ခံသည်။ ဖိုင်များ

ထွက်ရလဒ်

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