Skip to content

inference.minimax.h3.txt2vid.v1

View markdown

The inference.minimax.h3.txt2vid.v1 job generates a video from a text prompt using MiniMax Hailuo 03.

{
"type": "inference.minimax.h3.txt2vid.v1",
"config": {
"prompt": "a red fox trotting through a snowy forest at golden hour"
}
}

Additional configuration:

  • content_moderation (boolean; default True)
  • resolution (string; one of 768P, 2K; default 768P)
  • aspect_ratio (string; one of 16:9, 4:3, 1:1, 3:4, 9:16, 21:9; default 16:9)
  • duration (integer; default 6)

This job type is also available under its partner alias inference.partner.minimax.h3.txt2vid.v1.

{
"type": "object",
"required": [
"type",
"config"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"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."
}
}
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}