MiniMax-H3
MiniMax-H3 Context-IR Prompt Enhancement
- Multimodal context understanding that produces an enhanced structured prompt (text only, no video)
- Shares the same media fields and mutual-exclusion rules as H3 video generation
- Token-based billing; typically completes in 20~40 seconds
- Use alone, or as step 1 of the 768P preview → 2K regeneration workflow
POST
Full 2K Workflow (optional): ① Context-IR enhances the prompt → ② MiniMax-H3 with
768P for a preview → ③ Regeneration upscales to 2K. Combined unit prices match direct 2K, with cheaper retries. You can also call this endpoint alone.Authorization
string
required
Bearer Token auth. Get a key from the API Key Management Page.
Overview
Send your idea plus optional media for multimodal understanding; receive a structured, richer prompt.- No video is produced. Result is in
result.prompt(notresult.videos) - Media fields use the same validation rules as video generation (frame vs reference mutual exclusion; audio cannot be alone) so the same inputs can go to generation next
result.prompt as-is to MiniMax-H3 as prompt.
Request Parameters
string
required
Fixed value:
MiniMax-H3-Context-IRstring
required
Original idea text, ≤ 7000 characters
integer
default:"5"
Target video duration (seconds), 4~15, default
5. Affects pacing language in the enhanced prompt.string
Target aspect ratio. Required for text-only input, and cannot be
adaptive.Common values: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, etc.string
First-frame image URL
string
Last-frame image URL
string[]
Reference images (always treated as references), ≤ 9
object[]
Role-tagged images:
first_frame / last_frame / reference_imagestring[]
Reference videos, ≤ 3; each 2~15s, total ≤ 15s
string[]
Reference audio, ≤ 3; cannot be used alone — pair with image or video
Billing
Token-based (only H3-family model billed by tokens):
A typical call (~5.6k input + ~3.4k output tokens) is about $0.0167.
A fixed deposit is pre-charged on submit, then settled against real
prompt_tokens / completion_tokens (refund excess / charge shortfall). Multimodal inputs significantly increase input tokens.
Notes
- Usually 20~40 seconds; poll task status every 3~5 seconds.
- Bad params → sync 400 (no task, no charge); runtime failures go to
failedwith auto refund. - Full workflow notes are on the Regeneration page.
Response
integer
Status code; 200 on success
array
On submit:
status / task_id