Ruka hadi kwenye maudhui

Kling Video V3 Text to Video 4K

Unganisha

Kitambulisho cha modeli kling-video/v3/4k/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/4k/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"

Ombi hili: $ 2.10 salio za API 2,100 Iendeshe kwenye ukurasa huu

Pata ufunguo wa API
Kling Maandishi hadi Video Sauti asiliUsawazishaji wa midomo3–15 s #stylized#transform#lipsync

Uzalishaji wa video kutoka maandishi wa v3 unaotoa 4K asilia, ukiwa na vidokezo vya picha nyingi, kidokezo hasi na udhibiti wa CFG

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

Unda ombi

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

88 / 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 chaguomsingi 16:9

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

Ya kina negative_prompt · shot_type · cfg_scale · enable_safety_checker · 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/4k/text-to-video?wait=20 makadirio → $ 2.10
# 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/4k/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"

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

Kuhusu Kling Video V3 Text to Video 4K

Hutengeneza video ya 4K moja kwa moja kutoka kwa maandishi, kwa kutumia `prompt` au orodha ya picha ya `multi_prompt`. Muda ni 3 hadi sekunde 15, na uwiano wa picha ni 16:9, 9:16 au 1:1. Uzalishaji wa sauti umewashwa kwa chaguo-msingi, na `cfg_scale` huwa kati ya 0 na 1. `negative_prompt` yenye hadi herufi 2500 inakubaliwa.

Vigezo

JinaAina ChaguomsingiInaruhusiwa Maelezo
enable_safety_checkersi lazima
Ainaboolean
Chaguomsingitrue
Ukaguzi wa usalama unaweza kuzimwa tu kwa idhini ya akaunti; maombi yasiyo na idhini hukaguliwa kila wakati.
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/4k/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": 2100,
    "usd": "2.10",
    "charged": 2100,
    "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"
  }
}
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/4k/text-to-video.md. Modeli na miongozo yote: https://doitong.com/developers/llms.txt