مواد پر جائیں

H3 Max

انٹیگریٹ کریں

ماڈل id minimax/h3-max/insert-video
# 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/insert-video?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",
    "start_time": 1.625,
    "resume_time": 2
  }'

# 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"

یہ درخواست: ⁨$0.30⁩ 300 API کریڈٹس اس صفحے پر چلائیں

API کلید حاصل کریں
MiniMax ویڈیو سے ویڈیو حوالہ جاتی ان پٹس5–13 s768p تک #video-to-video#video-editing#scene-insertion

منتخب وقت پر موجودہ ویڈیو میں نیا تیار کردہ منظر داخل کرتا ہے، پھر اصل فوٹیج پر واپس آتا ہے

MiniMax · ویڈیو

آپ کا پہلا نتیجہ یہاں آئے گا

ذیل میں درخواست بنائیں اور اپنی API کلید کے ساتھ چلائیں۔ آؤٹ پٹس ہمارے اسٹوریج میں کاپی ہو جاتے ہیں، ہمیشہ کے لیے یا مفت میں 7 دن تک محفوظ رہتے ہیں۔

درخواست بنائیں

کنٹرولز ماڈل اسکیما سے تیار ہوتے ہیں۔ آپ کے بدلنے کے ساتھ کوڈ اور قیمت اپ ڈیٹ ہوتے ہیں۔

0 / 50000
•لازمی video_url
فائل ڈراپ کریں، یا
resolution ڈیفالٹ 768p
•لازمی
•لازمی
ڈیفالٹ 5
ایڈوانسڈ images · reference_video_urls · seed · enable_prompt_expansion · color_match
reference_image_urls
فائل ڈراپ کریں، یا · 9 تک
فائل ڈراپ کریں، یا · 3 تک
POST /run/minimax/h3-max/insert-video?wait=20 قیمت → ⁨$0.30⁩
# 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/insert-video?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",
    "start_time": 1.625,
    "resume_time": 2
  }'

# 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 کے بارے میں

`start_time` اور `resume_time` کے درمیان نیا منظر شامل کرکے سورس ویڈیو میں ترمیم کرتا ہے (ہر ایک 1.625 سے 60 s)۔ منظر کی رہنمائی `prompt`، زیادہ سے زیادہ 9 حوالہ جاتی تصاویر اور زیادہ سے زیادہ 3 حوالہ جاتی ویڈیوز سے کی جا سکتی ہے۔ `duration` 5 سے 13 سیکنڈ، آؤٹ پٹ 480p یا 768p ہے، اور سورس کے ساتھ انضمام کے لیے `color_match` بطور ڈیفالٹ آن ہے۔

پیرامیٹرز

معیاری نام یا مقامی نام میں سے صرف ایک بھیجیں، دونوں نہیں۔ معیاری نام

نامقسم ڈیفالٹمجاز تفصیل
video_urlلازمی video
قسمurl · video
promptاختیاری
قسمstring | null
≤ 50,000 کریکٹرز
reference_image_urlsاختیاری images
قسمurl[] · image
≤ 9 آئٹمز
reference_video_urlsاختیاری
قسمurl[] · video
≤ 3 آئٹمز
start_timeلازمی
قسمnumber
1.625 – 60
resume_timeلازمی
قسمnumber
≤ 60> 1.625
durationاختیاری
قسمnumber
ڈیفالٹ5
5 – 13
resolutionاختیاری
قسمenum
ڈیفالٹ768p
480p768p
seedاختیاری
قسمinteger | null
0 – 2,147,483,647
enable_prompt_expansionاختیاری
قسمboolean
ڈیفالٹtrue
color_matchاختیاری
قسمboolean
ڈیفالٹtrue
لازمی معیاری نام، یہ بھی قبول ہے

فائل پیرامیٹرز عوامی https:// URL، 10 MB تک کی data: URI، یا اپ لوڈ کے file_url کو قبول کرتے ہیں۔ فائلیں

آؤٹ پٹ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax/h3-max/insert-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": 300,
    "usd": "0.30",
    "charged": 300,
    "refunded": 0
  },
  "input": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "start_time": 1.625,
    "resume_time": 2
  },
  "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42,
    "width": 1024,
    "height": 768,
    "frame_count": 1,
    "duration": 5,
    "start_time": 1.0,
    "resume_time": 1.0,
    "injected_duration": 1.0,
    "expanded_prompt": "string",
    "source": {},
    "timings": {}
  },
  "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, width, height, fps, duration, num_frames}
seed
integer
width
integer
height
integer
frame_count
integer
duration
number
start_time
number
resume_time
number
injected_duration
number
expanded_prompt
string | null
source
object
timings
object

مزید ماڈلز: ویڈیو سے ویڈیو

AI ایجنٹس کے لیے: یہ صفحہ Markdown میں یہاں موجود ہے https://doitong.com/ur/developers/models/minimax/h3-max/insert-video.md. تمام ماڈلز اور گائیڈز: https://doitong.com/developers/llms.txt