Skip to main content
A video model can begin from a still image you supply. The image goes in whichever field that model uses for an opening frame, given as a public URL, a data URI, or an asset_... ID. In the example below, MiniMax H3 calls that field first_frame.
The clip lands on video.url when the run completes. A still from Generate an image already has an asset_id on that run’s outputs. Pass it straight into the next run instead of downloading the file. Models constrain which inputs combine. On MiniMax H3, last_frame requires first_frame, and sending it alone returns error.code: "run.input_role_dependency". Neither frame combines with reference, reference_video, or audio, and sending them together returns error.code: "run.input_role_conflict". Many models expose animation as a separate operation, video.animate, which takes the still on image and requires operation. Check the catalog entry for the model you call.