
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
- 51 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 |
---|
{
"type": "object",
"title": "Input",
"required": [
"duration"
],
"properties": {
"prompt": {
"type": "string",
"title": "Prompt",
"default": "a squirrel surfing while wearing shorts and sunglasses",
"x-order": 0,
"description": "Text prompt for generation"
},
"duration": {
"enum": [
6,
10
],
"type": "integer",
"title": "duration",
"description": "Duration of the video",
"x-order": 2
},
"first_frame": {
"type": "string",
"title": "First Frame",
"format": "uri",
"x-order": 1,
"nullable": true,
"description": "First frame image for video generation. The output video will have the same aspect ratio as this image."
}
}
}
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'