by MiniMax

MiniMax H3 reference to video API: up to 9 photos, 3 clips and 3 voice samples in one request for consistent characters. 5 to 15 s with sound, 480p, 768p or 2k.

minimax/h3/reference-to-video
MiniMax H3 AI Video Generator online
  • Up to 2K
  • 4–15s clips
  • Sound included
  • Up to 9 reference images
  • 6 aspect ratios
  • Create Video
  • Image to Video
  • Reference to Video
  • Extend Video

About MiniMax H3

MiniMax H3 reference to video builds a new shot from reference material instead of a first frame: up to 9 images in reference_image_urls, plus up to 3 short clips and 3 audio samples.

Call it with the model name minimax/h3/reference-to-video on POST /jobs/createTask, from $0.155.

Introduction

MiniMax H3 Reference to video — Send a prompt with at least one image or video. A video can be the only reference. H3 returns 4–15 seconds at 480p, 768p or 2K with generated sound.

Choose a mode by starting material

Starting materialMode
A written sceneText to video
An opening imageImage to video
Images or video clipsReference to video

Key features

Give each reference a clear role

Use separate images for the character, outfit, prop or setting. In the prompt, identify which image provides each element. A focused reference set is easier to assess than several images that disagree about the same subject.

Explore a new camera angle

References can guide the appearance of a scene while the prompt asks for a different viewpoint. Check the subject, clothing and environment in the new angle rather than assuming the references fix every detail.

Add motion and audio references

Up to nine images, three videos and three audio clips. Video and audio each have a separate 15-second total limit. For motion alone, name the clip as <Video 1> and describe the movement to follow.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9 · Default: 16:9
duration_secondsNoLength of the generated clip. ≥ 4 · ≤ 15 · Default: 5
enable_prompt_expansionNoThis compatibility flag must remain false; the endpoint does not expand prompts. false · Default: false
promptYesDescribe what you want to make.
reference_audio_urlsNoAudio to match: a voice, music or a rhythm.
reference_image_urlsNoPictures of the people, outfits or places the result should keep.
reference_video_urlsNoClips whose motion, camera or style the result should follow.
resolutionNoChoose an available output size. 480p · 768p · 2k · Default: 768p

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per second
resolution 480p$0.031
resolution 768p$0.042
resolution 2K$0.072

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

Use cases

Develop a recurring character

Reuse a saved set of reference images across shots and change the action or setting in the prompt. The references guide continuity; compare each result with the original character before using it in a sequence.

Combine a subject with a setting

Supply a portrait and a separate location image. Describe where the subject stands, what happens and how the camera moves. Include room tone or other sound in the same brief.

Show a garment or prop in motion

Give the garment or object its own reference image and describe how it is used. Review its shape, colour and small details through the clip, especially when the camera or subject moves.

Prompt guide & pro tips

Map the inputs before the action

Start by assigning the references, for example the character from <Picture 1>, the jacket from <Picture 2> and the location from <Picture 3>. Then describe the shot. Use only the references needed for that brief.

Describe what the images cannot show

Motion, timing, camera movement and sound belong in the prompt. Keep written appearance descriptions consistent with the images, so they do not introduce a conflicting version of the subject.

Change one input at a time

Try the intended reference set at 480p before generating at the delivery resolution. If a result drifts, adjust one reference or one instruction, then compare. A new request produces a new take; it does not refine the same video file.

API quick start

Call the MiniMax H3 API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model minimax/h3/reference-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "minimax/h3/reference-to-video",
  "input": {
    "prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
    "reference_image_urls": [
      "https://media.popnow.ai/influencer/examples/ava.webp"
    ],
    "aspect_ratio": "16:9",
    "resolution": "768p",
    "duration_seconds": 5
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

About the MiniMax H3 Reference to Video endpoint

Bind each file to a role in the prompt ("Picture 1 is the host, Picture 2 is the studio"). Unnamed references are blended loosely and the character drifts.

aspect_ratio is available here, unlike image to video, because there is no opening frame to inherit the shape from.

MiniMax H3 API questions

How much does the MiniMax H3 API cost?

MiniMax H3 starts at $0.155 for a 5-second clip with Reference to Video, its lowest-priced task. Prices by option: 480p $0.031 per second, 768p $0.042 per second, 2K $0.072 per second. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What are the limits of the MiniMax H3 · Reference to Video API?

Clip length: 4–15 s; Resolutions: 480p · 768p · 2K; Aspect ratios: 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9; Reference audio: 3; Reference images: 9. Requests outside these limits are rejected before anything is charged.

More about MiniMax H3