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

Bernini-R Reference to Video

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

मॉडल id bernini-r/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/bernini-r/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",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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.405 405 API क्रेडिट चलाने से पहले आपकी फ़ाइलों को मापा जाता है इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Open model रेफ़रेंस से वीडियो रेफ़रेंस इनपुट #reference#video#stylized

एक से पांच रेफ़रेंस सब्जेक्ट इमेज और प्रॉम्प्ट से एक निरंतर वीडियो जनरेट करता है

Open model · वीडियो

आपका पहला परिणाम यहाँ आएगा

नीचे एक अनुरोध बनाएँ और उसे अपनी API कुंजी से चलाएँ। आउटपुट हमारे स्टोरेज में कॉपी किए जाते हैं और हमेशा के लिए या 7 दिन तक मुफ़्त में रखे जाते हैं।

अनुरोध बनाएँ

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

•आवश्यक

प्रॉम्प्ट या अनुरोधित संपादन का वर्णन करने वाला टेक्स्ट।

•आवश्यक reference_image_urls
फ़ाइल ड्रॉप करें, या · 5 तक

विषय संदर्भ प्रदान करने वाली इमेज, अधिकतम 5।

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

आउटपुट का आस्पेक्ट रेशियो।

डिफ़ॉल्ट 848

लंबे किनारे की पिक्सेल सेटिंग: संपादन में इसे स्रोत/संदर्भ मीडिया के आकार की अधिकतम सीमा के रूप में उपयोग किया जाता है, जबकि निर्माण में इसका उपयोग आउटपुट आकार सेट करने के लिए होता है।

डिफ़ॉल्ट 81

फ़्रेम की संख्या, आंतरिक रूप से 4k+1 के रूप में समायोजित की जाती है।

डिफ़ॉल्ट 16

आउटपुट की फ़्रेम दर, फ़्रेम प्रति सेकंड में।

उन्नत negative_prompt · acceleration · num_inference_steps · seed · enable_prompt_expansion · enable_safety_checker

नेगेटिव प्रॉम्प्ट; निर्दिष्ट न होने पर Wan2.2 का मानक नेगेटिव प्रॉम्प्ट उपयोग किया जाता है।

acceleration डिफ़ॉल्ट none

लागू किए जाने वाले त्वरण की मात्रा।

डिफ़ॉल्ट 30

किए जाने वाले denoising चरणों की संख्या।

पुनरुत्पाद्य परिणाम सक्षम करने वाला seed; छोड़े जाने पर यादृच्छिक रूप से चुना जाता है।

POST /run/bernini-r/reference-to-video?wait=20 कोटेशन → $0.405
# 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/bernini-r/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",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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 कुंजी प्राप्त करें

Bernini-R Reference to Video के बारे में

`prompt` और एक से पांच `reference_image_urls` दें; मॉडल उन सब्जेक्ट को दिखाने वाला एक वीडियो बनाता है। `aspect_ratio` 16:9, 9:16 या 1:1 हो सकता है। आप `num_frames` (5 से 121), `frames_per_second` (4 से 30) और `num_inference_steps` (1 से 50) समायोजित कर सकते हैं। `negative_prompt` और प्रॉम्प्ट एक्सपैंशन वैकल्पिक हैं।

पैरामीटर

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

नामप्रकार डिफ़ॉल्टअनुमत विवरण
promptआवश्यक
प्रकारstring
प्रॉम्प्ट या अनुरोधित संपादन का वर्णन करने वाला टेक्स्ट।
negative_promptवैकल्पिक
प्रकारstring | null
नेगेटिव प्रॉम्प्ट; निर्दिष्ट न होने पर Wan2.2 का मानक नेगेटिव प्रॉम्प्ट उपयोग किया जाता है।
num_inference_stepsवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट30
1 – 50
किए जाने वाले denoising चरणों की संख्या।
max_image_sizeवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट848
256 – 1,280
लंबे किनारे की पिक्सेल सेटिंग: संपादन में इसे स्रोत/संदर्भ मीडिया के आकार की अधिकतम सीमा के रूप में उपयोग किया जाता है, जबकि निर्माण में इसका उपयोग आउटपुट आकार सेट करने के लिए होता है।
seedवैकल्पिक
प्रकारinteger | null
पुनरुत्पाद्य परिणाम सक्षम करने वाला seed; छोड़े जाने पर यादृच्छिक रूप से चुना जाता है।
enable_prompt_expansionवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
LLM द्वारा निर्माण-पूर्व वैकल्पिक प्रॉम्प्ट री-राइटिंग, मॉडल के enhanced प्रॉम्प्ट पर tuned होने के बावजूद डिफ़ॉल्ट रूप से अक्षम।
num_framesवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट81
5 – 121
फ़्रेम की संख्या, आंतरिक रूप से 4k+1 के रूप में समायोजित की जाती है।
frames_per_secondवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट16
4 – 30
आउटपुट की फ़्रेम दर, फ़्रेम प्रति सेकंड में।
accelerationवैकल्पिक
प्रकारenum
डिफ़ॉल्टnone
noneregular
लागू किए जाने वाले त्वरण की मात्रा।
reference_image_urlsआवश्यक images
प्रकारurl[] · image
≤ 5 आइटम
विषय संदर्भ प्रदान करने वाली इमेज, अधिकतम 5।
aspect_ratioवैकल्पिक
प्रकारenum
डिफ़ॉल्ट16:9
16:99:161:1
आउटपुट का आस्पेक्ट रेशियो।
enable_safety_checkerवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
यदि कॉलर अधिकृत है, तो false सेट करके स्क्रीनिंग में ढील दी जा सकती है।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

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

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bernini-r/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": 405,
    "usd": "0.405",
    "charged": 405,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "reference_image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "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
    },
    "seed": 42,
    "actual_prompt": "string"
  },
  "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}निर्माण या संपादन से प्राप्त वीडियो।
seed
integerनिर्माण के दौरान लागू किया गया seed।
actual_prompt
string | nullअंतिम विस्तारित प्रॉम्प्ट, केवल तभी भरा जाता है जब प्रॉम्प्ट का विस्तार किया गया हो।

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

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