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

H3 Max Recast

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

मॉडल id minimax/h3-max/recast
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/minimax/h3-max/recast?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

उदाहरण जैसी फ़ाइलें: $4.50 4,500 API क्रेडिट चलाने से पहले आपकी फ़ाइलों को मापा जाता है इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
MiniMax वीडियो से वीडियो रेफ़रेंस इनपुट1080P तक #video-to-video#video-editing#character-replacement

गति, कैमरा और ऑडियो बनाए रखते हुए वीडियो में लोगों को रेफ़रेंस फ़ोटो के लोगों से बदलता है

MiniMax · वीडियो

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

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

अनुरोध बनाएँ

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

0 / 2000

व्यक्ति-प्रतिस्थापन और संरक्षित या संशोधित किए जाने वाले अन्य तत्वों को निर्दिष्ट करने वाले वैकल्पिक निर्देश।

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

स्रोत वीडियो, जिसमें प्रत्येक शॉट अधिकतम 15 सेकंड का और कुल अवधि 5 से 30 सेकंड के बीच होती है।

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

व्यक्ति-प्रतिस्थापन फ़ोटो: मुख्य वीडियो विषयों के लिए डिफ़ॉल्ट बाएँ-से-दाएँ असाइनमेंट उन सभी शॉट पर लागू होता है जिनमें प्रत्येक विषय मौजूद है। प्रत्येक नए व्यक्ति के लिए एक फ़ोटो दें।

resolution डिफ़ॉल्ट 1080P
उन्नत seed · enhance_realism · enable_safety_checker

रैंडम निर्माण के लिए सीड; इसे खाली छोड़ने पर एक का रैंडम चयन किया जाता है।

POST /run/minimax/h3-max/recast?wait=20 कोटेशन → $4.50
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/minimax/h3-max/recast?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

H3 Max Recast के बारे में

1 से 4 रेफ़रेंस फ़ोटो का उपयोग करके 5 से 30 सेकंड के स्रोत वीडियो को दोबारा बनाता है (कोई भी शॉट 15 सेकंड से लंबा नहीं होना चाहिए), जिसमें प्रत्येक नए व्यक्ति के लिए एक फ़ोटो होती है। डिफ़ॉल्ट रूप से वे बाएँ से दाएँ मुख्य लोगों की जगह लेते हैं। वैकल्पिक `prompt` (अधिकतम 2000 वर्ण) बताता है कि कौन किसकी जगह लेता है, `resolution` 768P या 1080P होता है और `enhance_realism` त्वचा की बनावट व ब्लेंडिंग को बेहतर बनाता है।

पैरामीटर

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

नामप्रकार डिफ़ॉल्टअनुमत विवरण
video_urlआवश्यक video
प्रकारurl · video
स्रोत वीडियो, जिसमें प्रत्येक शॉट अधिकतम 15 सेकंड का और कुल अवधि 5 से 30 सेकंड के बीच होती है।
reference_image_urlsआवश्यक images
प्रकारurl[] · image
≤ 4 आइटम
व्यक्ति-प्रतिस्थापन फ़ोटो: मुख्य वीडियो विषयों के लिए डिफ़ॉल्ट बाएँ-से-दाएँ असाइनमेंट उन सभी शॉट पर लागू होता है जिनमें प्रत्येक विषय मौजूद है। प्रत्येक नए व्यक्ति के लिए एक फ़ोटो दें।
promptवैकल्पिक
प्रकारstring | null
≤ 2,000 अक्षर
व्यक्ति-प्रतिस्थापन और संरक्षित या संशोधित किए जाने वाले अन्य तत्वों को निर्दिष्ट करने वाले वैकल्पिक निर्देश।
resolutionवैकल्पिक
प्रकारenum
डिफ़ॉल्ट1080P
768P1080P
seedवैकल्पिक
प्रकारinteger | null
≥ 0
रैंडम निर्माण के लिए सीड; इसे खाली छोड़ने पर एक का रैंडम चयन किया जाता है।
enhance_realismवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
यथार्थवाद संवर्द्धन, जो स्पष्ट रूप से सक्षम किए बिना अक्षम रहता है, त्वचा की बनावट को अधिक प्राकृतिक बनाता है और प्रतिस्थापित लोगों को दृश्य में बेहतर ढंग से मिलाने में सहायता करता है।
enable_safety_checkerवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
यदि कॉलर अधिकृत है, तो false सेट करके स्क्रीनिंग में ढील दी जा सकती है।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

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

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax/h3-max/recast",
  "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": 4500,
    "usd": "4.50",
    "charged": 4500,
    "refunded": 0
  },
  "input": {
    "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
  },
  "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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/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निर्माण के दौरान लागू किया गया सीड।

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

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