Skip to content

MiniMax H3 (Image to Video)

POST/v1/run

Generate native-stereo 2K video from a first frame and optional last frame 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/image-to-video.

Default: minimax/h3/image-to-video

stringpromptrequired

Text prompt that describes the image or asset to generate.

Default: The camera slowly pulls back, revealing the full landscape as clouds drift overhead and light shifts across the terrain.

stringimagerequired

The first frame of the generated video.

Optional<string>end_image

Optional last frame for first-to-last keyframe control.

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>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: image-to-video, first-last-frame-to-video

stringexecution_moderequired

Execution mode declared by the model registry.

Default: async