Ruka hadi kwenye maudhui

Kling Video v2.6 Motion Control [Pro]

Unganisha

Kitambulisho cha modeli kling-video/v2.6/pro/motion-control
# 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/v2.6/pro/motion-control?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "character_orientation": "image"
  }'

# 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"

Faili kama mfano: $ 1.12 salio za API 1,120 faili zako hupimwa kabla ya kuendesha Iendeshe kwenye ukurasa huu

Pata ufunguo wa API

Imetengenezwa kwenye Doitong

Kazi za umma zilizotengenezwa kwa Kling Video v2.6 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.

0 / 2500
•inahitajika image_url
Dondosha faili, au

URL ya picha ya marejeleo kwa uzalishaji wa video, yenye kikomo cha ukubwa wa faili cha 10.0MB, upana na urefu kila kimoja kati ya 340px na 3850px, na uwiano wa pande kutoka 0.40 hadi 2.50. Picha hii huongoza wahusika, mandhari na vipengele vingine vya video. Kwa wahusika, hakikisha uwiano wa mwili unaonekana wazi, hakuna kuzibwa, na eneo linalofunikwa linazidi 5% ya eneo la picha.

•inahitajika video_url
Dondosha faili, au

URL inayoelekeza kwenye video ambayo vitendo vya mhusika wake huongoza tokeo; inapaswa kuonyesha mhusika wa mtindo halisi asiyezuiwa, akiwa na kichwa na mwili mzima au sehemu ya juu ya mwili inayoonekana. Mipangilio ya character_orientation huweka kikomo cha urefu kuwa 10s kwa 'image' au 30s kwa 'video'. Vikomo vya faili: isiyozidi 100 MB, upana na urefu kila kimoja kati ya 340px na 3850px, na urefu kati ya 3.0s na 30.05s.

character_orientation •inahitajika

Chanzo cha mwelekeo wa mhusika: 'image' hulingana na picha ya marejeleo na ni bora zaidi kwa kufuata miondoko ya kamera, ikiwa na kiwango cha juu cha sekunde 10. Kwa miondoko changamano, 'video' ni bora: hulingana na mwelekeo wa video ya marejeleo na inaruhusu hadi sekunde 30.

Ya kina enable_safety_checker · keep_original_sound
POST /run/kling-video/v2.6/pro/motion-control?wait=20 makadirio → $ 1.12
# 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/v2.6/pro/motion-control?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "character_orientation": "image"
  }'

# 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 v2.6 Motion Control [Pro]

Humfanya mhusika katika `image_url` atekeleze vitendo vilivyoonyeshwa kwenye `video_url`. `character_orientation` huchagua ikiwa matokeo yatafuata picha au video; chaguo la video linafaa kwa miondoko changamano ya hadi sekunde 30. `prompt` ya maandishi ni hiari, na `keep_original_sound` huhifadhi sauti ya video ya marejeleo kwa chaguo-msingi. Modi ya Pro.

Vigezo

Tuma jina rasmi au jina asilia, si yote mawili. Majina rasmi

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
image_urlinahitajika image
Ainaurl · image
URL ya picha ya marejeleo kwa uzalishaji wa video, yenye kikomo cha ukubwa wa faili cha 10.0MB, upana na urefu kila kimoja kati ya 340px na 3850px, na uwiano wa pande kutoka 0.40 hadi 2.50. Picha hii huongoza wahusika, mandhari na vipengele vingine vya video. Kwa wahusika, hakikisha uwiano wa mwili unaonekana wazi, hakuna kuzibwa, na eneo linalofunikwa linazidi 5% ya eneo la picha.
video_urlinahitajika video
Ainaurl · video
URL inayoelekeza kwenye video ambayo vitendo vya mhusika wake huongoza tokeo; inapaswa kuonyesha mhusika wa mtindo halisi asiyezuiwa, akiwa na kichwa na mwili mzima au sehemu ya juu ya mwili inayoonekana. Mipangilio ya character_orientation huweka kikomo cha urefu kuwa 10s kwa 'image' au 30s kwa 'video'. Vikomo vya faili: isiyozidi 100 MB, upana na urefu kila kimoja kati ya 340px na 3850px, na urefu kati ya 3.0s na 30.05s.
keep_original_soundsi lazima
Ainaboolean
Chaguomsingitrue
Hudhibiti uhifadhi wa sauti asilia ya video ya marejeleo.
character_orientationinahitajika
Ainaenum
imagevideo
Chanzo cha mwelekeo wa mhusika: 'image' hulingana na picha ya marejeleo na ni bora zaidi kwa kufuata miondoko ya kamera, ikiwa na kiwango cha juu cha sekunde 10. Kwa miondoko changamano, 'video' ni bora: hulingana na mwelekeo wa video ya marejeleo na inaruhusu hadi sekunde 30.
inahitajika Jina rasmi, pia linakubalika

Vigezo vya faili vinakubali URL ya umma ya https://, data: URI ya hadi 10 MB, au file_url ya upakiaji. Faili

Tokeo

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/v2.6/pro/motion-control",
  "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": 1120,
    "usd": "1.12",
    "charged": 1120,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "character_orientation": "image"
  },
  "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: Video hadi Video

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