שפּרינגען צו אינהאַלט

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 sביז 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"

לויפֿן דעם ריקוועסט

אײַער 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
פארלאנגט קאַנאָנישער נאָמען, אויך אַקצעפּטירט

טעקע־פּאַראַמעטערס נעמען אַן עפֿנטלעכע https:// URL, אַ data: URI ביז 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/yi/developers/models/minimax/h3-max/insert-video.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt