Dža ko lil

Kling Video v2.6 Text to Video

Integriruj

Modelosko id kling-video/v2.6/pro/text-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/text-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://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 Teksto ko Video Naturalo audio5–10 s

v2.6 tekstosar-videjake generatoro naturalno audiosa, 5 vaj 10 s klipura, thaj kontrola pe CFG thaj aspektosko ratio

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
duration 5 s

Rezultatone videosko lungipe, sikavdo sekundenca.

aspect_ratio standardno 16:9

Kadroenge širimosko thaj učipesko ratio ande rezultatone videosko.

Lučhe negative_prompt · cfg_scale · enable_safety_checker
0 / 2500
standardno 0.5

Setin sar paše o keripe ačhel ko tiro prompto, istivasa CFG, so si Classifier Free Guidance.

POST /run/kling-video/v2.6/pro/text-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/text-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://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 Text to Video

Kerel video katar tekstuno prompto dži 2500 karaktera. `duration` si 5 vaj 10 sekunda thaj `aspect_ratio` si 16:9, 9:16 vaj 1:1. `cfg_scale` džal katar 0 dži 1, `negative_prompt` si podržano, thaj `generate_audio` dodavel originalno audio e čhinezicko thaj anglicko vakerimasa.

Parametra

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
durationopcionalno
Tipenum
standardno5
510
Rezultatone videosko lungipe, sikavdo sekundenca.
aspect_ratioopcionalno
Tipenum
standardno16:9
16:99:161:1
Kadroenge širimosko thaj učipesko ratio ande rezultatone videosko.
negative_promptopcionalno
Tipstring
standardnoblur, distort, and low quality
≤ 2,500 simbolura
cfg_scaleopcionalno
Tipnumber
standardno0.5
0 – 1
Setin sar paše o keripe ačhel ko tiro prompto, istivasa CFG, so si Classifier Free Guidance.
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.
trubul

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/v2.6/pro/text-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"
  },
  "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: Teksto ko Video

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