Preskoči na vsebino

Kling 3.0 Pro Text to Video

Integracija

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

Ta zahteva: 0,56 $ 560 API kreditov Zaženi na tej strani

Pridobi ključ API
Kling Besedilo v videoposnetek Naravni zvok3–15 s #audio#cinematic#multi-shot

Filmski posnetki dolžine od 3 do 15 sekund iz poziva, z izvornim zvokom in pripovedovanjem v več kadrih.

Primeri

Izhod · ~141 s

PozivA 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:90,56 $ · 560 API kreditov

Ustvari zahtevo

Kontrolniki se ustvarijo iz sheme modela. Koda in cena se posodobita, ko ju spreminjate.

289 / 2500

Besedilna navodila za ustvarjanje videa. Podajte natanko enega od parametrov poziv ali multi_prompt.

duration 5 s

Dolžina izhodnega videa, merjena v sekundah.

aspect_ratio

Razmerje med širino in višino sličic v izhodnem videu.

Napredno negative_prompt · shot_type · cfg_scale · multi_prompt
0 / 2500
shot_type privzeto customize

Izberite, kako generiranje z več kadri načrtuje kadre; z izbiro 'intelligent' strukturo kadrov določite modelu.

privzeto 0.5

Določite, kako tesno generiranje sledi vašemu pozivu z uporabo CFG, okrajšave za Classifier Free Guidance.

Pozivi in trajanja posameznih kadrov, ki ob posredovanju nadomestijo enotni poziv ter ustvarijo video, razdeljen na več kadrov.

POST /run/kling-video/v3/pro/text-to-video?wait=20 cena → 0,56 $
# 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-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://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Zaženi to zahtevo

Vaš ključ ostane v tem brskalniku: pošlje se samo v Doitong API in shrani v localStorage samo, če označite možnost Zapomni si. Pridobi ključ API

Ustvarjeno v Doitong

Javna dela, ki jih je skupnost Doitong ustvarila z Kling v3. Poziv znova uporabite z enim klikom.

Prikazana javna dela: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... Videoposnetek

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

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

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

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

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

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

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

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

O modelu Kling 3.0 Pro Text to Video

Klingov vodilni model za pretvarjanje besedila v video upodablja tekoče, fizikalno verjetne gibe in filmsko osvetlitev ter privzeto ustvarja ustrezen zvok in govor. En posnetek razdelite na več kadrov s pozivi za posamezne kadre ali prepustite modelu, da reze načrtuje sam. 16:9, 9:16 ali 1:1, poljubna dolžina od 3 do 15 sekund, z negativnim pozivom in lestvico vodenja.

Parametri

ImeVrsta PrivzetoDovoljeno Opis
promptneobvezno
Vrstastring | null
≤ 2500 znakov
Besedilna navodila za ustvarjanje videa. Podajte natanko enega od parametrov poziv ali multi_prompt.
durationneobvezno
Vrstaenum
Privzeto5
3456789101112131415
Dolžina izhodnega videa, merjena v sekundah.
multi_promptneobvezno
Vrstaobject[]
Pozivi in trajanja posameznih kadrov, ki ob posredovanju nadomestijo enotni poziv ter ustvarijo video, razdeljen na več kadrov.
multi_prompt[].promptobvezno
Vrstastring
Besedilna navodila za trenutni kader.
multi_prompt[].durationneobvezno
Vrstaenum
Privzeto5
123456789101112131415
Dolžina trenutnega kadra, merjena v sekundah.
generate_audioneobvezno
Vrstaboolean
Privzetotrue
Preklop generiranja izvornega zvoka videa, ki podpira glasove v kitajščini ali angleščini in vsak drug jezik samodejno prevede v angleščino. Pri angleškem govoru pišite kratice in lastna imena z velikimi črkami, vse drugo pa z malimi.
shot_typeneobvezno
Vrstaenum
Privzetocustomize
customizeintelligent
Izberite, kako generiranje z več kadri načrtuje kadre; z izbiro 'intelligent' strukturo kadrov določite modelu.
aspect_rationeobvezno
Vrstaenum
Privzeto16:9
16:99:161:1
Razmerje med širino in višino sličic v izhodnem videu.
negative_promptneobvezno
Vrstastring
Privzetoblur, distort, and low quality
≤ 2500 znakov
cfg_scaleneobvezno
Vrstanumber
Privzeto0.5
0 – 1
Določite, kako tesno generiranje sledi vašemu pozivu z uporabo CFG, okrajšave za Classifier Free Guidance.
obvezno

Izhod

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://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Vaše datoteke, vaša izbiraVsak outputs[].url je kopija v naši shrambi: hrani se za vedno (plačilo na GB-mesec) ali 7 dni brezplačno, glede na nastavitev računa ali ?storage=.
Enaka struktura pri vsakem modelutype, url, content_type, width, height in duration za slike, videoposnetke in zvok. output je lasten objekt rezultata modela.
Polja izhoda
video
object {url, content_type, file_name, file_size}Video, ki ga ustvari model.

Več modelov: Besedilo v videoposnetek

Za agente AI: ta stran je v obliki Markdown na voljo na https://doitong.com/sl/developers/models/kling-video/v3/pro/text-to-video.md. Vsi modeli in vodniki: https://doitong.com/developers/llms.txt