Bỏ qua đến nội dung

H3 Max

Tích hợp

Id mô hình 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"

Yêu cầu này: 0,30 $ 300 tín dụng API Chạy trên trang này

Lấy khóa API
MiniMax Video sang video Đầu vào tham chiếu5–13 stối đa 768p #video-to-video#video-editing#scene-insertion

Chèn một cảnh mới được tạo vào video hiện có tại thời điểm đã chọn, sau đó quay lại cảnh quay gốc

MiniMax · Video

Kết quả đầu tiên của bạn sẽ xuất hiện ở đây

Tạo một yêu cầu bên dưới và chạy bằng khóa API của bạn. Đầu ra được sao chép vào bộ lưu trữ của chúng tôi, giữ vĩnh viễn hoặc 7 ngày miễn phí.

Tạo một yêu cầu

Các điều khiển được tạo từ lược đồ mô hình. Mã và giá sẽ cập nhật khi bạn thay đổi chúng.

0 / 50000
•bắt buộc video_url
Thả tệp hoặc
resolution mặc định 768p
•bắt buộc
•bắt buộc
mặc định 5
Nâng cao images · reference_video_urls · seed · enable_prompt_expansion · color_match
reference_image_urls
Thả tệp hoặc · tối đa 9
Thả tệp hoặc · tối đa 3
POST /run/minimax/h3-max/insert-video?wait=20 báo giá → 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"

Chạy yêu cầu này

Key của bạn vẫn nằm trong trình duyệt này: key chỉ được gửi đến Doitong API và chỉ được lưu trong localStorage nếu bạn chọn Ghi nhớ. Nhận khóa API

Giới thiệu về H3 Max

Chỉnh sửa video nguồn bằng cách thêm một cảnh mới giữa `start_time` và `resume_time` (mỗi giá trị từ 1.625 đến 60 s). Cảnh có thể được định hướng bằng `prompt`, tối đa 9 ảnh tham chiếu và tối đa 3 video tham chiếu. `duration` từ 5 đến 13 giây, đầu ra là 480p hoặc 768p, và `color_match` được bật mặc định để hòa trộn cảnh chèn với nguồn.

Tham số

Gửi tên chuẩn hoặc tên gốc, không gửi cả hai. Tên chuẩn

TênKiểu Mặc địnhĐược phép Mô tả
video_urlbắt buộc video
Kiểuurl · video
prompttùy chọn
Kiểustring | null
≤ 50.000 ký tự
reference_image_urlstùy chọn images
Kiểuurl[] · image
≤ 9 mục
reference_video_urlstùy chọn
Kiểuurl[] · video
≤ 3 mục
start_timebắt buộc
Kiểunumber
1,625 – 60
resume_timebắt buộc
Kiểunumber
≤ 60> 1,625
durationtùy chọn
Kiểunumber
Mặc định5
5 – 13
resolutiontùy chọn
Kiểuenum
Mặc định768p
480p768p
seedtùy chọn
Kiểuinteger | null
0 – 2.147.483.647
enable_prompt_expansiontùy chọn
Kiểuboolean
Mặc địnhtrue
color_matchtùy chọn
Kiểuboolean
Mặc địnhtrue
bắt buộc Tên chuẩn, cũng được chấp nhận

Các tham số tệp nhận URL https:// công khai, URI data: tối đa 10 MB hoặc file_url của một tệp tải lên. Tệp

Đầu ra

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"
  }
}
Tệp của bạn, lựa chọn của bạnMỗi outputs[].url là một bản sao trên bộ lưu trữ của chúng tôi: được giữ vĩnh viễn (tính phí theo GB-tháng) hoặc 7 ngày miễn phí, theo cài đặt tài khoản hoặc ?storage=.
Cùng một cấu trúc trên mọi mô hìnhtype, url, content_type, width, height và duration cho hình ảnh, video và âm thanh. output là đối tượng kết quả riêng của mô hình.
Các trường đầu ra
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

Thêm mô hình: Video sang video

Dành cho tác nhân AI: trang này ở dạng Markdown tại https://doitong.com/vi/developers/models/minimax/h3-max/insert-video.md. Tất cả mô hình và hướng dẫn: https://doitong.com/developers/llms.txt