ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

Kling 4.0 Text to Video

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id kling/v4/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/v4/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"

ᠵᠠᠨᡳ ᡥᠠᠯᠠᠮᠠ ᡥᡡᠯᠠᠨᡳ ᡶᡳᠯᡝ: $1.175 1,175 API ᠺᠷᡝᡩᡳᠲ ᠰᡳᠨᡳ ᡶᡳᠯᡝ ᠵᠠᠯᡤᠠᠨ ᠠᠰᡠᠮᠪᡳᠨᡳ ᠠᠯᡳᠮᠪᡳ ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
Kling ᡥᡡᠯᠠᠨ ᡩᡝ ᠰᡠᠨᡤᠠ 3–30 ᠰ1080p ᡩᡝ ᡳᠨᡝ #text-to-video#multi-shot#cinematic#kling

ᠵᠠᠯᡠ ᡤᡳᠰᡠᠨᡳ ᠠᠯᡳᠨ ᠸᡳᡩᡳᠣ ᠪᠣᠯᡤᠣᠮᡝ᠂ ᠵᠠᠯᡠ ᠵᠠᡴᡠ ᡤᡳᠰᡠᠨ ᠵᠠᠪᡠᠮᡝ ᠠᠮᠪᠠᠰᡠᠨ᠂ 3 ᡩᡝ 30 ᠰᡝᡴᡠᠨᡩᡝ 720p ᡠᠮᡝ 1080p

Kling · ᠰᡠᠨᡤᠠ

ᡳᠨᡝ ᡝᠮᡠᠨᡳᠩᡤᡝ ᡝᡵᡝᠮᡝ ᡩᡝ

ᡝᡵᡝ ᠵᡠᠯᡝᠨ ᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠪᠠᠶᠠᠨᠠᠮᡝ ᠠᠮᡪᠠᠯᠠ ᡶᡳᠯᡝᠮᡝ ᠪᡝᠶᡝᠮᡝ᠃ API ᠵᡳᡵᡤᠠᡳ ᡤᠠᡳᡥᠠᡩᡝ ᡤᡝᡪᡳᠯᡝᠨ ᠵᠠᠯᠠᠨᠠᠮᡝ ᠪᡠᠶᡝᠮᡝ ᠮᡠᠰᡝᡳ ᠰᡠᠯᡠᠨᡩᡝ ᠪᠠᠶᠠᠨᠠᠮᡝ᠂ ᠝ᠮᡤᡳ ᠮᡠᠰᡝ ᠠᠶᠠᠨ 7 ᡥᠠᠨ ᠰᠠᡳᠨᠠᠮᡝ᠃

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

ᠵᠠᡴᡠᠨᡳ ᠵᡠᠯᡝ ᡩᡝᡵᡤᡳ ᡩᡝᠪᡝᠰᡠᠮᡝ ᠵᡠᠯᡤᡝ ᠪᡠᠶᡝᠮᡝ᠈ ᡳᠨᡳ ᡤᡳᠰᡠᠨ ᠪᠠᡳ ᡝᠨᡝᠩᡤᡳ ᠠᠮᠪᡳ

88 / 2500

ᠪᡠᠶᡝᠮᡝᠨᡳ ᡥᡡᠯᠠᠨ; `prompt` ᠠᡳ `multi_prompt` ᡳ ᡝᠮᡠᠨᡝ ᠠᠴᠠᠨᠠᠮᡪᡳ.

resolution ᠵᡠᠯᡝ 1080p

ᠪᡠᠶᡝᠮᡝᠨᡳ ᠵᠠᠯᠠᠨ.

aspect_ratio ᠵᡠᠯᡝ 16:9

ᠪᡠᠶᡝᠮᡝ ᠰᡠᠨᡤᠠ ᡳ ᠵᠠᠯᠠᠨ ᡳ ᠵᡠᠰᡝ᠉

ᠵᡠᠯᡝ 5

ᠰᡠᠨᡤᠠᡳ ᠵᠠᡳᠯᠠᠨ ᠰᡝᡴᡠᠨᡩ ᡩᡝ, 3 ᡩᡝ 30.

ᠵᡠᠯᡤᡝ ᠵᡝᡵᡤᡳ multi_prompt

ᠵᠠᠯᠠᠨ ᠵᠠᠯᠠᠨ ᡳ ᠪᡠᠶᡝᠮᡝᠨᡳ ᡥᡡᠯᠠᠨ; ᠵᠠᠯᠠᠨ ᡳ ᡥᡡᠯᠠᠨ ᠵᠠᡳᠯᠠᠨ ᡳ ᠪᡳᠮᡝ, ᠰᡠᠨᡤᠠᡳ ᠵᠠᡳᠯᠠᠨ ᡩᡝ ᠨᠠᠮᡠ ᠠᠯᡳᠨ ᠪᡳᠮᡝ.

POST /run/kling/v4/text-to-video?wait=20 ᠵᠠᠯᡳᠨ → $1.175
# 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/v4/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"

ᡝᠨᡳ ᠵᠠᠯᡳᠨ ᠪᡝ ᠵᠠᠯᠠᠨᠠᠮᡝ

ᡳᠨᡝ ᠵᠠᠯᠠᠨ ᡝᡵᡝ ᠪᡠᡵᡝᠪᡝᡵᡳ ᡩᡝ ᠪᡳᠮᡝ᠈ Doitong API ᡩᡝ ᠵᡝᠯᡤᡳ ᡩᠠᡵᠠᠮᡝ᠈ Remember ᠵᡠᠯᡝᠮᡝ ᡤᡳᠯᠠᠮᡝ localStorage ᡩᡝ ᠰᡠᠯᡝᠮᡝ ᠪᡳᠮᡝ API ᠵᠠᠯᠠᠨ ᠠᠪᠠᠮᡝ

Kling 4.0 Text to Video ᡠᡵᡝᠮᡝ

2500 ᡤᡳᠰᡠᠨᡳ ᠣᠨᠴᡳᡥᠠ ᠵᠠᠯᡠ ᠤᠯᡥᠠᠨᡳ ᡤᡳᠰᡠᠨ ᠪᡝ ᠠᠮᠪᠠᠰᡠᠨ ᠸᡳᡩᡳᠣ ᠪᡝ ᠪᠣᠯᡤᠣᠮᡝ᠂ ᠵᡳᡵᡤᠠᠨ ᠸᡳᡩᡳᠣ ᠣᠨᠴᡳᡥᠠ ᠣᠮᠪᡳ. ᡝᡵᡝᠴᡳ `multi_prompt` ᠪᡝ ᠵᠠᠯᡠ ᠵᠠᡴᡠ ᠸᡳᡩᡳᠣᠣᠨᡳ ᠵᠠᡴᡠ ᠵᠠᠯᡠ ᡤᡳᠰᡠᠨ ᠵᠠᠪᡠᠮᡝ ᠠᠮᠪᠠᠰᡠᠨ᠂ ᠠᠮᠪᠠᠰᡠᠨᡳ ᡠᠯᡥᠠᠨ ᠵᠠᠯᡠ ᠰᡝᡴᡠᠨᡳ ᡤᡝᠮᡠ ᠪᡳ. `duration` 3 ᡩᡝ 30 ᠰᡝᡴᡠᠨ ᠪᡳ᠂ ᡤᡳᠰᡠᠨ 5. ᠵᡠᠯᡤᠠᠨ 720p ᡠᠮᡝ 1080p ᠪᡳ᠂ `aspect_ratio` 16:9, 9:16, 1:1 ᡠᠮᡝ 21:9 ᠪᡳ.

ᠵᠠᡴᡠᠨ

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
promptᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝstring | null
≤ 2,500 ᠵᡳᠪᡝᠨ
ᠪᡠᠶᡝᠮᡝᠨᡳ ᡥᡡᠯᠠᠨ; `prompt` ᠠᡳ `multi_prompt` ᡳ ᡝᠮᡠᠨᡝ ᠠᠴᠠᠨᠠᠮᡪᡳ.
multi_promptᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝobject[]
ᠵᠠᠯᠠᠨ ᠵᠠᠯᠠᠨ ᡳ ᠪᡠᠶᡝᠮᡝᠨᡳ ᡥᡡᠯᠠᠨ; ᠵᠠᠯᠠᠨ ᡳ ᡥᡡᠯᠠᠨ ᠵᠠᡳᠯᠠᠨ ᡳ ᠪᡳᠮᡝ, ᠰᡠᠨᡤᠠᡳ ᠵᠠᡳᠯᠠᠨ ᡩᡝ ᠨᠠᠮᡠ ᠠᠯᡳᠨ ᠪᡳᠮᡝ.
multi_prompt[].promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
1 – 512 characters
ᠣᠳᠣᠣ ᡳ ᡠᠰᡠᠯᠠᡵᡝ ᡥᡡᠯᠠᠨ᠃
multi_prompt[].durationᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ5
1 – 30
ᠵᠠᠯᠠᠨ ᡳ ᠵᠠᡳᠯᠠᠨ, ᠰᡝᡴᡠᠨᡩ ᡩᡝ ᠪᡳᠮᡝ.
durationᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ5
3 – 30
ᠰᡠᠨᡤᠠᡳ ᠵᠠᡳᠯᠠᠨ ᠰᡝᡴᡠᠨᡩ ᡩᡝ, 3 ᡩᡝ 30.
resolutionᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ1080p
720p1080p
ᠪᡠᠶᡝᠮᡝᠨᡳ ᠵᠠᠯᠠᠨ.
aspect_ratioᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝ16:9
16:99:161:121:9
ᠪᡠᠶᡝᠮᡝ ᠰᡠᠨᡤᠠ ᡳ ᠵᠠᠯᠠᠨ ᡳ ᠵᡠᠰᡝ᠉
ᡴᠠᠷᠠᡴᡡ

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling/v4/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": 1175,
    "usd": "1.175",
    "charged": 1175,
    "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"
  }
}
ᡤᡝᠯᡝᠮᡝ ᡥᡡᠯᡤᡠᠨᡳ ᡳᠨᡠᡝᠯᡝᡥᡝ 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/mnc/developers/models/kling/v4/text-to-video.md. ᡝᡵᡝ ᠮᠣᡩᡝᠯ ᠵᠠᡴᡠᠨ ᠰᡠᠯᡠᠮᡝ https://doitong.com/developers/llms.txt