Pāriet uz saturu

Kling 3.0 Pro Image to Video

Integrēt

Modeļa id kling-video/v3/pro/image-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/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The paper boat drifts forward with the current, raindrops ripple around it, neon reflections shimmer on the wet street, the camera follows at water level.",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_rrqclmu39lveihzpwxufalbn/0-oGMt1xgBCGjIy2tBNDIKy_MSH2rhkY.png",
    "duration": 5,
    "generate_audio": false
  }'

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

Šis pieprasījums: 0,56 $ 560 API kredītu Izpildīt šajā lapā

Iegūt API atslēgu
Kling Attēls uz video Vietējais audioAtsauču ievades3–15 s #cinematic#multi-shot

Animē nekustīgu attēlu 3 līdz 15 sekunžu klipā ar sākotnējo skaņu, neobligātu beigu kadru un vairāku kadru uzvednēm.

Piemēri

Ievade
Izvade · ~157 s

UzvedneThe paper boat drifts forward with the current, raindrops ripple around it, neon reflections shimmer on the wet street, the camera follows at water level.

5 sgenerate_audio: false0,56 $ · 560 API kredītu

Izveidot pieprasījumu

Vadīklas tiek ģenerētas no modeļa shēmas. Kods un cena tiek atjaunināti, kad tos maināt.

154 / 2500

Teksta norādījumi video ģenerēšanai. Norādiet tieši vienu no `prompt` vai `multi_prompt`.

•obligāts start_image_url
Nometiet failu vai

URL, kas norāda uz video ģenerēšanai izmantoto attēlu. Faila lielums nedrīkst pārsniegt 50 MB; platumam un augstumam jābūt vismaz 300px, bet malu attiecībai — no 0.40 līdz 2.50.

duration 5 s

Izvades video ilgums sekundēs.

Papildu negative_prompt · end_image · shot_type · cfg_scale · multi_prompt · elements
0 / 2500
end_image_url
Nometiet failu vai

URL, kas norāda uz video beigās izmantoto attēlu. Faila lielums nedrīkst pārsniegt 50 MB; platumam un augstumam jābūt vismaz 300px, bet malu attiecībai — no 0.40 līdz 2.50.

shot_type noklusējums customize

Izvēlieties, kā vairāku kadru ģenerēšana plāno kadrējumus; izvēloties 'intelligent', kadrējumu struktūras izveide tiek uzticēta modelim.

noklusējums 0.5

Iestatiet, cik cieši ģenerēšana seko jūsu uzvednei, izmantojot CFG jeb Classifier Free Guidance.

Uzvedņu saraksts, kas, ja norādīts, sadala video vairākos kadrējumos.

Video elementos iekļautie tēli vai objekti, uz kuriem uzvednē atsaucas ar @Element1, @Element2 utt. Katram piemēram norādiet vai nu video, vai kopu ar priekšskata attēlu un atsauces attēliem.

POST /run/kling-video/v3/pro/image-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/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The paper boat drifts forward with the current, raindrops ripple around it, neon reflections shimmer on the wet street, the camera follows at water level.",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_rrqclmu39lveihzpwxufalbn/0-oGMt1xgBCGjIy2tBNDIKy_MSH2rhkY.png",
    "duration": 5,
    "generate_audio": false
  }'

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

Palaist šo pieprasījumu

Jūsu atslēga paliek šajā pārlūkprogrammā: tā tiek nosūtīta tikai uz Doitong API un saglabāta (localStorage) tikai tad, ja atzīmējat Atcerēties. Iegūt API atslēgu

Izveidots vietnē Doitong

Doitong kopienas publiskie darbi, kas izveidoti ar Kling v3. Izmantojiet uzvedni atkārtoti ar vienu klikšķi.

Rādīti publiskie darbi: 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...

Par Kling 3.0 Pro Image to Video

Kling vadošais attēla pārveides video modelis saglabā sākuma attēla objektu stabilu, vienlaikus pievienojot dabiskas kustības, kameras kustības un pēc noklusējuma atbilstošu skaņu un runu. Norādiet beigu attēlu, lai kontrolētu, kur kadrs beidzas, sadaliet vienu ģenerēšanu vairākos kadros ar katram kadram paredzētām uzvednēm vai piesaistiet atkārtotus tēlus un objektus ar atsauces elementiem. Kadra forma seko sākuma attēlam.

Parametri

Nosūti vai nu kanonisko nosaukumu, vai vietējo nosaukumu, bet ne abus. Kan啤niskie nosaukumi

NosaukumsTips NoklusējumsAtļauts Apraksts
promptneobligāts
Tipsstring | null
≤ 2500 rakstzīmju
Teksta norādījumi video ģenerēšanai. Norādiet tieši vienu no `prompt` vai `multi_prompt`.
multi_promptneobligāts
Tipsobject[]
Uzvedņu saraksts, kas, ja norādīts, sadala video vairākos kadrējumos.
multi_prompt[].promptobligāts
Tipsstring
Teksta norādījumi pašreizējam kadrējumam.
multi_prompt[].durationneobligāts
Tipsenum
Noklusējums5
123456789101112131415
Pašreizējā kadrējuma ilgums sekundēs.
start_image_urlobligāts image
Tipsurl · image
URL, kas norāda uz video ģenerēšanai izmantoto attēlu. Faila lielums nedrīkst pārsniegt 50 MB; platumam un augstumam jābūt vismaz 300px, bet malu attiecībai — no 0.40 līdz 2.50.
durationneobligāts
Tipsenum
Noklusējums5
3456789101112131415
Izvades video ilgums sekundēs.
generate_audioneobligāts
Tipsboolean
Noklusējumstrue
Dabiskā video audio ģenerēšanas pārslēgs, kas atbalsta ķīniešu vai angļu balsis un automātiski pārtulko citas valodas angļu valodā. Angļu runai akronīmus un īpašvārdus rakstiet ar lielajiem burtiem, bet pārējo — ar mazajiem.
end_image_urlneobligāts end_image
Tipsurl · image
URL, kas norāda uz video beigās izmantoto attēlu. Faila lielums nedrīkst pārsniegt 50 MB; platumam un augstumam jābūt vismaz 300px, bet malu attiecībai — no 0.40 līdz 2.50.
elementsneobligāts
Tipsobject[]
Video elementos iekļautie tēli vai objekti, uz kuriem uzvednē atsaucas ar @Element1, @Element2 utt. Katram piemēram norādiet vai nu video, vai kopu ar priekšskata attēlu un atsauces attēliem.
elements[].frontal_image_urlneobligāts
Tipsurl · image
Priekšskata attēls, kas rāda elementa galveno skatu. Faila lielums nedrīkst pārsniegt 50 MB; platumam un augstumam jābūt vismaz 300px, bet malu attiecībai — no 0.40 līdz 2.50.
elements[].reference_image_urlsneobligāts
Tipsurl[] · image
Norādiet 1–3 papildu atsauces attēlus no dažādiem leņķiem. Katra attēla malu attiecībai jābūt no 0.40 līdz 2.50, abiem izmēriem vismaz 300px, bet lielumam — ne vairāk kā 50.0MB.
elements[].video_urlneobligāts
Tipsurl · video
URL, kas norāda uz elementa video; tikai vienam elementam pieprasījumā drīkst būt video. Faila lielums nedrīkst pārsniegt 200 MB, platumam un augstumam jābūt no 720px līdz 2160px. Ilgumam jābūt no 3 līdz 10.05 sekundēm, bet FPS — no 24.0 līdz 60.0.
elements[].voice_idneobligāts
Tipsstring | null
Elementam piešķirtais Voice ID. Atsauces uz šo elementu izmanto tam piešķirto balsi.
shot_typeneobligāts
Tipsenum
Noklusējumscustomize
customizeintelligent
Izvēlieties, kā vairāku kadru ģenerēšana plāno kadrējumus; izvēloties 'intelligent', kadrējumu struktūras izveide tiek uzticēta modelim.
negative_promptneobligāts
Tipsstring
Noklusējumsblur, distort, and low quality
≤ 2500 rakstzīmju
cfg_scaleneobligāts
Tipsnumber
Noklusējums0.5
0 – 1
Iestatiet, cik cieši ģenerēšana seko jūsu uzvednei, izmantojot CFG jeb Classifier Free Guidance.
obligāts Kan啤niskais nosaukums, arī pieņemts

Failu parametriem nepieciešams publisks https:// URL, data: URI līdz 10 MB vai augšupielādes file_url. Faili

Izvade

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/v3/pro/image-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": "The banana manager turns to the camera, smiles and waves while coworkers keep typing, gentle handheld camera",
    "image": "https://content.doitong.com/images/gp/image_20260610003801_541d9719_316882.png",
    "duration": 5
  },
  "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"
  }
}
Jūsu faili, jūsu izvēleKatrs outputs[].url ir kopija mūsu krātuvē: tiek glabāta mūžīgi (maksa par GB mēnesī) vai 7 dienas bez maksas — atbilstoši konta iestatījumam vai ?storage=.
Vienāda struktūra katram modelimtype, url, content_type, width, height un duration gan attēliem, gan video un audio. output ir paša modeļa rezultāta objekts.
Izvades lauki
video
object {url, content_type, file_name, file_size}Modeļa ģenerētais video.

Vairāk modeļu: Attēls uz video

AI aģentiem: šī lapa Markdown formātā ir pieejama https://doitong.com/lv/developers/models/kling-video/v3/pro/image-to-video.md. Visi modeļi un ceļveži: https://doitong.com/developers/llms.txt