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

Kling O1 First Frame Last Frame to Video [Pro]

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

မော်ဒယ် id kling-video/o1/image-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/image-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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 ကီး ရယူရန်

Pro အဆင့် ပထမဘောင်/နောက်ဆုံးဘောင် အန်နီမေးရှင်း- စတင်ပုံမှ ရွေးချယ်နိုင်သော အဆုံးပုံသို့ ကူးပြောင်းခြင်း၊ 3-10 s

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

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

ပြသထားသော အများပြည်သူသုံး လက်ရာများ: 16
**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...

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

Моя первая глобальная цель — 10.000 подписчиков. Я хочу расти вместе с вами, делать сериалы ещё к... ဗီဒီယို

Моя первая глобальная цель — 10.000 подписчиков. Я хочу расти вместе с вами, делать сериалы ещё круче, масштабнее и в итоге превратить это в полноценный проект, чтобы в дальнейшем монетизировать свой блог. Путь к первой десятке объявляю открытым. Идём со мной? Мне нужно такое видео в трёх кадрах...

Оживи старую чёрно-белую свадебную фотографию. Молодожёны стоят рядом друг с другом. Жених нежно ... ဗီဒီယို

Оживи старую чёрно-белую свадебную фотографию. Молодожёны стоят рядом друг с другом. Жених нежно и с любовью смотрит на невесту, слегка улыбается и бережно касается её руки. Невеста мягко улыбается, немного поворачивает голову к жениху и смотрит на него с теплотой. Их движения естественные,...

The woman in the reference photo smiles naturally at the camera. Golden magical sparks begin swir... ဗီဒီယို

The woman in the reference photo smiles naturally at the camera. Golden magical sparks begin swirling around her body. Her eyes briefly glow with warm golden light. A beautiful black witch hat appears on her head, and her clothes magically transform into an elegant black-and-gold witch costume...

Кролик открывает дверь девушке, девушка дает чаевые кролику и говорит « спасибо, мой ушастый друг... ဗီဒီယို

Кролик открывает дверь девушке, девушка дает чаевые кролику и говорит « спасибо, мой ушастый друг», он закрывает за ней дверь и говорит «Пожалуйста, красотка» после того как она села в машину за руль, кролик немного отходит, девушка в дрифте уезжает, все в одной сцене. Съемка кинематографичная....

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

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

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

ဖရိမ်ရည်ညွှန်းချက်များ: @Image1 သည် အစဖရိမ်ကို သတ်မှတ်ပြီး @Image2 သည် အဆုံးဖရိမ်ကို သတ်မှတ်သည်။

•လိုအပ်သည် start_image_url
ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

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

duration ၅ s

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

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

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

POST /run/kling-video/o1/image-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/image-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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 First Frame Last Frame to Video [Pro] အကြောင်း

မဖြစ်မနေလိုအပ်သော အစပုံ (`start_image_url`) နှင့် ရွေးချယ်နိုင်သော အဆုံးပုံ (`end_image_url`) အကြား ကူးပြောင်းမှုကို အများဆုံး အက္ခရာ 2500 ပါသော ပရောမ့်ဖြင့် လမ်းညွှန်ကာ ဖန်တီးသည်။ ပရောမ့်အတွင်း @Image1 သည် အစဖရိမ်ကို၊ @Image2 သည် အဆုံးဖရိမ်ကို ရည်ညွှန်းသည်။ `duration` ကို 3 မှ 10 စက္ကန့်အထိ တစ်စက္ကန့်စီ သတ်မှတ်နိုင်သည်။ ၎င်းသည် မော်ဒယ်၏ Pro ဗားရှင်း ဖြစ်သည်။

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

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

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
enable_safety_checkerရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
အကောင့်ခွင့်ပြုချက်ဖြင့်သာ ဘေးကင်းရေးစစ်ဆေးမှုများကို ပိတ်နိုင်သည်။ ခွင့်ပြုချက်မရှိသော တောင်းဆိုချက်များကို အမြဲစစ်ဆေးသည်။
promptလိုအပ်သည်
အမျိုးအစားstring
စာလုံး ၂,၅၀၀ လုံးထက် မပိုပါ
ဖရိမ်ရည်ညွှန်းချက်များ: @Image1 သည် အစဖရိမ်ကို သတ်မှတ်ပြီး @Image2 သည် အဆုံးဖရိမ်ကို သတ်မှတ်သည်။
start_image_urlလိုအပ်သည် image
အမျိုးအစားurl · image
ဗီဒီယို၏ အစဖရိမ်ကို ပေးသည့် ပုံ။ အရွယ်အစား 50 MB အထိသာ ဖြစ်ရမည်။ အကျယ်နှင့် အမြင့်တစ်ခုချင်းစီသည် အနည်းဆုံး 300 px ဖြစ်ရပြီး aspect ratio သည် 0.40 မှ 2.50 အတွင်း ဖြစ်ရမည်။ timeout သည် 20 စက္ကန့် ဖြစ်သည်။
end_image_urlရွေးချယ်နိုင်သည် end_image
အမျိုးအစားurl · image
ဗီဒီယို၏ အဆုံးဖရိမ်ကို ပေးသည့် ပုံ။ အရွယ်အစား 50 MB အထိသာ ဖြစ်ရမည်။ အကျယ်နှင့် အမြင့်တစ်ခုချင်းစီသည် အနည်းဆုံး 300 px ဖြစ်ရပြီး aspect ratio သည် 0.40 မှ 2.50 အတွင်း ဖြစ်ရမည်။
durationရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုး5
345678910
ဗီဒီယိုကြာချိန်ကို စက္ကန့်ဖြင့် တိုင်းတာထားသည်။
လိုအပ်သည် စံအမည်၊ ထို့အပြင် လက်ခံသည်

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

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/o1/image-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",
    "start_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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/image-to-video.md. မော်ဒယ်များနှင့် လမ်းညွှန်များအားလုံး: https://doitong.com/developers/llms.txt