Pereiti prie turinio

Kling Video v2.6 Image to Video

Integruoti

Modelio id 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"

Ši užklausa: 0,70 $ 700 API kreditų Paleisti šiame puslapyje

Gauti API raktą

Sukurta naudojant Doitong

Doitong bendruomenės sukurti vieši darbai naudojant Kling Video v2.6. Vienu spustelėjimu panaudokite iš naujo raginimą.

Rodomi vieši darbai: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... Vaizdo įrašas

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... Vaizdo įrašas

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... Vaizdo įrašas

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... Vaizdo įrašas

**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... Vaizdo įrašas

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 ... Vaizdo įrašas

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... Vaizdo įrašas

**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... Vaizdo įrašas

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

Sukurti užklausą

Valdikliai sugeneruojami pagal modelio schemą. Keisdami juos atnaujinsite kodą ir kainą.

•privaloma 88 / 2500
•privaloma start_image_url
Įmeskite failą arba

URL, nurodantis vaizdą, naudojamą vaizdo įrašui generuoti. Failo dydis negali viršyti 50 MB; plotis ir aukštis turi būti bent 300px, o formato santykis – nuo 0.40 iki 2.50.

duration 5 s

Išvesties vaizdo įrašo trukmė sekundėmis.

Pasirinktiniai Voice ID, naudojami vaizdo įrašui generuoti; vienai užduočiai galima naudoti ne daugiau kaip 2 balsus. Raginyje į juos kreipkitės naudodami <<<voice_1>>> ir <<<voice_2>>>.

Išplėstiniai negative_prompt · end_image · enable_safety_checker
0 / 2500
end_image_url
Įmeskite failą arba

URL, nurodantis vaizdą, naudojamą vaizdo įrašo pabaigoje. Failo dydis negali viršyti 50 MB; plotis ir aukštis turi būti bent 300px, o formato santykis – nuo 0.40 iki 2.50.

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

Vykdyti šią užklausą

Jūsų raktas lieka šioje naršyklėje: jis siunčiamas tik į Doitong API ir išsaugomas (localStorage) tik pažymėjus Prisiminti. Gauti API raktą

Apie Kling Video v2.6 Image to Video

Animuoja pradžios vaizdą (`start_image_url`) pagal iki 2500 simbolių raginį ir gali baigti ties `end_image_url`. `duration` yra 5 arba 10 sekundžių. `generate_audio` sukuria vietinį garsą su kinų ir anglų kalbų kalba, o `voice_ids` leidžia raginio tekste nurodyti iki 2 balsų. Taip pat priimamas `negative_prompt`.

Parametrai

Siųskite arba kanoninį, arba savąjį pavadinimą, bet ne abu. Kanoniniai pavadinimai

PavadinimasTipas Numatytoji reikšmėLeidžiama Aprašas
enable_safety_checkerneprivalomas
Tipasboolean
Numatytoji reikšmėtrue
Saugos patikras galima išjungti tik autorizavus paskyrą; neužautorizuotos užklausos visada tikrinamos.
promptprivaloma
Tipasstring
≤ 2 500 simbolių
start_image_urlprivaloma image
Tipasurl · image
URL, nurodantis vaizdą, naudojamą vaizdo įrašui generuoti. Failo dydis negali viršyti 50 MB; plotis ir aukštis turi būti bent 300px, o formato santykis – nuo 0.40 iki 2.50.
durationneprivalomas
Tipasenum
Numatytoji reikšmė5
510
Išvesties vaizdo įrašo trukmė sekundėmis.
negative_promptneprivalomas
Tipasstring
Numatytoji reikšmėblur, distort, and low quality
≤ 2 500 simbolių
generate_audioneprivalomas
Tipasboolean
Numatytoji reikšmėtrue
Natūralaus vaizdo įrašo garso generavimo jungiklis, palaikantis kinų arba anglų kalbų balsus ir automatiškai verčiantis bet kurią kitą kalbą į anglų. Angliškai kalbai akronimus ir tikrinius daiktavardžius rašykite didžiosiomis raidėmis, o visa kita – mažosiomis.
voice_idsneprivalomas
Tipasstring[]
Pasirinktiniai Voice ID, naudojami vaizdo įrašui generuoti; vienai užduočiai galima naudoti ne daugiau kaip 2 balsus. Raginyje į juos kreipkitės naudodami <<<voice_1>>> ir <<<voice_2>>>.
end_image_urlneprivalomas end_image
Tipasurl · image
URL, nurodantis vaizdą, naudojamą vaizdo įrašo pabaigoje. Failo dydis negali viršyti 50 MB; plotis ir aukštis turi būti bent 300px, o formato santykis – nuo 0.40 iki 2.50.
privaloma Kanoninis pavadinimas, taip pat priimamas

Failų parametrams reikia viešo https:// URL, ne didesnio nei 10 MB data: URI arba įkelto failo file_url. Failai

Išvestis

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"
  }
}
Jūsų failai — jūsų pasirinkimasKiekvienas outputs[].url yra kopija mūsų saugykloje: saugoma neribotą laiką (mokama už GB per mėnesį) arba 7 dienos nemokamai, pagal paskyros nustatymą arba ?storage=.
Ta pati struktūra kiekviename modelyjetype, url, content_type, width, height ir duration taikomi vaizdams, vaizdo įrašams ir garsui. output yra paties modelio rezultatų objektas.
Išvesties laukai
video
object {url, content_type, file_name, file_size}Modelio sukurtas vaizdo įrašas.

Daugiau modelių: Vaizdas į vaizdo įrašą

AI agentams: šis puslapis Markdown formatu pateikiamas adresu https://doitong.com/lt/developers/models/kling-video/v2.6/pro/image-to-video.md. Visi modeliai ir vadovai: https://doitong.com/developers/llms.txt