Skip to content

MiniMax H3 (Text to Video)

POST/v1/run

Generate native-stereo 2K video from text with MiniMax H3.

Request body

Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.

stringmodelrequired

Model identifier. Set to minimax/h3/text-to-video.

Default: minimax/h3/text-to-video

stringpromptrequired

Text prompt that describes the image or asset to generate.

Default: A cinematic wide shot of an astronaut walking across a red desert at sunset, wind lifting fine dust, with natural footsteps and distant ambient sound.

integerdurationrequired

Request parameter supported by this model.

Allowed values: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

Default: 5

Optional<string>aspect_ratio

Aspect ratio of the generated image.

Allowed values: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16

Default: 16:9

Optional<string>resolution

Output resolution. 768P is generated natively; 2K is upscaled via an in-context regeneration pass.

Allowed values: 768P, 2K

Default: 2K

Optional<boolean>aigc_watermark

Whether to add an AIGC label watermark to the generated video.

Default: false

Response Schema

The submit endpoint returns a run response. If its status is pending or running, poll GET /v1/run/{id} with the returned opaque ID until it reaches a terminal state.

stringidrequired

Opaque SandBase run identifier. Use it exactly as returned; no prefix is guaranteed.

stringstatusrequired

Current public run status.

Allowed values: pending, running, completed, failed, timeout

Optional<string>model

Public SandBase model name used for this run.

Optional<array<object>>outputs

Present only for completed runs. Each object is capability-specific; inspect the selected model schema for its fields.

Optional<object>error

Present only for failed or timeout runs. Contains a public error type and sanitized message.

Optional<string>error.type

Stable public error category.

Optional<string>error.message

Sanitized error message safe to show to clients.

Optional<object>usage

Usage details when available.

Optional<integer>usage.input_image_count

Input image count reported by the MiniMax H3 official completed task.

Minimum: 0

Optional<number>usage.input_seconds

Input video seconds reported by the MiniMax H3 official completed task.

Minimum: 0

Optional<number>usage.output_seconds

Generated video seconds reported by the MiniMax H3 official completed task.

Minimum: 0

Optional<number>usage.total_seconds

Total seconds reported by the MiniMax H3 official completed task.

Minimum: 0

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: text-to-video

stringexecution_moderequired

Execution mode declared by the model registry.

Default: async