דילוג לתוכן

H3 Max

שילוב

מזהה מודל 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 שניותעד 768p #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"

הרצת הבקשה הזו

המפתח שלך נשאר בדפדפן הזה: הוא נשלח רק אל Doitong API ונשמר ב-localStorage רק אם מסמנים זכור. קבל מפתח 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
חובה שם קנוני, מתקבל גם הוא

פרמטרים של קבצים מקבלים URL ציבורי מסוג https://, כתובת URI מסוג data: בגודל של עד 10 MB, או את 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/he/developers/models/minimax/h3-max/insert-video.md. כל המודלים והמדריכים: https://doitong.com/developers/llms.txt