Skip to content

inference.minimax.h3.txt2vid.v1

The inference.minimax.h3.txt2vid.v1 job generates a video based on the text prompt provided in the configuration using the MiniMax H3 (Hailuo-03) model.

{
"type": "inference.minimax.h3.txt2vid.v1",
"config": {
"prompt": "puppies in the clouds, 4k"
}
}

The resolution (768P or 2K), aspect_ratio, and duration (4-15 seconds) can be adjusted:

{
"type": "inference.minimax.h3.txt2vid.v1",
"config": {
"prompt": "puppies in the clouds, 4k",
"resolution": "2K",
"aspect_ratio": "9:16",
"duration": 10
}
}

Content moderation is enabled by default and filters NSFW content. Set content_moderation to false to disable it:

{
"type": "inference.minimax.h3.txt2vid.v1",
"config": {
"prompt": "puppies in the clouds, 4k",
"content_moderation": false
}
}
{
"type": "object",
"required": [
"type",
"config"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"inference.minimax.h3.txt2vid.v1"
]
},
"config": {
"type": "object",
"required": [
"prompt"
],
"additionalProperties": false,
"properties": {
"prompt": {
"type": "string",
"minLength": 3,
"maxLength": 7000,
"default": "a dancing cat under moonlight",
"description": "Description of desired output."
},
"content_moderation": {
"type": "boolean",
"default": true,
"description": "Filter NSFW content using MiniMax's content moderation."
},
"resolution": {
"type": "string",
"enum": [
"768P",
"2K"
],
"default": "768P",
"description": "This controls the general quality level of the output. Exact width and height will vary depending on the selected aspect ratio."
},
"aspect_ratio": {
"type": "string",
"enum": [
"16:9",
"4:3",
"1:1",
"3:4",
"9:16",
"21:9"
],
"default": "16:9",
"description": "Controls the approximate aspect ratio of the resulting video."
},
"duration": {
"type": "integer",
"minimum": 4,
"maximum": 15,
"default": 6,
"description": "Duration of the video in seconds."
}
}
}
}
}