ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

Kling 3.0 Pro Text to Video

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ id kling-video/v3/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/pro/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A paper boat drifts down a rain-filled street gutter at dusk. The camera follows at water level as raindrops ripple around it and neon reflections shimmer on the wet asphalt, then the boat tips over a small cascade into a puddle. Realistic water physics, shallow depth of field, cinematic.",
    "duration": 5,
    "generate_audio": false,
    "aspect_ratio": "16:9"
  }'

# 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"

ਇਹ ਬੇਨਤੀ: $0.56 560 API ਕ੍ਰੈਡਿਟ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Kling ਟੈਕਸਟ ਤੋਂ ਵੀਡੀਓ ਨੇਟਿਵ ਆਡੀਓ3–15 s #audio#cinematic#multi-shot

ਨੇਟਿਵ ਸਾਊਂਡ ਅਤੇ ਮਲਟੀ-ਸ਼ਾਟ ਕਹਾਣੀਬੰਦੀ ਵਾਲੀਆਂ ਪ੍ਰੌਂਪਟ ਤੋਂ ਬਣੀਆਂ 3 ਤੋਂ 15 ਸਕਿੰਟ ਦੀਆਂ ਸਿਨੇਮੈਟਿਕ ਕਲਿੱਪਾਂ।

ਉਦਾਹਰਨਾਂ

ਆਉਟਪੁੱਟ · ~141 s

ਪ੍ਰੌਂਪਟA paper boat drifts down a rain-filled street gutter at dusk. The camera follows at water level as raindrops ripple around it and neon reflections shimmer on the wet asphalt, then the boat tips over a small cascade into a puddle. Realistic water physics, shallow depth of field, cinematic.

5 sgenerate_audio: false16:9$0.56 · 560 API ਕ੍ਰੈਡਿਟ

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

289 / 2500

ਵੀਡੀਓ ਬਣਾਉਣ ਲਈ ਵਰਤੀਆਂ ਜਾਣ ਵਾਲੀਆਂ ਲਿਖਤੀ ਹਦਾਇਤਾਂ। ਪ੍ਰੌਂਪਟ ਜਾਂ multi_prompt ਵਿੱਚੋਂ ਸਿਰਫ਼ ਇੱਕ ਦਿਓ।

duration 5 s

ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦੀ ਮਿਆਦ, ਸਕਿੰਟਾਂ ਵਿੱਚ ਮਾਪੀ ਜਾਂਦੀ ਹੈ।

aspect_ratio

ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦੇ ਫ੍ਰੇਮਾਂ ਲਈ ਚੌੜਾਈ-ਤੋਂ-ਉਚਾਈ ਅਨੁਪਾਤ।

ਉੱਨਤ negative_prompt · shot_type · cfg_scale · multi_prompt
0 / 2500
shot_type ਡਿਫ਼ਾਲਟ customize

ਚੁਣੋ ਕਿ ਬਹੁ-ਸ਼ਾਟ ਸਿਰਜਣਾ ਆਪਣੇ ਸ਼ਾਟਾਂ ਦੀ ਯੋਜਨਾ ਕਿਵੇਂ ਬਣਾਏ; 'intelligent' ਚੁਣਨ ਨਾਲ ਸ਼ਾਟ ਦੀ ਬਣਤਰ ਮਾਡਲ ਨੂੰ ਸੌਂਪੀ ਜਾਂਦੀ ਹੈ।

ਡਿਫ਼ਾਲਟ 0.5

CFG ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਸਿਰਜਣਾ ਤੁਹਾਡੇ ਪ੍ਰੌਂਪਟ ਦੀ ਕਿੰਨੀ ਨੇੜਤਾ ਨਾਲ ਪਾਲਣਾ ਕਰੇ, ਇਹ ਸੈੱਟ ਕਰੋ; CFG ਦਾ ਅਰਥ Classifier Free Guidance ਹੈ।

ਹਰ ਸ਼ਾਟ ਲਈ ਪ੍ਰੌਂਪਟ ਅਤੇ ਮਿਆਦਾਂ, ਜੋ ਦਿੱਤੇ ਜਾਣ 'ਤੇ ਇੱਕਲ ਪ੍ਰੌਂਪਟ ਦੀ ਥਾਂ ਲੈ ਕੇ ਕਈ ਸ਼ਾਟਾਂ ਵਿੱਚ ਵੰਡਿਆ ਵੀਡੀਓ ਬਣਾਉਂਦੀਆਂ ਹਨ।

POST /run/kling-video/v3/pro/text-to-video?wait=20 ਕੋਟ → $0.56
# 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/pro/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A paper boat drifts down a rain-filled street gutter at dusk. The camera follows at water level as raindrops ripple around it and neon reflections shimmer on the wet asphalt, then the boat tips over a small cascade into a puddle. Realistic water physics, shallow depth of field, cinematic.",
    "duration": 5,
    "generate_audio": false,
    "aspect_ratio": "16:9"
  }'

# 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"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

Kling 3.0 Pro Text to Video ਬਾਰੇ

Kling ਦਾ ਫਲੈਗਸ਼ਿਪ ਟੈਕਸਟ-ਟੂ-ਵੀਡੀਓ ਮਾਡਲ ਸੁਚਾਰੂ, ਭੌਤਿਕ ਤੌਰ ’ਤੇ ਯਥਾਰਥਯੋਗ ਗਤੀ ਅਤੇ ਫ਼ਿਲਮ-ਜਿਹੀ ਰੌਸ਼ਨੀ ਰੈਂਡਰ ਕਰਦਾ ਹੈ, ਅਤੇ ਪੂਰਵ-ਨਿਰਧਾਰਤ ਤੌਰ ’ਤੇ ਮੇਲ ਖਾਂਦੀ ਧੁਨੀ ਅਤੇ ਬੋਲੀ ਤਿਆਰ ਕਰਦਾ ਹੈ। ਇੱਕ ਕਲਿੱਪ ਨੂੰ ਹਰ ਸ਼ਾਟ ਲਈ ਵੱਖਰੇ ਪ੍ਰੌਂਪਟਾਂ ਨਾਲ ਕਈ ਸ਼ਾਟਾਂ ਵਿੱਚ ਵੰਡੋ, ਜਾਂ ਮਾਡਲ ਨੂੰ ਖੁਦ ਕਟਾਂ ਦੀ ਯੋਜਨਾ ਬਣਾਉਣ ਦਿਓ। 16:9, 9:16 ਜਾਂ 1:1, 3 ਤੋਂ 15 ਸਕਿੰਟਾਂ ਦੀ ਕੋਈ ਵੀ ਲੰਬਾਈ, ਨੈਗੇਟਿਵ ਪ੍ਰੌਂਪਟ ਅਤੇ ਗਾਈਡੈਂਸ ਸਕੇਲ ਸਮੇਤ।

ਪੈਰਾਮੀਟਰ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
≤ 2,500 ਅੱਖਰ
ਵੀਡੀਓ ਬਣਾਉਣ ਲਈ ਵਰਤੀਆਂ ਜਾਣ ਵਾਲੀਆਂ ਲਿਖਤੀ ਹਦਾਇਤਾਂ। ਪ੍ਰੌਂਪਟ ਜਾਂ multi_prompt ਵਿੱਚੋਂ ਸਿਰਫ਼ ਇੱਕ ਦਿਓ।
durationਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ5
3456789101112131415
ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦੀ ਮਿਆਦ, ਸਕਿੰਟਾਂ ਵਿੱਚ ਮਾਪੀ ਜਾਂਦੀ ਹੈ।
multi_promptਵਿਕਲਪਿਕ
ਕਿਸਮobject[]
ਹਰ ਸ਼ਾਟ ਲਈ ਪ੍ਰੌਂਪਟ ਅਤੇ ਮਿਆਦਾਂ, ਜੋ ਦਿੱਤੇ ਜਾਣ 'ਤੇ ਇੱਕਲ ਪ੍ਰੌਂਪਟ ਦੀ ਥਾਂ ਲੈ ਕੇ ਕਈ ਸ਼ਾਟਾਂ ਵਿੱਚ ਵੰਡਿਆ ਵੀਡੀਓ ਬਣਾਉਂਦੀਆਂ ਹਨ।
multi_prompt[].promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਮੌਜੂਦਾ ਸ਼ਾਟ ਲਈ ਟੈਕਸਟ ਹਦਾਇਤਾਂ।
multi_prompt[].durationਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ5
123456789101112131415
ਮੌਜੂਦਾ ਸ਼ਾਟ ਦੀ ਮਿਆਦ, ਸਕਿੰਟਾਂ ਵਿੱਚ ਮਾਪੀ ਜਾਂਦੀ ਹੈ।
generate_audioਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਮੂਲ ਵੀਡੀਓ ਆਡੀਓ ਸਿਰਜਣ ਟੌਗਲ, ਜੋ ਚੀਨੀ ਜਾਂ ਅੰਗਰੇਜ਼ੀ ਆਵਾਜ਼ਾਂ ਦਾ ਸਮਰਥਨ ਕਰਦਾ ਹੈ ਅਤੇ ਕਿਸੇ ਵੀ ਹੋਰ ਭਾਸ਼ਾ ਦਾ ਆਪਣੇ ਆਪ ਅੰਗਰੇਜ਼ੀ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰਦਾ ਹੈ। ਅੰਗਰੇਜ਼ੀ ਬੋਲੀ ਲਈ ਸੰਖੇਪ ਰੂਪ ਅਤੇ ਵਿਸ਼ੇਸ਼ ਨਾਂ ਵੱਡੇ ਅੱਖਰਾਂ ਵਿੱਚ, ਅਤੇ ਬਾਕੀ ਸਭ ਕੁਝ ਛੋਟੇ ਅੱਖਰਾਂ ਵਿੱਚ ਲਿਖੋ।
shot_typeਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟcustomize
customizeintelligent
ਚੁਣੋ ਕਿ ਬਹੁ-ਸ਼ਾਟ ਸਿਰਜਣਾ ਆਪਣੇ ਸ਼ਾਟਾਂ ਦੀ ਯੋਜਨਾ ਕਿਵੇਂ ਬਣਾਏ; 'intelligent' ਚੁਣਨ ਨਾਲ ਸ਼ਾਟ ਦੀ ਬਣਤਰ ਮਾਡਲ ਨੂੰ ਸੌਂਪੀ ਜਾਂਦੀ ਹੈ।
aspect_ratioਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ16:9
16:99:161:1
ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦੇ ਫ੍ਰੇਮਾਂ ਲਈ ਚੌੜਾਈ-ਤੋਂ-ਉਚਾਈ ਅਨੁਪਾਤ।
negative_promptਵਿਕਲਪਿਕ
ਕਿਸਮstring
ਡਿਫ਼ਾਲਟblur, distort, and low quality
≤ 2,500 ਅੱਖਰ
cfg_scaleਵਿਕਲਪਿਕ
ਕਿਸਮnumber
ਡਿਫ਼ਾਲਟ0.5
0 – 1
CFG ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਸਿਰਜਣਾ ਤੁਹਾਡੇ ਪ੍ਰੌਂਪਟ ਦੀ ਕਿੰਨੀ ਨੇੜਤਾ ਨਾਲ ਪਾਲਣਾ ਕਰੇ, ਇਹ ਸੈੱਟ ਕਰੋ; CFG ਦਾ ਅਰਥ Classifier Free Guidance ਹੈ।
ਲੋੜੀਂਦਾ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/v3/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": 560,
    "usd": "0.56",
    "charged": 560,
    "refunded": 0
  },
  "input": {
    "prompt": "Close-up of fireflies dancing in a dark forest at twilight, soft glowing particles, slow dolly forward",
    "duration": 5,
    "aspect_ratio": "16:9"
  },
  "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"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
video
object {url, content_type, file_name, file_size}ਮਾਡਲ ਵੱਲੋਂ ਤਿਆਰ ਕੀਤਾ ਵੀਡੀਓ।

ਹੋਰ ਮਾਡਲ: ਟੈਕਸਟ ਤੋਂ ਵੀਡੀਓ

AI ਏਜੰਟਾਂ ਲਈ: ਇਹ ਪੰਨਾ Markdown ਵਜੋਂ ਇੱਥੇ ਹੈ https://doitong.com/pa/developers/models/kling-video/v3/pro/text-to-video.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt