Lumaktaw sa nilalaman

Kling O1 Reference Image to Video [Pro]

I-integrate

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

Kahilingang ito: $0.56 560 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.

duration 5 s

Haba ng video na sinusukat sa segundo.

aspect_ratio default na 16:9

Ratio ng lapad sa taas ng mga frame sa nabuong video.

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

Mga karagdagang larawan na gumagabay sa style o appearance, na tinutukoy sa prompt gamit ang @Image1, @Image2, at iba pa. Hindi maaaring lumampas sa 7 entries ang pinagsamang elements, reference larawan, at starting 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 dapat lumitaw sa video, na tinutukoy sa prompt gamit ang @Element1, @Element2, at iba pa. Hindi maaaring lumampas sa 7 entries ang pinagsamang elements, reference larawan, at starting larawan.

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

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 Image to Video [Pro]

Gumagawa ng clip mula sa kinakailangang `prompt` na hanggang 2500 character. Tukuyin ang ibinigay na `elements` bilang @Element1 at ang `image_urls` bilang @Image1; maaaring pagsamahin ang hanggang 7 elements at reference larawan. Ang duration ay 3 hanggang 10 segundo (default 5) at ang aspect ratio ay 16:9, 9:16, o 1:1.

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.
image_urlsopsyonal images
Uriurl[] · image
Mga karagdagang larawan na gumagabay sa style o appearance, na tinutukoy sa prompt gamit ang @Image1, @Image2, at iba pa. Hindi maaaring lumampas sa 7 entries ang pinagsamang elements, reference larawan, at starting 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 dapat lumitaw sa video, na tinutukoy sa prompt gamit ang @Element1, @Element2, at iba pa. Hindi maaaring lumampas sa 7 entries ang pinagsamang elements, reference larawan, at starting 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.
durationopsyonal
Urienum
default5
345678910
Haba ng video na sinusukat sa segundo.
aspect_ratioopsyonal
Urienum
default16:9
16:99:161:1
Ratio ng lapad sa taas ng mga frame sa nabuong video.
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/reference-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": "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"
  }
}
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: Reference patungong Video

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