Dža ko lil

Kling Video v2.6 Image to Video

Integriruj

Modelosko 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://vit.doitong.com/api/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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Kava mangipen: $0.70 700 API krediti Phir les kate

Lel API klidin
Kling Kip ko Video Naturalo audio5–10 s

v2.6 fotografija-andre-video e opcionalo agorutne kadrosa, originalo audiosqi generaciǰasa thaj e glasosqe ID referencenca

Kling · Video

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul 88 / 2500
•trubul start_image_url
Čhiv jekh fajl, vaj

URL e kiposko istivarde videoske keripaski. O fajlosko baripen na šaj te avel bareder 50 MB; e largura thaj e uči najman 300px, aspektosko ratio 0.40 dži 2.50.

duration 5 s

Rezultatone videosko lungipe, sikavdo sekundenca.

Opcionalne voice ID saven istivol pes te kerel video, limitosar 2 voces pro zadacha. Vaker len andre prompto sar <<<voice_1>>> thaj <<<voice_2>>>.

Lučhe negative_prompt · end_image · enable_safety_checker
0 / 2500
end_image_url
Čhiv jekh fajl, vaj

URL e kiposko istivarde videoske agorutnes. O fajlosko baripen na šaj te avel bareder 50 MB; e largura thaj e uči najman 300px, aspektosko ratio 0.40 dži 2.50.

POST /run/kling-video/v2.6/pro/image-to-video?wait=20 hesab → $0.70
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Kling Video v2.6 Image to Video

Animirijarel jekh start kipo (`start_image_url`) e promptosa dži 2500 karaktera, thaj šaj agorisarel ande `end_image_url`. `duration` si 5 vaj 10 sekunda. `generate_audio` kerel originalno audio e čhinezicko thaj anglicko vakerimasa, thaj `voice_ids` mukel te referencirisaras dži 2 glasa ande prompto. Acceptiril pes vi `negative_prompt`.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Sigurnostake kontrole šaj te aven phandade numa kontoski autorizacijasar; mangipena bi autorizaciaja sajekhvar kontrolin pes.
prompttrubul
Tipstring
≤ 2,500 simbolura
start_image_urltrubul image
Tipurl · image
URL e kiposko istivarde videoske keripaski. O fajlosko baripen na šaj te avel bareder 50 MB; e largura thaj e uči najman 300px, aspektosko ratio 0.40 dži 2.50.
durationopcionalno
Tipenum
standardno5
510
Rezultatone videosko lungipe, sikavdo sekundenca.
negative_promptopcionalno
Tipstring
standardnoblur, distort, and low quality
≤ 2,500 simbolura
generate_audioopcionalno
Tipboolean
standardnotrue
Prirodno videosko audio keripasko prekidači, saven si voces ande čhinese vaj angluno, thaj avtomatikane čhibarol savoro aver čhib anglune čhibate. Anglune vakeripasko, le akronimura thaj vlastne navura bare lilencar, thaj savoro aver tikne lilencar.
voice_idsopcionalno
Tipstring[]
Opcionalne voice ID saven istivol pes te kerel video, limitosar 2 voces pro zadacha. Vaker len andre prompto sar <<<voice_1>>> thaj <<<voice_2>>>.
end_image_urlopcionalno end_image
Tipurl · image
URL e kiposko istivarde videoske agorutnes. O fajlosko baripen na šaj te avel bareder 50 MB; e largura thaj e uči najman 300px, aspektosko ratio 0.40 dži 2.50.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
video
object {url, content_type, file_name, file_size}Video kerdo modelostar.

Bute modeli: Kip ko Video

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/kling-video/v2.6/pro/image-to-video.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt