Skip to main content
← MiniMax Model name: minimax/h3/reference-to-video
Generation type: video_to_video
Endpoint: POST /api/asset_generator/

Pricing

Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs. These prices assume no billable reference inputs. The charge goes up for each second of reference video (up to 15 seconds) and each reference image beyond the included ones.

Quick start

The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files.

Input parameters

Send these fields in input_params.
string
required
Refer to reference assets by modality and order: Image 1, Image 2, Video 1, Audio 1, etc.Minimum characters: 1. Maximum characters: 7000.
string[]
Up to 9 reference images. First 5 free, each additional image billed separately.Maximum items: 9.
string[]
Up to 3 reference video clips (2-15s each, combined ≤15s). Billed per second.Maximum items: 3.
string[]
Up to 3 reference audio clips (free). Requires at least one image or video reference.Maximum items: 3.
integer
default:5
The duration of the video in seconds.Allowed values: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15.
string
default:"adaptive"
The aspect ratio of the generated video. Use ‘adaptive’ to match reference media.Allowed values: "adaptive", "21:9", "16:9", "4:3", "1:1", "3:4", "9:16".
string
default:"2K"
768P or 2K resolution.Allowed values: "768P", "2K".

Response

The request returns the task with status: "initializing". Poll GET /api/asset_generator/{id}/ until status is done or failed, or pass a webhook_url to be notified. A finished task lists its files in assets and the credits it charged in credits_used.