Pāriet uz saturu

Kling O3 Edit Video [Pro]

Integrēt

Modeļa id kling-video/o3/pro/video-to-video/edit
# 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/o3/pro/video-to-video/edit?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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, piemēram, paraugā: 1,68 $ 1680 API kredītu jūsu faili tiek izmērīti pirms izpildes Izpildīt šajā lapā

Iegūt API atslēgu

Izveidots vietnē Doitong

Doitong kopienas publiskie darbi, kas izveidoti ar Kling O3. 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...

Izveidot pieprasījumu

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

•obligāts 88 / 2500

Teksta norādījumi video ģenerēšanai. Izmantojiet @Video1, lai atsauktos uz atsauces video.

•obligāts video_url
Nometiet failu vai

URL, kas norāda uz atsauces video .mp4 vai .mov formātā, ne lielāku par 200MB. Abiem izmēriem jābūt no 720px līdz 3840px, kadru nomaiņas ātrumam 23.0–60.0 FPS, bet ilgumam 3–15 sekundes (ne vairāk kā 15.05 sekundes).

Papildu images · shot_type · enable_safety_checker · keep_audio · elements
image_urls
Nometiet failu vai

Attēli stila vai izskata vadībai, uz kuriem uzvednē atsaucas ar @Image1, @Image2 utt. Izmantojot video ievadi, elementi un atsauces attēli kopā nedrīkst pārsniegt 4 ierakstus. Katra faila lielums nedrīkst pārsniegt 50 MB, platumam un augstumam jābūt vismaz 300 px, bet malu attiecībai — no 0.40 līdz 2.50.

noklusējums customize

Režīms vairāku kadru video ģenerēšanai.

Iekļaujamie tēli vai objekti, uz kuriem uzvednē atsaucas ar @Element1 un @Element2.

POST /run/kling-video/o3/pro/video-to-video/edit?wait=20 cena → 1,68 $
# 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/o3/pro/video-to-video/edit?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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

Par Kling O3 Edit Video [Pro]

Rediģē esošu video atbilstoši teksta promptam, kas avotu apzīmē kā @Video1. `video_url` jābūt .mp4 vai .mov formātā, 3–15 sekunžu garam, 720–3840px un ne lielākam par 200MB. Promptā var pieminēt atsauces attēlus (`image_urls`) un `elements`, kopā līdz 4. `keep_audio` saglabā sākotnējo skaņu celiņu un pēc noklusējuma ir ieslēgts.

Parametri

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

NosaukumsTips NoklusējumsAtļauts Apraksts
enable_safety_checkerneobligāts
Tipsboolean
Noklusējumstrue
Drošības pārbaudes var atspējot tikai ar konta autorizāciju; pieprasījumi bez autorizācijas vienmēr tiek pārbaudīti.
promptobligāts
Tipsstring
≤ 2500 rakstzīmju
Teksta norādījumi video ģenerēšanai. Izmantojiet @Video1, lai atsauktos uz atsauces video.
video_urlobligāts video
Tipsurl · video
URL, kas norāda uz atsauces video .mp4 vai .mov formātā, ne lielāku par 200MB. Abiem izmēriem jābūt no 720px līdz 3840px, kadru nomaiņas ātrumam 23.0–60.0 FPS, bet ilgumam 3–15 sekundes (ne vairāk kā 15.05 sekundes).
image_urlsneobligāts images
Tipsurl[] · image
Attēli stila vai izskata vadībai, uz kuriem uzvednē atsaucas ar @Image1, @Image2 utt. Izmantojot video ievadi, elementi un atsauces attēli kopā nedrīkst pārsniegt 4 ierakstus. Katra faila lielums nedrīkst pārsniegt 50 MB, platumam un augstumam jābūt vismaz 300 px, bet malu attiecībai — no 0.40 līdz 2.50.
keep_audioneobligāts
Tipsboolean
Noklusējumstrue
Nosaka atsauces video sākotnējā audio saglabāšanu.
elementsneobligāts
Tipsobject[]
Iekļaujamie tēli vai objekti, uz kuriem uzvednē atsaucas ar @Element1 un @Element2.
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.
shot_typeneobligāts
Tipsstring
Noklusējumscustomize
Režīms vairāku kadru video ģenerēšanai.
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/o3/pro/video-to-video/edit",
  "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": 1680,
    "usd": "1.68",
    "charged": 1680,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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 izveidotais video.

Vairāk modeļu: Video uz video

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