Bỏ qua đến nội dung

MiniMax H3 Image to Video

Tích hợp

Id mô hình minimax/h3/image-to-video
# 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/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Ultra cinematic wide shot: A vast field of burning embers stretches into darkness. Suddenly, an enormous wall of fire races across the ground, sending billions of glowing sparks into the air. The flames twist into a gigantic rotating fire vortex hundreds of feet high. Molten embers, smoke, and liquid fire spiral together, naturally forging the word \"IGNITE\" from blazing flames. The letters burn brighter and brighter before erupting into a colossal shockwave that fills the screen with fire and incandescent particles. Hollywood fire simulation, ultra-realistic VFX, blockbuster title reveal.",
    "duration": 5,
    "resolution": "480P",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_j9dik7xsuoammbgw6brdgafv/0-YyIruCJVEfXsz3wKufKD7_kmRHee8d.png"
  }'

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

Yêu cầu này: 0,25 $ 250 tín dụng API · ≈ 26,89 ₽ Chạy trên trang này

Lấy khóa API
MiniMax Hình ảnh sang video Đầu ra 4K5–15 stối đa 4K #motion#first-last-frame

Tạo chuyển động từ khung hình đầu, khung hình cuối hoặc cả hai thành đoạn MiniMax H3 dài 5 đến 15 giây, tối đa 4K.

Ví dụ

Đầu vào
Đầu ra · ~36 s

Lời nhắcUltra cinematic wide shot: A vast field of burning embers stretches into darkness. Suddenly, an enormous wall of fire races across the ground, sending billions of glowing sparks into the air. The flames twist into a gigantic rotating fire vortex hundreds of feet high. Molten embers, smoke, and liquid fire spiral together, naturally forging the word "IGNITE" from blazing flames. The letters burn brighter and brighter before erupting into a colossal shockwave that fills the screen with fire and incandescent particles. Hollywood fire simulation, ultra-realistic VFX, blockbuster title reveal.

5 s480P0,25 $ · 250 tín dụng API

Lời nhắc từ @CharaspowerAI trên X

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.

•bắt buộc 595 / 50000

Hướng dẫn dạng văn bản để tạo video.

image_url
Thả tệp hoặc

URL hình ảnh tùy chọn xác định khung hình mở đầu và canvas đầu ra. Nếu chỉ cung cấp end_image_url, khung hình kết thúc của nó sẽ xác định canvas. Nếu không có hình ảnh nào, tạo sinh sử dụng text-to-video với tỷ lệ khung hình mặc định là 16:9.

resolution

Chọn độ phân giải video được tạo, trong đó 2K và 4K đạt được bằng cách nâng cấp nền 768P. Chọn 480P hoặc 768P sẽ sử dụng tạo sinh gốc.

Độ dài video, đo bằng giây.

Nâng cao prompt_expansion_mode · target_audio_url · end_image · seed
mặc định balanced

Mức độ viết lại lời nhắc trước khi tạo sinh: chọn 'quality' để có lời nhắc phong phú hơn, mất tối đa khoảng 30 giây, hoặc 'fast' để nhận kết quả trong khoảng một giây. Với 'balanced', lựa chọn được thực hiện theo từng yêu cầu; 'disabled' tắt mở rộng.

Thả tệp hoặc

Nhạc nền thay thế tùy chọn được cung cấp qua URL HTTP(S) hoặc data URI base64; đoạn âm thanh phải dài ít nhất 2 giây và không lớn hơn 15 MB. Âm thanh được cung cấp thay thế nhạc nền đã tạo với tốc độ phát không đổi: phần thời lượng dư bị cắt ở cuối, còn đoạn ngắn hơn được đệm im lặng để khớp với video. Có thể lấy mẫu lại thành 96 kHz đối với tốc độ lấy mẫu đặc biệt cao.

end_image_url
Thả tệp hoặc

URL hình ảnh khung hình cuối tùy chọn, có thể dùng ngay cả khi không có hình ảnh bắt đầu. Ở chế độ keyframe chỉ có điểm cuối này, hình ảnh xác định canvas đầu ra.

Seed dùng cho tạo sinh ngẫu nhiên; nếu bỏ qua, một seed sẽ được chọn ngẫu nhiên.

POST /run/minimax/h3/image-to-video?wait=20 báo giá → 0,25 $
# 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/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Ultra cinematic wide shot: A vast field of burning embers stretches into darkness. Suddenly, an enormous wall of fire races across the ground, sending billions of glowing sparks into the air. The flames twist into a gigantic rotating fire vortex hundreds of feet high. Molten embers, smoke, and liquid fire spiral together, naturally forging the word \"IGNITE\" from blazing flames. The letters burn brighter and brighter before erupting into a colossal shockwave that fills the screen with fire and incandescent particles. Hollywood fire simulation, ultra-realistic VFX, blockbuster title reveal.",
    "duration": 5,
    "resolution": "480P",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_j9dik7xsuoammbgw6brdgafv/0-YyIruCJVEfXsz3wKufKD7_kmRHee8d.png"
  }'

# 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

Được tạo trên Doitong

Các tác phẩm công khai được cộng đồng Doitong tạo bằng MiniMax H3. 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, тёплая кинематографичная ночная сцена в спальне. Полностью сохранить лица Ани и Павла, их внешность, причёски, одежду, освещение, кровать, панорамные окна и ночной город. Камера статичная, средний крупный план....

Giới thiệu về MiniMax H3 Image to Video

MiniMax H3 image-to-video nhận khung hình đầu, khung hình cuối hoặc cả hai và bổ sung chuyển động sống động, giàu biểu cảm; canvas tuân theo hình ảnh bạn cung cấp. 480P hoặc 768P gốc, với bản nâng cấp 2K và 4K từ kết quả 768P, 5 đến 15 giây, tùy chọn viết lại lời nhắc và nhạc nền tùy chọn để ghim làm nhạc phim.

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ả
promptbắt buộc
Kiểustring
≤ 50.000 ký tự
Hướng dẫn dạng văn bản để tạo video.
durationtùy chọn
Kiểuinteger
Mặc định5
5 – 15
Độ dài video, đo bằng giây.
resolutiontùy chọn
Kiểuenum
Mặc định2K
480P768P2K4K
Chọn độ phân giải video được tạo, trong đó 2K và 4K đạt được bằng cách nâng cấp nền 768P. Chọn 480P hoặc 768P sẽ sử dụng tạo sinh gốc.
seedtùy chọn
Kiểuinteger | null
Seed dùng cho tạo sinh ngẫu nhiên; nếu bỏ qua, một seed sẽ được chọn ngẫu nhiên.
prompt_expansion_modetùy chọn
Kiểustring | null
Mặc địnhbalanced
Mức độ viết lại lời nhắc trước khi tạo sinh: chọn 'quality' để có lời nhắc phong phú hơn, mất tối đa khoảng 30 giây, hoặc 'fast' để nhận kết quả trong khoảng một giây. Với 'balanced', lựa chọn được thực hiện theo từng yêu cầu; 'disabled' tắt mở rộng.
target_audio_urltùy chọn
Kiểuurl · audio
Nhạc nền thay thế tùy chọn được cung cấp qua URL HTTP(S) hoặc data URI base64; đoạn âm thanh phải dài ít nhất 2 giây và không lớn hơn 15 MB. Âm thanh được cung cấp thay thế nhạc nền đã tạo với tốc độ phát không đổi: phần thời lượng dư bị cắt ở cuối, còn đoạn ngắn hơn được đệm im lặng để khớp với video. Có thể lấy mẫu lại thành 96 kHz đối với tốc độ lấy mẫu đặc biệt cao.
image_urltùy chọn image
Kiểuurl · image
URL hình ảnh tùy chọn xác định khung hình mở đầu và canvas đầu ra. Nếu chỉ cung cấp end_image_url, khung hình kết thúc của nó sẽ xác định canvas. Nếu không có hình ảnh nào, tạo sinh sử dụng text-to-video với tỷ lệ khung hình mặc định là 16:9.
end_image_urltùy chọn end_image
Kiểuurl · image
URL hình ảnh khung hình cuối tùy chọn, có thể dùng ngay cả khi không có hình ảnh bắt đầu. Ở chế độ keyframe chỉ có điểm cuối này, hình ảnh xác định canvas đầu ra.
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/image-to-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": 250,
    "usd": "0.25",
    "charged": 250,
    "refunded": 0
  },
  "input": {
    "prompt": "The camera slowly pulls back as the fox runs off the path into the misty forest, fireflies scatter",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "duration": 6,
    "resolution": "768P"
  },
  "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
    },
    "expanded_prompt": "string"
  },
  "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 do mô hình tạo ra.
expanded_prompt
string | nullLời nhắc mở rộng sẵn sàng cho mô hình hoặc null nếu không có văn bản mở rộng. Các trường hợp null gồm mở rộng bị tắt, mở rộng không tạo ra thay đổi và mở rộng được xử lý nội bộ bởi API được lưu trữ của mô hình.

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