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

Kling O3 Reference to Video [Pro]

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

मॉडल id kling-video/o3/pro/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/o3/pro/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–15 s #reference-to-video

इमेज और एलिमेंट का इस्तेमाल करके पात्रों और वस्तुओं को एकसमान रखने वाला Pro संदर्भ-टू-वीडियो

Doitong पर बनाया गया

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

दिखाए गए सार्वजनिक कार्य: 16
**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...

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

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

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе... वीडियो

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе с панорамными окнами. Внутри деревянный интерьер, мягкие диваны и живые цветы. Они садятся за столик, перед ними стоят дымящиеся чашки чая. Мягкий свет ламп создает уют. Средний план, уровень глаз. (...

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

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты вн... वीडियो

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты внешности, возраст, причёски и одежду. Мужчины слегка поворачивают головы, естественно моргают и едва заметно улыбаются. Женщина слева спокойно смотрит в камеру и мягко моргает. Маленький ребёнок слегка...

A five-second orbital camera move circling completely around a red-haired woman in a yellow rainc... वीडियो

A five-second orbital camera move circling completely around a red-haired woman in a yellow raincoat standing in an autumn forest holding a vintage lantern, she remains stationary facing forward while the camera circles 180 degrees from her left side to her right side at eye level, golden fallen...

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a w... वीडियो

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a wooden cutting board in a bright kitchen, camera suddenly swings in a rapid blur motion panning right at high speed creating motion blur, ending sharply focused on a barista pouring latte art in a...

अनुरोध बनाएँ

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

88 / 2500

वीडियो बनाने के लिए टेक्स्ट निर्देश। प्रॉम्प्ट या multi_prompt में से ठीक एक दें।

duration 5 s

वीडियो की अवधि, 3 से 15 सेकंड के बीच।

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

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

उन्नत image · end_image · images · shot_type · enable_safety_checker · multi_prompt · elements
start_image_url
फ़ाइल ड्रॉप करें, या

वीडियो के आरंभिक फ़्रेम के लिए उपयोग की जाने वाली इमेज। फ़ाइल का आकार 50 MB से अधिक नहीं होना चाहिए; चौड़ाई और ऊँचाई प्रत्येक कम से कम 300px तथा आस्पेक्ट रेशियो 0.40 और 2.50 के बीच होना चाहिए।

end_image_url
फ़ाइल ड्रॉप करें, या

वीडियो के अंतिम फ़्रेम के लिए उपयोग की जाने वाली इमेज, अधिकतम 50 MB तक। चौड़ाई और ऊँचाई प्रत्येक कम से कम 300 px होनी चाहिए और आस्पेक्ट रेशियो 0.40 से 2.50 के बीच होना चाहिए।

image_urls
फ़ाइल ड्रॉप करें, या

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

shot_type डिफ़ॉल्ट customize

चुनें कि multi-shot निर्माण अपने शॉट की योजना कैसे बनाए; 'intelligent' चुनने पर शॉट की संरचना मॉडल को सौंपी जाती है।

कई शॉट वाला वीडियो बनाने के लिए उपयोग की जाने वाली प्रॉम्प्ट सूची।

शामिल किए जाने वाले पात्र या वस्तुएँ, जिन्हें प्रॉम्प्ट में @Element1 और @Element2 से संदर्भित किया जाता है।

POST /run/kling-video/o3/pro/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/o3/pro/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 O3 Reference to Video [Pro] के बारे में

@Image1 आदि के रूप में संदर्भित `image_urls` और पात्रों या वस्तुओं के लिए `elements` से वीडियो दृश्य बनाता है। वैकल्पिक `start_image_url` और `end_image_url` पहले और अंतिम फ़्रेम तय करते हैं। अवधि 3 से 15 सेकंड है, आस्पेक्ट रेशियो 16:9, 9:16 या 1:1 है। `multi_prompt` शॉट और वैकल्पिक ऑडियो समर्थित हैं।

पैरामीटर

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

नामप्रकार डिफ़ॉल्टअनुमत विवरण
enable_safety_checkerवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
सुरक्षा जाँच केवल अकाउंट प्राधिकरण के साथ अक्षम की जा सकती है; प्राधिकरण के बिना किए गए अनुरोधों की हमेशा जाँच होती है।
promptवैकल्पिक
प्रकारstring | null
≤ 2,500 अक्षर
वीडियो बनाने के लिए टेक्स्ट निर्देश। प्रॉम्प्ट या multi_prompt में से ठीक एक दें।
multi_promptवैकल्पिक
प्रकारobject[]
कई शॉट वाला वीडियो बनाने के लिए उपयोग की जाने वाली प्रॉम्प्ट सूची।
multi_prompt[].promptआवश्यक
प्रकारstring
वर्तमान शॉट के लिए टेक्स्ट निर्देश।
multi_prompt[].durationवैकल्पिक
प्रकारenum
डिफ़ॉल्ट5
123456789101112131415
वर्तमान शॉट की अवधि, सेकंड में।
start_image_urlवैकल्पिक image
प्रकारurl · image
वीडियो के आरंभिक फ़्रेम के लिए उपयोग की जाने वाली इमेज। फ़ाइल का आकार 50 MB से अधिक नहीं होना चाहिए; चौड़ाई और ऊँचाई प्रत्येक कम से कम 300px तथा आस्पेक्ट रेशियो 0.40 और 2.50 के बीच होना चाहिए।
end_image_urlवैकल्पिक end_image
प्रकारurl · image
वीडियो के अंतिम फ़्रेम के लिए उपयोग की जाने वाली इमेज, अधिकतम 50 MB तक। चौड़ाई और ऊँचाई प्रत्येक कम से कम 300 px होनी चाहिए और आस्पेक्ट रेशियो 0.40 से 2.50 के बीच होना चाहिए।
image_urlsवैकल्पिक images
प्रकारurl[] · image
शैली या रूप-रंग का मार्गदर्शन करने वाली इमेज, जिन्हें प्रॉम्प्ट में @Image1, @Image2 आदि से संदर्भित किया जाता है। वीडियो इनपुट के साथ एलिमेंट और संदर्भ इमेज की कुल संख्या 4 से अधिक नहीं हो सकती। प्रत्येक फ़ाइल अधिकतम 50 MB की होनी चाहिए, चौड़ाई और ऊँचाई प्रत्येक कम से कम 300 px तथा आस्पेक्ट रेशियो 0.40 से 2.50 के बीच होना चाहिए।
elementsवैकल्पिक
प्रकारobject[]
शामिल किए जाने वाले पात्र या वस्तुएँ, जिन्हें प्रॉम्प्ट में @Element1 और @Element2 से संदर्भित किया जाता है।
elements[].frontal_image_urlवैकल्पिक
प्रकारurl · image
एलिमेंट का मुख्य दृश्य दिखाने वाली सामने से ली गई इमेज। फ़ाइल का आकार 50 MB से अधिक नहीं होना चाहिए; चौड़ाई और ऊँचाई प्रत्येक कम से कम 300px तथा आस्पेक्ट रेशियो 0.40 और 2.50 के बीच होना चाहिए।
elements[].reference_image_urlsवैकल्पिक
प्रकारurl[] · image
अलग-अलग कोण दिखाने वाली 1–3 अतिरिक्त संदर्भ इमेज दें। प्रत्येक इमेज का आस्पेक्ट रेशियो 0.40 और 2.50 के बीच, दोनों आयामों में आकार कम से कम 300px और फ़ाइल आकार अधिकतम 50.0MB होना चाहिए।
elements[].video_urlवैकल्पिक
प्रकारurl · video
एलिमेंट के वीडियो का URL; प्रत्येक अनुरोध में अधिकतम एक एलिमेंट में वीडियो हो सकता है। फ़ाइल अधिकतम 200 MB की, चौड़ाई और ऊँचाई प्रत्येक 720px और 2160px के बीच होनी चाहिए। अवधि 3 सेकंड से 10.05 सेकंड और FPS 24.0 से 60.0 के बीच होना चाहिए।
elements[].voice_idवैकल्पिक
प्रकारstring | null
एलिमेंट को असाइन किया गया Voice ID। उस एलिमेंट के संदर्भों में उसकी असाइन की गई आवाज़ का उपयोग किया जाता है।
generate_audioवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
यह नियंत्रित करता है कि वीडियो के साथ मूल ऑडियो बनाया जाए या नहीं।
durationवैकल्पिक
प्रकारenum
डिफ़ॉल्ट5
3456789101112131415
वीडियो की अवधि, 3 से 15 सेकंड के बीच।
shot_typeवैकल्पिक
प्रकारenum
डिफ़ॉल्टcustomize
customizeintelligent
चुनें कि multi-shot निर्माण अपने शॉट की योजना कैसे बनाए; 'intelligent' चुनने पर शॉट की संरचना मॉडल को सौंपी जाती है।
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/o3/pro/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/o3/pro/reference-to-video.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt