MiniMax H3 Reference-to-Video API

minimax/h3/reference-to-video
2K · 5–15 sec

MiniMax H3 Reference-to-Video API accepts a prompt, up to 9 reference images, 3 reference videos, and 3 optional reference audio clips. Include at least one image or video, then choose a 5–15 second duration and adaptive or fixed framing for the fixed 2K video task.

Input

688/2000
1/9
Reference preview
1/3
1/3
natural-rain-5s.mp3

Output

Ready
5 sec × $0.105/sec + reference media $0.525 = $1.05

Continue with

MiniMax H3 Reference-to-Video API

MiniMax H3 Reference-to-Video API combines a required prompt with public HTTP(S) image, video, and optional audio URLs. A request must include at least one image or video; audio cannot be the only reference type. Successful submission returns an asynchronous fixed-2K video task.

Why Choose MiniMax H3 Reference-to-Video API?

  • Combine three reference-media types.Submit image and video URLs with optional audio URLs in the same request.

  • Use explicit reference limits.Combine up to 9 images, 3 videos, and 3 audio clips in one request.

  • Assign explicit source roles.In the prompt, identify the intended role of each image, video, and audio reference.

  • Choose adaptive or fixed framing.Set aspect_ratio to adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, or 9:16.

  • Fixed 2K output with itemized billing.Generated seconds, billable reference-video seconds, and reference images after the first five are priced separately.

Parameters

ParameterRequirementDescription
promptRequired

Describe the target scene, action, and role of each reference in 1 to 2,000 characters after trimming.

reference_image_urlsConditional, max 9

Up to 9 public HTTP(S) image URLs. At least one image or video is required.

reference_video_urlsConditional, max 3

Up to 3 public HTTP(S) video URLs. Billed video duration contributes to the final cost.

reference_audio_urlsOptional, max 3

Up to 3 public HTTP(S) audio URLs. Audio cannot be submitted without an image or video reference.

durationOptional

Whole generated seconds from 5 through 15.

Default55–15
resolutionFixed

No other resolution is accepted.

Default2K
aspect_ratioOptional

Let the frame adapt or choose a fixed delivery ratio.

adaptive21:916:94:31:13:49:16

How to Use

  1. Choose the source setAdd at least one image or video, then include audio only when sound or rhythm should guide the result.

  2. Assign source rolesState which source defines appearance, motion, setting, camera behavior, or sound.

  3. Describe relationships and actionExplain how the referenced subject, movement, environment, and sound should combine in the new scene.

  4. Set framing and timingChoose adaptive or fixed framing, then select 5 to 15 seconds.

  5. Submit and trackRun the request, then poll the task ID or use a callback URL.

Pricing

Pricing combines generated duration with reference usage. Generated video and billed reference-video time cost 21 credits per second; images after the first five add a separate charge.

UsageRateDetails
Generated video21 credits per secondBefore reference charges, 5 seconds costs 105 credits, 10 seconds costs 210 credits, and 15 seconds costs 315 credits.
Reference video21 credits per billed secondThe backend rounds each reference video down to whole seconds separately, then adds the billed seconds.
Reference images 1 to 5No image surchargeThe first five reference images do not add an image-specific charge.
Reference images 6 to 96.4 credits eachEach image after the first five adds 6.4 credits, up to the nine-image limit.

Best Use Cases

  • Character ConsistencyCarry recognizable character appearance and visual language across new short scenes.

  • Campaign Reference SetsSubmit approved product images, motion examples, and optional audio references in one video request.

  • Product and E-commerce VariantsGuide launch and catalog videos with existing product, environment, and motion references.

  • Game and Film PrevisualizationExplore staging, camera movement, and sound direction from a shared set of creative references.

Pro Tips

  • Use clean references with one obvious subject or purpose whenever possible.
  • Give each source one primary role instead of asking every reference to control the entire result.
  • Describe relationships explicitly, for example: use image one for character appearance, video one for motion, and audio one for sound direction.
  • Use images for appearance and setting, videos for movement and camera behavior, and optional audio for sound direction.
  • Use adaptive framing for mixed source shapes; choose a fixed ratio when the delivery format is known, and allow more time for complex interactions.
  • Remove redundant or conflicting references before adding more media to the request.

Notes

  • Reference audio is optional and is valid only when the request also includes at least one reference image or video.
  • Each reference-video duration is floored separately before billable seconds are added together.
  • Reference-image surcharges begin with the sixth image; the first five have no image surcharge.
  • A successful submission returns a task ID; poll until finished or failed, or provide callback_url.

Frequently Asked Questions about MiniMax H3 Reference to Video API

What is the MiniMax H3 Reference-to-Video API?

MiniMax H3 Reference-to-Video API accepts a prompt with up to 9 reference images, 3 reference videos, and 3 optional reference audio clips, then returns an asynchronous fixed-2K video task. At least one image or video is required, so an audio-only request is rejected.

How do I call the MiniMax H3 Reference-to-Video API?

Send a POST request to /api/generate/submit with a Bearer API key, model set to minimax/h3/reference-to-video, and generation fields inside input. The API returns a task_id immediately; runnable cURL, JavaScript, and Python examples appear in the API tab, with the full schema at https://docs.vidgo.ai/api-manual/video-series/minimax-h3-reference-to-video.

How much does MiniMax H3 Reference-to-Video cost?

Generated video costs 21 credits per second. Each reference video's duration is rounded down separately and billed at 21 credits per second; reference images six through nine add 6.4 credits each. The Run button shows the calculated USD price, or a minimum USD price until a remote reference video's duration is available.

What inputs does MiniMax H3 Reference-to-Video accept?

Key inputs are prompt, reference_image_urls, reference_video_urls, reference_audio_urls, duration, resolution, and aspect_ratio. At least one image or video is required, audio cannot be submitted alone, duration is 5 to 15 whole seconds, and resolution is fixed at 2K. The parameter table above lists the 9/3/3 reference limits, defaults, and adaptive or fixed framing values.

How do I get the generated video?

Poll GET /api/generate/status/{task_id} with the returned task_id until status is finished or failed. When finished, read the video URL from data.files[].file_url; alternatively, include callback_url in the submit request to receive the final result asynchronously.

Which MiniMax H3 API mode should I choose?

Use Reference-to-Video when the request needs several image, video, or optional audio references. Choose Image-to-Video for one required start frame and one optional end frame, or Text-to-Video when the request contains no source media.