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
**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...

**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...

**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...

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе... Video

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе с панорамными окнами. Внутри деревянный интерьер, мягкие диваны и живые цветы. Они садятся за столик, перед ними стоят дымящиеся чашки чая. Мягкий свет ламп создает уют. Средний план, уровень глаз. (...

**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...

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты вн... Video

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты внешности, возраст, причёски и одежду. Мужчины слегка поворачивают головы, естественно моргают и едва заметно улыбаются. Женщина слева спокойно смотрит в камеру и мягко моргает. Маленький ребёнок слегка...

A five-second orbital camera move circling completely around a red-haired woman in a yellow rainc... Video

A five-second orbital camera move circling completely around a red-haired woman in a yellow raincoat standing in an autumn forest holding a vintage lantern, she remains stationary facing forward while the camera circles 180 degrees from her left side to her right side at eye level, golden fallen...

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a w... Video

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a wooden cutting board in a bright kitchen, camera suddenly swings in a rapid blur motion panning right at high speed creating motion blur, ending sharply focused on a barista pouring latte art in a...

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