Leum chun t-susbaint

Kling Video V3 Text to Video 4K

Amalaich

ID a’ mhodail kling-video/v3/4k/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/v3/4k/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"

An t-iarrtas seo: $2.10 2,100 creideasan API Ruith e air an duilleig seo

Faigh iuchair API
Kling Teacsa gu Bhidio Fuaim dùthchasachSioncronadh bilean3–15 s #stylized#transform#lipsync

v3 teacsa-gu-bhidio a chuireas a-mach 4K dùthchasach, le prompts ioma-dhealbhan, prompt àicheil agus smachd CFG

Kling · Bhidio

Thèid a’ chiad toradh agad an-seo

Tog iarrtas gu h-ìosal agus ruith e leis an iuchair API agad. Tha na h-às-churan air an lethbhreacadh dhan stòradh againn, air an cumail gu bràth no 7 latha an-asgaidh.

Tog iarrtas

Tha na smachdan air an cruthachadh bho sgeama a’ mhodail. Bidh an còd agus a’ phrìs ag ùrachadh fhad ’s a dh’atharraicheas tu iad.

88 / 2500

Stiùiridhean teacsa airson gineadh a’ bhidio. Solar dìreach aon de prompt no multi_prompt.

duration 5 s

Faid a’ bhidio às-chuir, air a tomhas ann an diogan.

aspect_ratio bun-roghainn 16:9

Co-mheas leud gu àirde nam frèamaichean sa bhidio às-chuir.

Adhartach negative_prompt · shot_type · cfg_scale · enable_safety_checker · multi_prompt
0 / 2500
shot_type bun-roghainn customize

Tagh mar a phlanaicheas gineadh ioma-seallaidh na seallaidhean; le bhith a’ taghadh 'intelligent' thèid structar nan seallaidhean a thiomnadh don mhodail.

bun-roghainn 0.5

Suidhich dè cho dlùth ’s a leanas gineadh am prompt agad a’ cleachdadh CFG, giorrachadh airson Classifier Free Guidance.

Promptan agus faidean gach seallaidh a thèid, nuair a thèid an solarachadh, an àite a’ phrompt shingilte gus bhidio le iomadh sealladh a chruthachadh.

POST /run/kling-video/v3/4k/text-to-video?wait=20 tuairmse → $2.10
# 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/v3/4k/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"

Ruith an t-iarrtas seo

Fuirichidh an iuchair agad sa bhrobhsair seo: thèid a cur chun Doitong API a-mhàin agus a sàbhaladh (localStorage) a-mhàin ma chuireas tu comharra ri Cuimhnich. Faigh iuchair API

Mu Kling Video V3 Text to Video 4K

Cruthaich bhidio 4K dìreach à teacsa, a’ cleachdadh `prompt` no liosta dhealbhan `multi_prompt`. ’S e 3 gu 15 diogan an ùine, agus ’s e 16:9, 9:16 no 1:1 an co-mheas taobh. Tha cruthachadh fuaim air gu bunaiteach, agus tha `cfg_scale` eadar 0 agus 1. Gabhar ri `negative_prompt` suas ri 2500 caractaran.

Paramadairean

AinmSeòrsa Bun-roghainnCeadaichte Tuairisgeul
enable_safety_checkerroghainneil
Seòrsaboolean
Bun-roghainntrue
Chan urrainnear sgrùdaidhean sàbhailteachd a chur à comas ach le ùghdarras cunntais; thèid iarrtasan gun ùghdarras a sgrùdadh an-còmhnaidh.
promptroghainneil
Seòrsastring | null
≤ 2,500 caractar
Stiùiridhean teacsa airson gineadh a’ bhidio. Solar dìreach aon de prompt no multi_prompt.
durationroghainneil
Seòrsaenum
Bun-roghainn5
3456789101112131415
Faid a’ bhidio às-chuir, air a tomhas ann an diogan.
multi_promptroghainneil
Seòrsaobject[]
Promptan agus faidean gach seallaidh a thèid, nuair a thèid an solarachadh, an àite a’ phrompt shingilte gus bhidio le iomadh sealladh a chruthachadh.
multi_prompt[].promptriatanach
Seòrsastring
Stiùiridhean teacsa airson an t-seallaidh làithrich.
multi_prompt[].durationroghainneil
Seòrsaenum
Bun-roghainn5
123456789101112131415
Faid an t-seallaidh làithrich, air a tomhas ann an diogan.
generate_audioroghainneil
Seòrsaboolean
Bun-roghainntrue
Toglaich gineadh claisneachd bhidio dhùthchasach, a’ cur taic ri guthan ann an Sìonais no Beurla agus ag eadar-theangachadh cànan sam bith eile gu Beurla gu fèin-obrachail. Airson cainnt Bheurla, sgrìobh acronaim agus ainmean sònraichte ann an litrichean mòra agus a h-uile càil eile ann an litrichean beaga.
shot_typeroghainneil
Seòrsaenum
Bun-roghainncustomize
customizeintelligent
Tagh mar a phlanaicheas gineadh ioma-seallaidh na seallaidhean; le bhith a’ taghadh 'intelligent' thèid structar nan seallaidhean a thiomnadh don mhodail.
aspect_ratioroghainneil
Seòrsaenum
Bun-roghainn16:9
16:99:161:1
Co-mheas leud gu àirde nam frèamaichean sa bhidio às-chuir.
negative_promptroghainneil
Seòrsastring
Bun-roghainnblur, distort, and low quality
≤ 2,500 caractar
cfg_scaleroghainneil
Seòrsanumber
Bun-roghainn0.5
0 – 1
Suidhich dè cho dlùth ’s a leanas gineadh am prompt agad a’ cleachdadh CFG, giorrachadh airson Classifier Free Guidance.
riatanach

Toradh

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/v3/4k/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": 2100,
    "usd": "2.10",
    "charged": 2100,
    "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"
  }
}
Na faidhlichean agad, do roghainnTha gach outputs[].url na lethbhreac air an stòradh againn: air a chumail gu bràth (air a phàigheadh gach GB-mìos) no 7 latha an-asgaidh, a rèir suidheachadh a’ chunntais agad no ?storage=.
An aon chruth air gach modailtype, url, content_type, width, height agus duration, airson dealbhan, bhidio agus fuaim le chèile. ’S e output nì toraidh a’ mhodail fhèin.
Raointean toraidh
video
object {url, content_type, file_name, file_size}Bhidio a chaidh a chruthachadh leis a’ mhodail.

Barrachd mhodalan: Teacsa gu Bhidio

Do riochdairean AI: tha an duilleag seo mar Markdown aig https://doitong.com/gd/developers/models/kling-video/v3/4k/text-to-video.md. Na modailean agus na treòraichean uile: https://doitong.com/developers/llms.txt