Models

Loading...

MiniMax H3 API

MiniMax H3 video generation from text, frames, or references.

Endpoint

POST https://api.hedra.com/v3/models/minimax-h3

Example request

curl -X POST "https://api.hedra.com/v3/models/minimax-h3" \
  -H "Authorization: Key $HEDRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input": {"prompt": "a cinematic shot of a city at dusk"}}'

Parameters

num_outputsinteger

Number of outputs generated per job. Only 1 is supported.

promptstringrequired

Generation prompt. From 1 to 7000 characters.

resolutionstringrequired

Output resolution.

duration_msintegerrequired

Duration in ms.

start_image

Start frame (image-to-video). At most 10.4 MB.

end_image

End frame (first-last-frame-to-video). At most 10.4 MB.

aspect_ratiostring

Output aspect ratio.

imagesarray

Reference images. 1 to 5 images, each at least 256px on each side and at most 10.4 MB.

videosarray

Reference videos. 1 to 3 videos, each from 2s to 15s and at most 524.2 MB, at most 15s in total.

audiosarray

Reference audios. 1 to 3 audio files, each from 2s to 15s and at most 104.8 MB, at most 15s in total.