Dža ko lil

Kling 4.0 Text to Video

Integriruj

Modelosko 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://api.doitong.com/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://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Fajlo sar o misalo: $1.175 1,175 API krediti tire fajlo si merime angl-o phiripen Phir les kate

Lel API klidin
Kling Teksto ko Video 3–30 sdži 1080p #text-to-video#multi-shot#cinematic#kling

Video-generacija numa andar tekst, opcionalne promptura perdal-o-shot, klipura 3 dži 30 sekundendar ando 720p vaj 1080p

Kerdo pe Doitong

Publikane khera kerde Kling 4.0-sa e Doitong komunitetostar. Pheripen jekh prompto ande jekh klik.

Sikade publikane kerimata: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... Video

Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while speaking, with realistic facial expressions and synchronized lip movements, as if she is promoting something to the viewer. She maintains eye contact with the camera, smiles slightly, and uses subtle...

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her ey... Video

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her eyes and cheeks, as if the blurry image on the screen is changing. Her eyes move slightly as she studies the screen, and she takes one slow, tense breath. Behind her, shadows of the snowstorm move...

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. I... Video

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. Its huge dark leathery wings beat twice with slow, heavy strokes, sending snow swirling off the cliff in big clouds. Then it folds its wings and settles on the rock, the giant elk still held in its...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jeng... Video

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jenga tower. As the block comes out, the tower naturally loses balance and realistically collapses onto the table. Frustrated, he angrily sweeps all the fallen wooden blocks off the table with both hands....

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold ... Video

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold rock, a huge orange-white heat shape hidden inside a rock crevice, two small bright amber spots glowing like eyes, faint noise grain. Cinematic videorealistic, ultra detailed, 16:9, volumetric light,...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

88 / 2500

Tekstoske instrukcie e keripaski; de vaj `prompt`, vaj `multi_prompt`.

resolution standardno 1080p

Rezolucija e rezultatosko.

aspect_ratio standardno 16:9

Aspect ratio e rezultato videoqo.

standardno 5

Videosko lungipe sekundenca, 3 tar 30.

Lučhe multi_prompt

Instrukcije vaś o keripe kadar palal kadar, kaj sako prompto definisarel jekh kadar, savesko vaxt del kontribucija ko sasto vaxt le videosko.

POST /run/kling/v4/text-to-video?wait=20 hesab → $1.175
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/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://api.doitong.com/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 4.0 Text to Video

Kerel video katar o tekstualno prompto dži ko 2500 karakterija, bi kipo vaj video inputo. Alternativno, `multi_prompt` del jekh prompto po šoto vaš o multi-shot klipura, thaj i celokupno lungime si i suma katar o šoto `duration`. `duration` džal katar 3 dži ko 30 sekunde, standardno 5. I rezolucija šaj te ovel 720p vaj 1080p, thaj o `aspect_ratio` šaj te ovel 16:9, 9:16, 1:1 vaj 21:9.

Parametra

NavTip standardnoMuklo Vakeripe
promptopcionalno
Tipstring | null
≤ 2,500 simbolura
Tekstoske instrukcie e keripaski; de vaj `prompt`, vaj `multi_prompt`.
multi_promptopcionalno
Tipobject[]
Instrukcije vaś o keripe kadar palal kadar, kaj sako prompto definisarel jekh kadar, savesko vaxt del kontribucija ko sasto vaxt le videosko.
multi_prompt[].prompttrubul
Tipstring
1 – 512 characters
Tekstoske instrukcie e akale shotoske.
multi_prompt[].durationopcionalno
Tipinteger
standardno5
1 – 30
Jekhe shotosko lungipe, sikavdo sekundenca.
durationopcionalno
Tipinteger
standardno5
3 – 30
Videosko lungipe sekundenca, 3 tar 30.
resolutionopcionalno
Tipenum
standardno1080p
720p1080p
Rezolucija e rezultatosko.
aspect_ratioopcionalno
Tipenum
standardno16:9
16:99:161:121:9
Aspect ratio e rezultato videoqo.
trubul

Rezultato

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://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/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 le modelostar.

Bute modeli: Teksto ko Video

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