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

Response Schema

The submit endpoint returns an accepted generation task. Poll the result endpoint with the returned id for terminal outputs or errors.

Optional<string>error

Structured error returned when the task fails.

stringidrequired

Unique identifier for the submitted request or completed response.

Optional<string>model

Model identifier used for this request.

Optional<array>outputs

Generated output items returned when the task completes.

stringstatusrequired

Current generation status. Non-terminal responses should be polled until completed, failed, or timeout.

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

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