Peke ki ngā ihirangi

Kling Video v2.6 Image to Video

Whakauru

id tauira kling-video/v2.6/pro/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/v2.6/pro/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"

Tēnei tono: $ 0.70 700 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API

I hangaia ki Doitong

Ngā mahi tūmatanui i hangaia ki Kling Video v2.6 e te hapori Doitong. Whakamahia anō he tono mā te pāwhiri kotahi.

Ngā mahi tūmatanui kua whakaaturia: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... Ataata

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

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

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

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

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

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

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

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

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana 88 / 2500
•e hiahiatia ana start_image_url
Whakataka he kōnae,

URL e tohu ana ki te atahanga e whakamahia ana mō te whakaputanga ataata. Kaua te rahi kōnae e nui ake i te 50 MB; me 300px neke atu te whānui me te teitei, ā, me noho te ōwehenga āhua ki waenga i te 0.40 me te 2.50.

duration 5 s

Te roa o te ataata putanga, ka inea ki te hēkona.

Ngā ID reo kōwhiringa hei whakaputa i te ataata, e 2 reo mōrahi mō ia tūmahi. Tohua i te tohutohu mā <<<voice_1>>> me <<<voice_2>>>.

Arā atu negative_prompt · end_image · enable_safety_checker
0 / 2500
end_image_url
Whakataka he kōnae,

URL e tohu ana ki te atahanga e whakamahia ana i te mutunga o te ataata. Kaua te rahi kōnae e nui ake i te 50 MB; me 300px neke atu te whānui me te teitei, ā, me noho te ōwehenga āhua ki waenga i te 0.40 me te 2.50.

POST /run/kling-video/v2.6/pro/image-to-video?wait=20 utu → $ 0.70
# 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/v2.6/pro/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"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Kling Video v2.6 Image to Video

Ka whakakorikori i tētahi atahanga tīmatanga (`start_image_url`) mā tētahi tohutohu tae atu ki te 2500 pūāhua, ā, ka taea te mutu ki `end_image_url`. Ko `duration` he 5, 10 hēkona rānei. Mā `generate_audio` e whakaputa ororongo māori me te reo Hainamana me te reo Pākehā, ā, mā `voice_ids` e tuku ai koe ki te tohu i ngā reo neke atu ki te 2 i roto i te tohutohu. Ka whakaaetia hoki `negative_prompt`.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Mā te whakamanatanga pūkete anake e āhei ai te whakaweto i ngā arowhai haumaru; ka arowhaitia tonutia ngā tono kāore he whakamanatanga.
prompte hiahiatia ana
Momostring
≤ 2,500 pūāhua
start_image_urle hiahiatia ana image
Momourl · image
URL e tohu ana ki te atahanga e whakamahia ana mō te whakaputanga ataata. Kaua te rahi kōnae e nui ake i te 50 MB; me 300px neke atu te whānui me te teitei, ā, me noho te ōwehenga āhua ki waenga i te 0.40 me te 2.50.
durationkōwhiringa
Momoenum
Taunoa5
510
Te roa o te ataata putanga, ka inea ki te hēkona.
negative_promptkōwhiringa
Momostring
Taunoablur, distort, and low quality
≤ 2,500 pūāhua
generate_audiokōwhiringa
Momoboolean
Taunoatrue
Pātene whakakā/weto mō te whakaputanga ororongo taketake o te ataata, e tautoko ana i ngā reo Hainamana, Ingarihi hoki, ā, ka whakamāori aunoa i ētahi atu reo ki te reo Ingarihi. Mō te kōrero Ingarihi, tuhia ngā kupu whakarāpopoto me ngā ingoa ake ki ngā pūmatua, me ērā atu katoa ki ngā pūriki.
voice_idskōwhiringa
Momostring[]
Ngā ID reo kōwhiringa hei whakaputa i te ataata, e 2 reo mōrahi mō ia tūmahi. Tohua i te tohutohu mā <<<voice_1>>> me <<<voice_2>>>.
end_image_urlkōwhiringa end_image
Momourl · image
URL e tohu ana ki te atahanga e whakamahia ana i te mutunga o te ataata. Kaua te rahi kōnae e nui ake i te 50 MB; me 300px neke atu te whānui me te teitei, ā, me noho te ōwehenga āhua ki waenga i te 0.40 me te 2.50.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/v2.6/pro/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": 700,
    "usd": "0.70",
    "charged": 700,
    "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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
video
object {url, content_type, file_name, file_size}Te ataata i hangaia e te tauira.

Ētahi atu tauira: Atahanga ki te Ataata

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/kling-video/v2.6/pro/image-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt