minimax-apps/hailuo-02-4k

Hailuo 2: text-to-video and image-to-video model that can make 6s or 10s videos at 4k

Public
76 runs

Run minimax-apps/hailuo-02-4k with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
a squirrel surfing while wearing shorts and sunglasses
Text prompt for generation
first_frame
string
First frame image for video generation. The output video will have the same aspect ratio as this image.
duration
None
Duration of the video

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}
Example API response
View prediction
'https://replicate.delivery/xezq/E01lKIjA1lo8BR6uRD2V7COaLaIMyfJGWfxry7Xe9eNu5fboC/tmpbbk_h0g1.mp4'