Skip to main content
POST
Asynchronously generate MiniMax H3 videos. Use the shared endpoint POST /v1/videos with one of the models below. On success you get a task_id; poll Query video task and read result.video_url when completed.

Models

Billing is per_second (cost = unit price × duration/seconds). See the model catalog and the cost field on create for live unit prices.

Mode

Describe each asset’s role and index in prompt (e.g. image 1, video 1, audio 1). First/last-frame fields are not supported.

Request fields

Images, videos, and audios combined may total at most 9. References must be public https:// direct links.

Examples

Text-to-video

Single image reference

Image + video + audio

Response

Create returns the shared task payload (task_id, status, cost, …). When the job completes, poll for result.video_url.

Authorizations

Authorization
string
header
required

控制台创建的 API Key,格式:Bearer sk_xxx

Body

application/json
model
string
required

omni-10s, veo3.1-fast, veo3.1-lite, veo3.1-lite-hd, grok-imagine-video-1.5 (and fast/lite), minimax-h3, minimax-h3-max, kling-4.0 / kling-4.0-720p / kling-4.0-1080p, seedance2.0-md, sd2-480p-ac, sd2-720p-ac, seedance2.5-30s, or sd2.5-720p-ac

Example:

"omni-10s"

prompt
string
required
duration

omni-10s: fixed 10; seedance2.0-md: 5/10/15; sd2-*-ac: 4–15; seedance2.5-30s: fixed 30; sd2.5-720p-ac: 4–30

seconds

Alias of duration

aspect_ratio
string
ratio
string

Alias of aspect_ratio

orientation
string

portrait/landscape may imply aspect ratio

size
string
resolution
string

omni-10s is fixed at 720p

first_image
string<uri>

First-frame URL for omni-10s frame mode

last_image
string<uri>

Last-frame URL for omni-10s; use with first_image

images
string<uri>[]
reference_images
string<uri>[]
videos
string<uri>[]
reference_videos
string<uri>[]
reference_video_durations
integer[]

Required with reference videos for kling-4.0; same length as videos; seconds 1–30. Billable seconds = output duration + sum of these values.

Required range: 1 <= x <= 30
reference_audio_durations
integer[]

Required with reference audios for kling-4.0; same length as audios; seconds 5–30 (validation only, not billed).

Required range: 5 <= x <= 30
audios
string<uri>[]
reference_audios
string<uri>[]

Response

200 - application/json

Submitted

code
integer
Example:

20000

msg
string
data
object
Last modified on October 19, 2026