Skip to main content
POST
  1. After submission, a task_id will be returned. If you provided a callback_url, when the task status becomes finished or failed, a POST request will be sent to the callback_url.
  2. Regardless of whether callback_url is provided, you can retrieve the result through the unified Query Task Status endpoint.

Optional parameters

  • enable_safety_checker: boolean, defaults to true. Set false to disable it.
  • callback_url: optional webhook URL at the request root. Query task status if you do not use a callback.

Usage Guide

Use minimax/h3-max/reference-to-video. Provide at least one reference image. Optionally add reference video and audio, with at most 12 assets across all lists. Refer to assets as Image 1, Video 1 and Audio 1 in list order. Starting and ending frames cannot be combined with reference assets. Set model and optional callback_url at the request root. Place generation parameters inside input.

Parameter Details

  • prompt: required non-empty string, up to 50,000 characters.
  • duration: integer from 5 through 15 seconds; defaults to 5. Fractional durations are rejected.
  • resolution: 480p, 768p or 1080p; defaults to 768p.
  • aspect_ratio: six fixed ratios (21:9, 16:9, 4:3, 1:1, 3:4, 9:16) or adaptive; defaults to adaptive.
  • reference_image_urls: required array of 1-9 static JPEG, PNG or WebP images, at most 30 MB each. Supported shapes are 1:1, 4:3, 3:4, 16:9, 9:16, 5:2 and 2:5; normalize image orientation before uploading.
  • reference_video_urls: optional array of up to 3 MP4/MOV clips, at most 50 MB each. Each clip must be 2-15 seconds, with at most 15 seconds combined. Clips must use constant 24 fps, square pixels, zero rotation metadata, and a 16:9 or 9:16 shape. After limiting frames to the requested output duration, the counted frames must be 48, 120, 240 or 360. Other timing patterns are rejected.
  • reference_audio_urls: optional array of up to 3 MP3/WAV clips, at most 15 MB each. Each clip must be 2-15 seconds and no longer than the output duration, with at most 15 seconds combined. Audio must be mono or stereo at 32 kHz, with a decoded sample count divisible by 800.
  • All reference URLs must be public HTTP(S) download links. Total assets across the three lists must not exceed 12.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer VIDGO_API_KEY.

Body

application/json
model
string
required
Example:

"minimax/h3-max/reference-to-video"

input
object
required

At most 12 reference assets in total. Reference video and audio require at least one reference image.

callback_url
string<uri>

Optional webhook callback URL.

Response

Task submitted successfully

code
integer
required
Example:

200

data
object
required