青峰智影青峰智影
API ReferenceMirava
AI Model APIVideosMiniMax-H3 Format

Reference Assets

How to use audio and video references with MiniMax-H3, and their limits.

Beyond images, MiniMax-H3 also accepts audio and video as reference assets, used to drive pacing or transfer style.

Audio Reference

Drive the visuals with audio — well suited to music, narration, or rhythm-based videos.

curl -X POST "http://103.36.63.156:3000/v1/videos" \
  -H "Authorization: Bearer sk-xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax_h3",
    "prompt": "Generate an abstract particle-flow animation synced to the audio rhythm",
    "audio_url": "https://example.com/bgm.mp3",
    "duration": 10
  }'

Video Reference

Use an existing video as reference and transfer its motion or style.

Video Reference Only

curl -X POST "http://103.36.63.156:3000/v1/videos" \
  -H "Authorization: Bearer sk-xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax_h3",
    "prompt": "Following the camera movement of the reference video, generate a city street scene",
    "reference_video": "https://example.com/ref.mp4",
    "duration": 6
  }'

Video + Audio Track Reference

Reuse the reference video's audio track at the same time:

{
  "model": "minimax_h3",
  "prompt": "Keep the rhythm of the reference video, replacing the subject with a robot",
  "reference_video": "https://example.com/ref.mp4",
  "reference_video_audio": true,
  "duration": 6
}

Parameter Reference

ParameterTypeDescription
audio_urlstringAudio reference URL
reference_videostringVideo reference URL
reference_video_audiobooleanWhether to reuse the reference video's audio track

Reference Asset Limits

TypeLimitSupported Formats
Audio1mp3 / wav / m4a
Video1mp4 / mov

Reference assets and the prompt should be semantically consistent. The closer the camera movement, pacing, and reference assets described in the prompt, the more stable the result.

How is this guide?