Lumaktaw sa nilalaman

Kling O1 Reference Video to Video [Pro]

I-integrate

ID ng modelo kling-video/o1/video-to-video/reference
# 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/o1/video-to-video/reference?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"

Kahilingang ito: $0.84 840 kredito ng API Patakbuhin ito sa page na ito

Kumuha ng API key

Ginawa sa Doitong

Mga pampublikong gawang ginawa gamit ang Kling O1 ng komunidad ng Doitong. Gamitin muli ang prompt sa isang click.

Mga ipinapakitang pampublikong gawa: 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...

Bumuo ng kahilingan

Ang mga control ay binubuo mula sa schema ng modelo. Nagbabago ang code at presyo habang ina-adjust mo ang mga ito.

•kinakailangan 88 / 2500

Gamitin ang @Element1, @Element2, at iba pa para sa mga elementong nakaayos, at ang @Image1, @Image2, at iba pa para sa mga larawan.

•kinakailangan video_url
Mag-drop ng file, o

URL na tumutukoy sa reference video sa .mp4 o .mov format, na hindi lalampas sa 200MB. Dapat nasa pagitan ng 720px at 2160px ang parehong dimension, may frame rate na 24.0–60.0 FPS, at tagal na 3–10 segundo (10.05 segundo maximum). Ang timeout ay 30.0 segundo.

duration 5 s

Haba ng video na sinusukat sa segundo.

aspect_ratio default na auto

Ratio ng lapad sa taas ng mga frame sa nabuong video. Kapag pinili ang 'auto', awtomatikong pinipili ang pinakamalapit na ratio sa input video.

advanced images · enable_safety_checker · keep_audio · elements
image_urls
Mag-drop ng file, o

Mga larawang gumagabay sa style o appearance, na tinutukoy sa prompt gamit ang @Image1, @Image2, at iba pa. Kapag may video input, hindi maaaring lumampas sa 4 entries ang pinagsamang elements at reference larawan. Limitado sa 50 MB ang bawat file, na may hindi bababa sa 300 px na lapad at taas at aspect ratio na 0.40 hanggang 2.50.

Mga character o object na isasama, na tinutukoy sa prompt gamit ang @Element1, @Element2, at iba pa. Kapag may video input, hindi maaaring lumampas sa 4 entries ang pinagsamang elements at reference larawan.

POST /run/kling-video/o1/video-to-video/reference?wait=20 presyo → $0.84
# 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/o1/video-to-video/reference?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"

Patakbuhin ang kahilingang ito

Nananatili ang iyong key sa browser na ito: ipinapadala lamang ito sa Doitong API at sine-save (localStorage) lamang kung pipiliin mo ang Tandaan. Kumuha ng API key

Tungkol sa Kling O1 Reference Video to Video [Pro]

Tumatanggap ng reference na video sa `video_url` (mp4 o mov, 3 hanggang 10 segundo, 720 hanggang 2160 px, hanggang 200MB) at `prompt` na hanggang 2500 character. Maaaring magdagdag ng mga larawan ng estilo at `elements`, hanggang 4 lahat, na tinutukoy bilang @Image1 o @Element1. Itakda ang `keep_audio` para panatilihin ang source sound. Maaaring auto, 16:9, 9:16 o 1:1 ang aspect ratio, na may tagal na 3 hanggang 10 segundo.

Mga parameter

Ipadala ang canonical na pangalan o ang native na pangalan, hindi pareho. Mga canonical na pangalan

PangalanUri defaultPinapayagan Paglalarawan
enable_safety_checkeropsyonal
Uriboolean
defaulttrue
Maaaring i-disable ang safety checks lamang kapag awtorisado ang account; ang mga kahilingang walang awtorisasyon ay palaging sasailalim sa checking.
promptkinakailangan
Uristring
≤ 2,500 character
Gamitin ang @Element1, @Element2, at iba pa para sa mga elementong nakaayos, at ang @Image1, @Image2, at iba pa para sa mga larawan.
video_urlkinakailangan video
Uriurl · video
URL na tumutukoy sa reference video sa .mp4 o .mov format, na hindi lalampas sa 200MB. Dapat nasa pagitan ng 720px at 2160px ang parehong dimension, may frame rate na 24.0–60.0 FPS, at tagal na 3–10 segundo (10.05 segundo maximum). Ang timeout ay 30.0 segundo.
keep_audioopsyonal
Uriboolean
defaultfalse
Kinokontrol kung pananatilihin ang orihinal na audio ng video.
image_urlsopsyonal images
Uriurl[] · image
Mga larawang gumagabay sa style o appearance, na tinutukoy sa prompt gamit ang @Image1, @Image2, at iba pa. Kapag may video input, hindi maaaring lumampas sa 4 entries ang pinagsamang elements at reference larawan. Limitado sa 50 MB ang bawat file, na may hindi bababa sa 300 px na lapad at taas at aspect ratio na 0.40 hanggang 2.50.
elementsopsyonal
Uriobject[]
Mga character o object na isasama, na tinutukoy sa prompt gamit ang @Element1, @Element2, at iba pa. Kapag may video input, hindi maaaring lumampas sa 4 entries ang pinagsamang elements at reference larawan.
elements[].frontal_image_urlkinakailangan
Uriurl · image
Frontal na larawang nagbibigay ng pangunahing view ng element, na limitado sa 50 MB. Dapat hindi bababa sa 300 px ang lapad at taas, at nasa pagitan ng 0.40 at 2.50 ang aspect ratio. Ang timeout ay 20 segundo.
elements[].reference_image_urlsopsyonal
Uriurl[] · image
Magbigay ng 1–3 karagdagang reference na larawan na nagpapakita ng iba't ibang anggulo. Dapat nasa pagitan ng 0.40 at 2.50 ang aspect ratio ng bawat larawan, hindi bababa sa 300px ang parehong dimension, at hindi lalampas sa 50.0MB.
aspect_ratioopsyonal
Urienum
defaultauto
auto16:99:161:1
Ratio ng lapad sa taas ng mga frame sa nabuong video. Kapag pinili ang 'auto', awtomatikong pinipili ang pinakamalapit na ratio sa input video.
durationopsyonal
Urienum
default5
345678910
Haba ng video na sinusukat sa segundo.
kinakailangan Canonical na pangalan, tinatanggap din

Tumatanggap ang mga parameter ng file ng pampublikong https:// URL, data: URI na hanggang 10 MB, o file_url ng isang upload. Mga file

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/o1/video-to-video/reference",
  "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": 840,
    "usd": "0.84",
    "charged": 840,
    "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"
  }
}
Ikaw ang pumipili para sa iyong mga fileAng bawat outputs[].url ay kopya sa aming storage: pinananatili nang walang hanggan (sinisingil bawat GB-month) o 7 araw nang libre, ayon sa setting ng iyong account o ?storage=.
Parehong shape sa bawat modelotype, url, content_type, width, height at duration, para sa mga larawan, video at audio. Ang output ay sariling result object ng modelo.
Mga field ng output
video
object {url, content_type, file_name, file_size}Videong ginawa ng modelo.

Higit pang modelo: Video patungong Video

Para sa mga AI agent: nasa Markdown ang pahinang ito sa https://doitong.com/fil/developers/models/kling-video/o1/video-to-video/reference.md. Lahat ng modelo at gabay: https://doitong.com/developers/llms.txt