- Endpoint:
POST https://refillapi.com/v1/videos(async task) - Prices: MiniMax-H3 · MiniMax-H3-Max
Request
Top-level fields aremodel, prompt and seconds. Resolution, ratio and input media go in metadata.
16:9, 9:16, 1:1, 4:3, 3:4, 21:9, or adaptive (follow the input image or video; needs one). Defaults to adaptive with image or video input and 16:9 for text only. On MiniMax-H3-Max, image-to-video always follows the image.Input media. Each item looks like
{"type": "image_url", "image_url": {"url": "https://..."}, "role": "first_frame"}; for video and audio use video_url / audio_url.role is first_frame, last_frame or reference_image for images, reference_video for videos and reference_audio for audio. MiniMax-H3 accepts up to 9 images and up to 3 videos and 3 audio clips; frames and reference media cannot be mixed. MiniMax-H3-Max accepts only first_frame and last_frame.Text to video
First and last frame
first_frame for first-frame video.
Reference media (MiniMax-H3)
Billing
Per second of output, with one price per resolution.MiniMax-H3: reference videos are billed by their length at the same per-second price; the first 5 images per task are free and extra images are billed per image; reference audio is free.MiniMax-H3-Max: output length only.