Bỏ qua đến nội dung

H3 Max Recast

Tích hợp

Id mô hình minimax/h3-max/recast
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/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://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Các tệp như ví dụ: 4,50 $ 4.500 tín dụng API · ≈ 484,11 ₽ tệp của bạn được đo trước khi chạy Chạy trên trang này

Lấy khóa API
MiniMax Video sang video Đầu vào tham chiếutối đa 1080P #video-to-video#video-editing#character-replacement

Thay người trong video bằng người từ ảnh tham chiếu, giữ nguyên chuyển động, camera và âm thanh

Được tạo trên Doitong

Các tác phẩm công khai được cộng đồng Doitong tạo bằng Hailuo 03 New Turbo. Tái sử dụng một lời nhắc chỉ với một lần nhấp.

Tác phẩm công khai được hiển thị: 16
Close-up shot of a striking model with piercing eyes and flawless skin, a white snake elegantly c... Video

Close-up shot of a striking model with piercing eyes and flawless skin, a white snake elegantly coiled around her head and neck, its scales glistening in soft, diffused light. The camera gently zooms in, emphasizing the intricate texture of the snake’s scales and the model’s striking facial...

Animate the stickman drawings into a smooth dance animation. The simple black stick figure perfor... Video

Animate the stickman drawings into a smooth dance animation. The simple black stick figure performs fun rhythmic dance moves — waving its arms, bending knees, jumping lightly, spinning, and swaying side to side in time with upbeat music. Keep the white background clean and minimal. The motion...

A hyper-realistic, cinematic transformation sequence of the man in the uploaded image, sitting in... Video

A hyper-realistic, cinematic transformation sequence of the man in the uploaded image, sitting in meditation inside a traditional Japanese room. The atmosphere begins to tremble slightly as soft blue light flows around him. From the ground, thousands of magnetic nano-particles rise, shimmering...

A cinematic transformation video of the man. The scene begins with him standing naturally, then l... Video

A cinematic transformation video of the man. The scene begins with him standing naturally, then looking down at his hands as glowing holographic projections appear around his body. Mechanical parts of the Iron Man armor start assembling piece by piece with smooth animation: chest plate forming,...

An ultra-epic anime cinematic of Luffy’s greatest enemy unleashing a terrifying blind rage, rampa... Video

An ultra-epic anime cinematic of Luffy’s greatest enemy unleashing a terrifying blind rage, rampaging uncontrollably against nature itself. His gigantic body is surrounded by a storm of black and crimson energy, crackling with lightning that scorches the ground. His roar shakes the heavens,...

A fair-skinned red-haired woman with freckles tightly embraces a majestic white tiger with faint ... Video

A fair-skinned red-haired woman with freckles tightly embraces a majestic white tiger with faint reddish stripes. They remain close, perfectly synchronized in stillness. The woman blinks slowly, slightly tilting her head with a serious and intense expression. The tiger breathes gently — its...

The snowboarder is riding across massive, fluffy white clouds as if they were snow-covered mounta... Video

The snowboarder is riding across massive, fluffy white clouds as if they were snow-covered mountains, with dramatic lighting and deep shadows adding volume and realism. The background shows a stunning blue sky with scattered soft clouds and subtle light rays. crisp cinematic quality, vivid...

Video

Используй это изображение как точный референс. Вертикальное реалистичное видео 9:16, тёплая кинематографичная ночная сцена в спальне. Полностью сохранить лица Ани и Павла, их внешность, причёски, одежду, освещение, кровать, панорамные окна и ночной город. Камера статичная, средний крупный план....

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 / 2000

Hướng dẫn tùy chọn chỉ định việc thay thế người và các thành phần khác cần giữ nguyên hoặc chỉnh sửa.

•bắt buộc video_url
Thả tệp hoặc

Video nguồn với mỗi cảnh quay tối đa 15 giây và tổng thời lượng từ 5 đến 30 giây.

•bắt buộc reference_image_urls
Thả tệp hoặc · tối đa 4

Ảnh thay thế người: phép gán trái sang phải mặc định cho các chủ thể chính của video áp dụng trên tất cả cảnh quay có chứa từng chủ thể. Cung cấp một ảnh cho mỗi người mới.

resolution mặc định 1080P
Nâng cao seed · enhance_realism · enable_safety_checker

Seed dùng cho tạo sinh ngẫu nhiên; để trống sẽ chọn ngẫu nhiên.

POST /run/minimax/h3-max/recast?wait=20 báo giá → 4,50 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/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://api.doitong.ru/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 Recast

Tạo lại video nguồn dài 5 đến 30 giây (không cảnh quay nào dài quá 15 giây) bằng 1 đến 4 ảnh tham chiếu, mỗi ảnh tương ứng một người mới. Theo mặc định, các nhân vật mới thay thế người chính từ trái sang phải. `prompt` tùy chọn (tối đa 2000 ký tự) chỉ định ai thay cho ai, `resolution` là 768P hoặc 1080P, còn `enhance_realism` cải thiện kết cấu da và khả năng hòa trộ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
Video nguồn với mỗi cảnh quay tối đa 15 giây và tổng thời lượng từ 5 đến 30 giây.
reference_image_urlsbắt buộc images
Kiểuurl[] · image
≤ 4 mục
Ảnh thay thế người: phép gán trái sang phải mặc định cho các chủ thể chính của video áp dụng trên tất cả cảnh quay có chứa từng chủ thể. Cung cấp một ảnh cho mỗi người mới.
prompttùy chọn
Kiểustring | null
≤ 2.000 ký tự
Hướng dẫn tùy chọn chỉ định việc thay thế người và các thành phần khác cần giữ nguyên hoặc chỉnh sửa.
resolutiontùy chọn
Kiểuenum
Mặc định1080P
768P1080P
seedtùy chọn
Kiểuinteger | null
≥ 0
Seed dùng cho tạo sinh ngẫu nhiên; để trống sẽ chọn ngẫu nhiên.
enhance_realismtùy chọn
Kiểuboolean
Mặc địnhfalse
Tăng cường tính chân thực, bị tắt trừ khi được bật rõ ràng, giúp kết cấu da tự nhiên hơn và giúp người được thay thế hòa vào cảnh.
enable_safety_checkertùy chọn
Kiểuboolean
Mặc địnhtrue
Có thể nới lỏng việc kiểm duyệt bằng cách đặt thành false, nếu người gọi được cấp quyền.
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/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://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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}Video có dàn nhân vật thay thế và giữ lại âm thanh gốc.
seed
integerSeed được áp dụng trong quá trình tạo sinh.

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/recast.md. Tất cả mô hình và hướng dẫn: https://doitong.com/developers/llms.txt