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

Bernini-R Edit Video

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

मॉडल id bernini-r/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/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"
  }'

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

API कुंजी प्राप्त करें
Open model वीडियो से वीडियो #edit#transform#stylized

प्राकृतिक-भाषा निर्देश से स्रोत वीडियो संपादित करता है और वस्तुओं, मौसम या पृष्ठभूमि को बदलता है

Open model · वीडियो

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

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

अनुरोध बनाएँ

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

•आवश्यक

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

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

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

डिफ़ॉल्ट 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/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/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"
  }'

# 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 Edit Video के बारे में

बदलाव का वर्णन करने वाला `video_url` और `prompt` दें; दृश्य के बाकी हिस्से को पहले जैसा रखा जाता है। नियंत्रणों में `num_inference_steps` (1 से 50), `num_frames` (5 से 121), `frames_per_second` (4 से 30) और `max_image_size` (256 से 1280) शामिल हैं। वैकल्पिक `negative_prompt` और `enable_prompt_expansion` उपलब्ध हैं।

पैरामीटर

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

नामप्रकार डिफ़ॉल्टअनुमत विवरण
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
संपादन स्रोत के रूप में प्रदान किया गया वीडियो।
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/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"
  },
  "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/edit-video.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt