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

Kling O1 Reference Image to Video [Pro]

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

မော်ဒယ် id kling-video/o1/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/o1/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

ဇာတ်ကောင်များနှင့် အရာဝတ္ထုများကို တစ်သမတ်တည်း ထိန်းသိမ်းပေးသည့် Pro reference-to-video၊ 3 မှ 10 စက္ကန့်၊ ထည့်သွင်းဗီဒီယိုမလို

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

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

ပြသထားသော အများပြည်သူသုံး လက်ရာများ: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... ဗီဒီယို

Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while speaking, with realistic facial expressions and synchronized lip movements, as if she is promoting something to the viewer. She maintains eye contact with the camera, smiles slightly, and uses subtle...

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her ey... ဗီဒီယို

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her eyes and cheeks, as if the blurry image on the screen is changing. Her eyes move slightly as she studies the screen, and she takes one slow, tense breath. Behind her, shadows of the snowstorm move...

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. I... ဗီဒီယို

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. Its huge dark leathery wings beat twice with slow, heavy strokes, sending snow swirling off the cliff in big clouds. Then it folds its wings and settles on the rock, the giant elk still held in its...

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

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jeng... ဗီဒီယို

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jenga tower. As the block comes out, the tower naturally loses balance and realistically collapses onto the table. Frustrated, he angrily sweeps all the fallen wooden blocks off the table with both hands....

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold ... ဗီဒီယို

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold rock, a huge orange-white heat shape hidden inside a rock crevice, two small bright amber spots glowing like eyes, faint noise grain. Cinematic videorealistic, ultra detailed, 16:9, volumetric light,...

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

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

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

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

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

အစီအစဉ်လိုက် ရည်ညွှန်းချက်များတွင် element များအတွက် @Element1၊ @Element2 စသည်ဖြင့်၊ ပုံများအတွက် @Image1၊ @Image2 စသည်ဖြင့် အသုံးပြုပါ။

duration ၅ s

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

aspect_ratio မူလ 16:9

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

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

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

ဗီဒီယိုတွင် ပါဝင်မည့် ဇာတ်ကောင်များ သို့မဟုတ် အရာဝတ္ထုများ။ ပရောမ့်တွင် @Element1၊ @Element2 စသည်ဖြင့် ရည်ညွှန်းပါ။ Element များ၊ ရည်ညွှန်းပုံများနှင့် အစပုံ စုစုပေါင်းသည် 7 ခုထက် မပိုရပါ။

POST /run/kling-video/o1/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/o1/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 O1 Reference Image to Video [Pro] အကြောင်း

အများဆုံး အက္ခရာ 2500 ပါသော လိုအပ်သည့် `prompt` မှ ကလစ်တစ်ခုကို ဖန်တီးသည်။ ပေးထားသော `elements` များကို @Element1 အဖြစ်နှင့် `image_urls` များကို @Image1 အဖြစ် ရည်ညွှန်းပါ။ element နှင့် ရည်ညွှန်းပုံ စုစုပေါင်း အများဆုံး 7 ခု ပေါင်းစပ်နိုင်သည်။ ကြာချိန်သည် 3 မှ 10 စက္ကန့် (မူလတန်ဖိုး 5) ဖြစ်ပြီး အချိုးသည် 16:9၊ 9:16 သို့မဟုတ် 1:1 ဖြစ်သည်။

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

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

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
enable_safety_checkerရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
အကောင့်ခွင့်ပြုချက်ဖြင့်သာ ဘေးကင်းရေးစစ်ဆေးမှုများကို ပိတ်နိုင်သည်။ ခွင့်ပြုချက်မရှိသော တောင်းဆိုချက်များကို အမြဲစစ်ဆေးသည်။
promptလိုအပ်သည်
အမျိုးအစားstring
စာလုံး ၂,၅၀၀ လုံးထက် မပိုပါ
အစီအစဉ်လိုက် ရည်ညွှန်းချက်များတွင် element များအတွက် @Element1၊ @Element2 စသည်ဖြင့်၊ ပုံများအတွက် @Image1၊ @Image2 စသည်ဖြင့် အသုံးပြုပါ။
image_urlsရွေးချယ်နိုင်သည် images
အမျိုးအစားurl[] · image
စတိုင် သို့မဟုတ် အသွင်အပြင်ကို လမ်းညွှန်ပေးသည့် အပိုပုံများ။ ပရောမ့်တွင် @Image1၊ @Image2 စသည်ဖြင့် ရည်ညွှန်းပါ။ Element များ၊ ရည်ညွှန်းပုံများနှင့် အစပုံ စုစုပေါင်းသည် 7 ခုထက် မပိုရပါ။ ဖိုင်တစ်ခုချင်းစီသည် 50 MB အထိသာ ဖြစ်ရပြီး အကျယ်နှင့် အမြင့်တစ်ခုချင်းစီသည် အနည်းဆုံး 300 px၊ aspect ratio သည် 0.40 မှ 2.50 အတွင်း ဖြစ်ရမည်။
elementsရွေးချယ်နိုင်သည်
အမျိုးအစားobject[]
ဗီဒီယိုတွင် ပါဝင်မည့် ဇာတ်ကောင်များ သို့မဟုတ် အရာဝတ္ထုများ။ ပရောမ့်တွင် @Element1၊ @Element2 စသည်ဖြင့် ရည်ညွှန်းပါ။ Element များ၊ ရည်ညွှန်းပုံများနှင့် အစပုံ စုစုပေါင်းသည် 7 ခုထက် မပိုရပါ။
elements[].frontal_image_urlလိုအပ်သည်
အမျိုးအစားurl · image
Element ၏ အဓိကမြင်ကွင်းကို ပေးသည့် ရှေ့မျက်နှာမူပုံ။ အရွယ်အစား 50 MB အထိသာ ဖြစ်ရမည်။ အကျယ်နှင့် အမြင့်တစ်ခုချင်းစီသည် အနည်းဆုံး 300 px ဖြစ်ရပြီး aspect ratio သည် 0.40 မှ 2.50 အတွင်း ဖြစ်ရမည်။ timeout သည် 20 စက္ကန့် ဖြစ်သည်။
elements[].reference_image_urlsရွေးချယ်နိုင်သည်
အမျိုးအစားurl[] · image
မတူညီသောထောင့်များကို ပြသသည့် အပိုရည်ညွှန်းပုံ 1–3 ပုံ ပေးပါ။ ပုံတစ်ပုံချင်းစီ၏ aspect ratio သည် 0.40 နှင့် 2.50 ကြား ဖြစ်ရမည်၊ အတိုင်းအတာနှစ်ခုစလုံးသည် အနည်းဆုံး 300px ဖြစ်ရမည်၊ အရွယ်အစားသည် 50.0MB ထက် မပိုရပါ။
durationရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး5
345678910
ဗီဒီယိုကြာချိန်ကို စက္ကန့်ဖြင့် တိုင်းတာထားသည်။
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/o1/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/o1/reference-to-video.md. မော်ဒယ်များနှင့် လမ်းညွှန်များအားလုံး: https://doitong.com/developers/llms.txt