Ruka hadi kwenye maudhui

Kling 3.0 Pro Text to Video

Unganisha

Kitambulisho cha modeli 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"

Ombi hili: $ 0.56 salio za API 560 Iendeshe kwenye ukurasa huu

Pata ufunguo wa API
Kling Maandishi hadi Video Sauti asili3–15 s #audio#cinematic#multi-shot

Klipu za sinema za sekunde 3 hadi 15 kutoka kwa kidokezo, zikiwa na sauti asilia na usimulizi wa picha nyingi.

Mifano

Tokeo · ~141 s

MaelekezoA 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 · salio za API 560

Unda ombi

Vidhibiti vinazalishwa kutoka kwenye schema ya modeli. Msimbo na bei husasishwa unapovibadilisha.

289 / 2500

Maelekezo ya maandishi yanayotumiwa kutengeneza video. Wasilisha kidokezo au multi_prompt moja pekee.

duration 5 s

Urefu wa video ya tokeo, unaopimwa kwa sekunde.

aspect_ratio

Uwiano wa upana kwa urefu wa fremu katika video ya tokeo.

Ya kina negative_prompt · shot_type · cfg_scale · multi_prompt
0 / 2500
shot_type chaguomsingi customize

Chagua jinsi uzalishaji wa picha nyingi unavyopanga picha zake; kuchagua 'intelligent' hukabidhi muundo wa picha kwa modeli.

chaguomsingi 0.5

Weka kiwango ambacho uzalishaji unafuata kidokezo chako kwa kutumia CFG, kifupi cha Classifier Free Guidance.

Vidokezo na muda wa kila picha ambavyo, vinapotolewa, hubadilisha kidokezo kimoja ili kuunda video iliyogawanywa katika picha nyingi.

POST /run/kling-video/v3/pro/text-to-video?wait=20 makadirio → $ 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"

Endesha ombi hili

Key yako inabaki kwenye kivinjari hiki: inatumwa kwa Doitong API pekee na kuhifadhiwa (localStorage) tu ukiweka tiki kwenye Kumbuka. Pata ufunguo wa API

Imetengenezwa kwenye Doitong

Kazi za umma zilizotengenezwa kwa Kling v3 na jumuiya ya Doitong. Tumia tena kidokezo kwa kubofya mara moja.

Kazi za umma zilizoonyeshwa: 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...

Kuhusu Kling 3.0 Pro Text to Video

Modeli kuu ya Kling ya uzalishaji wa video kutoka maandishi huonyesha mwendo laini unaoaminika kifizikia na mwangaza wa mtindo wa filamu, na kwa chaguomsingi huzalisha sauti na usemi unaolingana. Gawanya klipu moja kuwa picha kadhaa kwa vidokezo vya kila picha, au iacheni modeli ipange yenyewe mipasuko. 16:9, 9:16 au 1:1, urefu wowote kutoka sekunde 3 hadi 15, ikiwa na kidokezo hasi na kiwango cha mwongozo.

Vigezo

JinaAina ChaguomsingiInaruhusiwa Maelezo
promptsi lazima
Ainastring | null
≤ herufi 2,500
Maelekezo ya maandishi yanayotumiwa kutengeneza video. Wasilisha kidokezo au multi_prompt moja pekee.
durationsi lazima
Ainaenum
Chaguomsingi5
3456789101112131415
Urefu wa video ya tokeo, unaopimwa kwa sekunde.
multi_promptsi lazima
Ainaobject[]
Vidokezo na muda wa kila picha ambavyo, vinapotolewa, hubadilisha kidokezo kimoja ili kuunda video iliyogawanywa katika picha nyingi.
multi_prompt[].promptinahitajika
Ainastring
Maagizo ya maandishi ya picha ya sasa.
multi_prompt[].durationsi lazima
Ainaenum
Chaguomsingi5
123456789101112131415
Urefu wa picha ya sasa, unaopimwa kwa sekunde.
generate_audiosi lazima
Ainaboolean
Chaguomsingitrue
Kigeuzi cha uzalishaji wa sauti asilia ya video, kinachoauni sauti za Kichina au Kiingereza na kutafsiri kiotomatiki lugha nyingine yoyote kwenda Kiingereza. Kwa usemi wa Kiingereza, andika vifupisho na majina maalumu kwa herufi kubwa, na kila kitu kingine kwa herufi ndogo.
shot_typesi lazima
Ainaenum
Chaguomsingicustomize
customizeintelligent
Chagua jinsi uzalishaji wa picha nyingi unavyopanga picha zake; kuchagua 'intelligent' hukabidhi muundo wa picha kwa modeli.
aspect_ratiosi lazima
Ainaenum
Chaguomsingi16:9
16:99:161:1
Uwiano wa upana kwa urefu wa fremu katika video ya tokeo.
negative_promptsi lazima
Ainastring
Chaguomsingiblur, distort, and low quality
≤ herufi 2,500
cfg_scalesi lazima
Ainanumber
Chaguomsingi0.5
0 – 1
Weka kiwango ambacho uzalishaji unafuata kidokezo chako kwa kutumia CFG, kifupi cha Classifier Free Guidance.
inahitajika

Tokeo

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"
  }
}
Faili zako, chaguo lakoKila outputs[].url ni nakala kwenye hifadhi yetu: huhifadhiwa milele (hutozwa kwa GB kwa mwezi) au 7 siku bila malipo, kulingana na mpangilio wa akaunti yako au ?storage=.
Muundo uleule kwenye kila modelitype, url, content_type, width, height na duration, kwa picha, video na sauti. output ni kitu cha matokeo cha modeli yenyewe.
Sehemu za tokeo
video
object {url, content_type, file_name, file_size}Video iliyotolewa na modeli.

Miundo zaidi: Maandishi hadi Video

Kwa mawakala wa AI: ukurasa huu katika Markdown unapatikana kwenye https://doitong.com/sw/developers/models/kling-video/v3/pro/text-to-video.md. Modeli na miongozo yote: https://doitong.com/developers/llms.txt