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

Bernini-R Reference Edit Video

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

मॉडल id bernini-r/reference-edit-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/bernini-r/reference-edit-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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

उदाहरण जैसी फ़ाइलें: $0.405 405 API क्रेडिट · ≈ ₽42.71 चलाने से पहले आपकी फ़ाइलों को मापा जाता है इसे इस पेज पर चलाएँ

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

वस्तुओं, शैलियों या पृष्ठभूमियों को शामिल करने के लिए अधिकतम पांच संदर्भ छवियों का उपयोग करके स्रोत वीडियो संपादित करता है

Open model · वीडियो

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

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

अनुरोध बनाएँ

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

•आवश्यक

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

•आवश्यक video_url
फ़ाइल ड्रॉप करें, या

संपादन स्रोत के रूप में प्रदान किया गया वीडियो।

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

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

डिफ़ॉल्ट 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-edit-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.ru/v1/run/bernini-r/reference-edit-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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

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

`video_url`, संपादन `prompt` और एक से पांच `reference_image_urls` लेता है, जो फुटेज में शामिल की जाने वाली वस्तु, सामग्री, शैली या मौसम जैसी चीज़ों का मार्गदर्शन करते हैं। सेटिंग में अधिकतम 50 तक `num_inference_steps`, 5 से 121 तक `num_frames` और 4 से 30 तक `frames_per_second` शामिल हैं। `max_image_size` मीडिया आकार को 1280 तक सीमित करता है।

पैरामीटर

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

नामप्रकार डिफ़ॉल्टअनुमत विवरण
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
लागू किए जाने वाले त्वरण की मात्रा।
video_urlआवश्यक video
प्रकारurl · video
संपादन स्रोत के रूप में प्रदान किया गया वीडियो।
reference_image_urlsआवश्यक images
प्रकारurl[] · image
≤ 5 आइटम
संपादन संदर्भों के रूप में उपयोग की जाने वाली इमेज, अधिकतम 5।
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-edit-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",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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-edit-video.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt