Saltar al cuntegna

Kling Video V3 Turbo Pro Text to Video

Integrar

ID dal model kling-video/v3/turbo/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/v3/turbo/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"

Questa dumonda: $0,70 700 credits API Lantschar sin questa pagina

Obtegna ina clav API
Kling Text a video Svelt3–15 s #kling#v3#1080p#turbo

Text-to-video Turbo Pro v3 a 1080p cun storyboards d'1-6 shots e durada da 3-15 s

Kling · Video

Tes emprim resultat vegn qua

Construis ina dumonda sutvart e l'exequescha cun tia clav API. Outputs vegnan copiads en nossa memorisaziun, conservads per adina u 7 dis gratuitamain.

Construir ina dumonda

Ils controls vegnan generads dal schema dal model. Il code e ​​il pretsch s'actualiseschan durant che ti als midas.

88 / 3072

Instrucziuns per la generaziun dal video furnidas empè da `multi_prompt`; las duas na pon betg vegnir cumbinadas. Per ils megliers resultats, utilisescha main che 2500 caracters.

duration 5 s

Durada dal video, mesirada en secundas.

aspect_ratio standard 16:9

Proporziun da la ladezza envers l’autezza (width:height) per il video d’output.

Avanzà enable_safety_checker · multi_prompt

Storyboard da plirs plans utilisà empè da `prompt`, cun ina durada cumplessiva da maximalmain 15 secundas. Includa 1–6 plans e specifitgescha in prompt e ina durada per mintgin.

POST /run/kling-video/v3/turbo/pro/text-to-video?wait=20 calculaziun → $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/v3/turbo/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"

Executar questa dumonda

Tia clav resta en quest browser: ella vegn tramessa mo al Doitong API e memorisada (localStorage) mo sch'ella scheccas Tiar a memoria. Obtegnair ina clav API

Davart Kling Video V3 Turbo Pro Text to Video

Crea video d'in `prompt` da text (fin a 3072 caracters, sut 2500 recumandà) u d'in storyboard `multi_prompt` d'1-6 shots cun maximal 15 secundas en total. La relaziun d'aspect è 16:9, 9:16 u 1:1, e `duration` è da 3 fin a 15 secundas. Prompt e multi_prompt na pon betg vegnir cumbinads.

Parameters

NumTip StandardPermess Descripziun
enable_safety_checkeropziunal
Tipboolean
Standardtrue
Ils controlls da segirezza pon vegnir deactivads mo cun l’autorisaziun dal conto; dumondas senza autorisaziun vegnan adina controlladas.
promptopziunal
Tipstring | null
≤ 3 072 caracters
Instrucziuns per la generaziun dal video furnidas empè da `multi_prompt`; las duas na pon betg vegnir cumbinadas. Per ils megliers resultats, utilisescha main che 2500 caracters.
multi_promptopziunal
Tipobject[]
Storyboard da plirs plans utilisà empè da `prompt`, cun ina durada cumplessiva da maximalmain 15 secundas. Includa 1–6 plans e specifitgescha in prompt e ina durada per mintgin.
multi_prompt[].promptobligatori
Tipstring
Instrucziuns da text per il plan actual.
multi_prompt[].durationopziunal
Tipenum
Standard5
123456789101112131415
Durada dal plan actual, mesirada en secundas.
aspect_ratioopziunal
Tipenum
Standard16:9
16:99:161:1
Proporziun da la ladezza envers l’autezza (width:height) per il video d’output.
durationopziunal
Tipenum
Standard5
3456789101112131415
Durada dal video, mesirada en secundas.
obligatori

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/v3/turbo/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"
  }
}
Tias datotecas, tia decisiunMintga outputs[].url è ina copia en nossa memorisaziun: conservada per adina (pajà per GB-mes) u 7 dis gratuitamain, tenor la configuraziun dal conto u ?storage=.
La medema structura per mintga modeltype, url, content_type, width, height e duration, tant per maletgs sco per video e audio. output è l'object da resultat dal model sez.
Champs da l'output
video
object {url, content_type, file_name, file_size}Video producì dal model.

Dapli models: Text a video

Per agents AI: questa pagina sco Markdown è disponibla sut https://doitong.com/rm/developers/models/kling-video/v3/turbo/pro/text-to-video.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt