सामग्री पर जाएँ

Kling O1 Reference Image to Video [Pro]

इंटीग्रेट करें

मॉडल id 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"

यह अनुरोध: $0.56 560 API क्रेडिट इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Kling रेफ़रेंस से वीडियो रेफ़रेंस इनपुट3–10 s

Pro reference-to-video, जो पात्रों और ऑब्जेक्ट्स की संगति बनाए रखता है, 3 से 10 सेकंड, कोई इनपुट वीडियो नहीं

Doitong पर बनाया गया

Doitong समुदाय द्वारा Kling O1 से बनाए गए सार्वजनिक कार्य। एक क्लिक में प्रॉम्प्ट का पुनः उपयोग करें।

दिखाए गए सार्वजनिक कार्य: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... वीडियो

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... वीडियो

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... वीडियो

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... वीडियो

**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... वीडियो

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 ... वीडियो

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... वीडियो

**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... वीडियो

**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...

अनुरोध बनाएँ

कंट्रोल मॉडल स्कीमा से जनरेट होते हैं। इन्हें बदलने पर कोड और कीमत अपडेट होती है।

•आवश्यक 88 / 2500

क्रमबद्ध संदर्भों में एलिमेंट के लिए @Element1, @Element2 आदि और इमेज के लिए @Image1, @Image2 आदि का उपयोग करें।

duration 5 s

वीडियो की लंबाई सेकंड में।

aspect_ratio डिफ़ॉल्ट 16:9

निर्मित वीडियो के फ़्रेम का चौड़ाई-से-ऊँचाई अनुपात।

उन्नत images · enable_safety_checker · elements
image_urls
फ़ाइल ड्रॉप करें, या

शैली या रूप-रंग का मार्गदर्शन करने वाली अतिरिक्त इमेज, जिन्हें प्रॉम्प्ट में @Image1, @Image2 आदि से संदर्भित किया जाता है। एलिमेंट, संदर्भ इमेज और आरंभिक इमेज की कुल संख्या 7 से अधिक नहीं हो सकती। प्रत्येक फ़ाइल अधिकतम 50 MB की होनी चाहिए, चौड़ाई और ऊँचाई प्रत्येक कम से कम 300 px तथा आस्पेक्ट रेशियो 0.40 से 2.50 के बीच होना चाहिए।

वीडियो में दिखाए जाने वाले पात्र या वस्तुएँ, जिन्हें प्रॉम्प्ट में @Element1, @Element2 आदि से संदर्भित किया जाता है। एलिमेंट, संदर्भ इमेज और आरंभिक इमेज की कुल संख्या 7 से अधिक नहीं हो सकती।

POST /run/kling-video/o1/reference-to-video?wait=20 कोटेशन → $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"

यह अनुरोध चलाएँ

आपकी key इसी ब्राउज़र में रहती है: इसे केवल Doitong API को भेजा जाता है और केवल तभी (localStorage) में सेव किया जाता है जब आप Remember चुनते हैं। API कुंजी प्राप्त करें

Kling O1 Reference Image to Video [Pro] के बारे में

अधिकतम 2500 अक्षरों वाले आवश्यक `prompt` से क्लिप बनाता है। दिए गए `elements` को @Element1 और `image_urls` को @Image1 के रूप में संदर्भित करें; अधिकतम 7 एलिमेंट और संदर्भ इमेज संयोजित की जा सकती हैं। अवधि 3 से 10 सेकंड (डिफ़ॉल्ट 5) और आस्पेक्ट अनुपात 16:9, 9:16 या 1:1 है।

पैरामीटर

कैनोनिकल नाम या नेटिव नाम में से कोई एक भेजें, दोनों नहीं। कैनोनिकल नाम

नामप्रकार डिफ़ॉल्टअनुमत विवरण
enable_safety_checkerवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
सुरक्षा जाँच केवल अकाउंट प्राधिकरण के साथ अक्षम की जा सकती है; प्राधिकरण के बिना किए गए अनुरोधों की हमेशा जाँच होती है।
promptआवश्यक
प्रकारstring
≤ 2,500 अक्षर
क्रमबद्ध संदर्भों में एलिमेंट के लिए @Element1, @Element2 आदि और इमेज के लिए @Image1, @Image2 आदि का उपयोग करें।
image_urlsवैकल्पिक images
प्रकारurl[] · image
शैली या रूप-रंग का मार्गदर्शन करने वाली अतिरिक्त इमेज, जिन्हें प्रॉम्प्ट में @Image1, @Image2 आदि से संदर्भित किया जाता है। एलिमेंट, संदर्भ इमेज और आरंभिक इमेज की कुल संख्या 7 से अधिक नहीं हो सकती। प्रत्येक फ़ाइल अधिकतम 50 MB की होनी चाहिए, चौड़ाई और ऊँचाई प्रत्येक कम से कम 300 px तथा आस्पेक्ट रेशियो 0.40 से 2.50 के बीच होना चाहिए।
elementsवैकल्पिक
प्रकारobject[]
वीडियो में दिखाए जाने वाले पात्र या वस्तुएँ, जिन्हें प्रॉम्प्ट में @Element1, @Element2 आदि से संदर्भित किया जाता है। एलिमेंट, संदर्भ इमेज और आरंभिक इमेज की कुल संख्या 7 से अधिक नहीं हो सकती।
elements[].frontal_image_urlआवश्यक
प्रकारurl · image
एलिमेंट का मुख्य दृश्य प्रदान करने वाली सामने से ली गई इमेज, अधिकतम 50 MB तक। चौड़ाई और ऊँचाई प्रत्येक कम से कम 300 px होनी चाहिए और आस्पेक्ट रेशियो 0.40 से 2.50 के बीच होना चाहिए। टाइमआउट 20 सेकंड है।
elements[].reference_image_urlsवैकल्पिक
प्रकारurl[] · image
अलग-अलग कोण दिखाने वाली 1–3 अतिरिक्त संदर्भ इमेज दें। प्रत्येक इमेज का आस्पेक्ट रेशियो 0.40 और 2.50 के बीच, दोनों आयामों में आकार कम से कम 300px और फ़ाइल आकार अधिकतम 50.0MB होना चाहिए।
durationवैकल्पिक
प्रकारenum
डिफ़ॉल्ट5
345678910
वीडियो की लंबाई सेकंड में।
aspect_ratioवैकल्पिक
प्रकारenum
डिफ़ॉल्ट16:9
16:99:161:1
निर्मित वीडियो के फ़्रेम का चौड़ाई-से-ऊँचाई अनुपात।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

फ़ाइल पैरामीटर में सार्वजनिक https:// URL, 10 MB तक का data: URI, या अपलोड का file_url लिया जाता है। फ़ाइलें

आउटपुट

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"
  }
}
आपकी फ़ाइलें, आपकी पसंदहर outputs[].url हमारे स्टोरेज में एक कॉपी है: हमेशा के लिए (प्रति GB-माह भुगतान) या 7 दिन तक मुफ़्त में, आपके अकाउंट की सेटिंग या ?storage= के अनुसार।
हर मॉडल पर एक जैसा आकारइमेज, वीडियो और ऑडियो सभी के लिए type, url, content_type, width, height और duration। output मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
video
object {url, content_type, file_name, file_size}मॉडल द्वारा बनाया गया वीडियो।

और मॉडल: रेफ़रेंस से वीडियो

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/kling-video/o1/reference-to-video.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt