# inference.minimax.h3.chili.txt2vid.v0

Source: https://docs.prodia.com/job-types/inference-minimax-h3-chili-txt2vid-v0/

The `inference.minimax.h3.chili.txt2vid.v0` job generates a 24 fps video
with synchronized stereo audio from a text prompt.

```json
{
    "type": "inference.minimax.h3.chili.txt2vid.v0",
    "config": {
        "prompt": "a red fox trotting through a snowy pine forest at golden hour",
        "duration": 6,
        "aspect_ratio": "16:9"
    }
}
```

`prompt` is required and must contain 3–7000 characters. Describe both the
visual scene and the sounds you want to hear.

`duration` accepts whole seconds from 4 to 15 and defaults to 6. The actual
video may be slightly longer than requested: 4 seconds produces about
4.46 seconds, and 15 seconds produces about 15.08 seconds.

`resolution` supports only `768P`, which is also the default. Exact output
dimensions depend on the aspect ratio. `seed` accepts an integer from 0 to
2147483647 for reproducible generation; omit it to use a random seed.

`aspect_ratio` accepts `16:9`, `4:3`, `1:1`, `3:4`, `9:16`, or `21:9`.
The default is `16:9`, producing a 1344×768 video.

## Schema

```json
{
	"type": "object",
	"required": [
		"type",
		"config"
	],
	"additionalProperties": false,
	"properties": {
		"type": {
			"type": "string",
			"enum": [
				"inference.minimax.h3.base.txt2vid.v0",
				"inference.minimax.h3.fast.txt2vid.v0",
				"inference.minimax.h3.base.txt2vid.v1",
				"inference.minimax.h3.fast.txt2vid.v1",
				"inference.minimax.h3.turbo.txt2vid.v0",
				"inference.minimax.h3.hyper.txt2vid.v0",
				"inference.minimax.h3.chili.txt2vid.v0"
			]
		},
		"config": {
			"type": "object",
			"required": [
				"prompt"
			],
			"additionalProperties": false,
			"properties": {
				"prompt": {
					"type": "string",
					"minLength": 3,
					"maxLength": 7000,
					"default": "a dancing cat under moonlight",
					"description": "Description of the desired video and audio."
				},
				"duration": {
					"type": "integer",
					"minimum": 4,
					"maximum": 15,
					"default": 6,
					"description": "Duration of the video in seconds. Rounded up to the model's frame grid (4 s returns 4.46 s, 15 s returns 15.08 s)."
				},
				"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."
				},
				"resolution": {
					"type": "string",
					"enum": [
						"768P"
					],
					"default": "768P",
					"description": "Only 768P is supported: the canvas targets a 768px short edge with a 768x1344 pixel area cap and 32px rounding; exact width and height follow the selected aspect ratio."
				},
				"seed": {
					"type": "integer",
					"minimum": 0,
					"maximum": 2147483647,
					"description": "Seed for reproducible generation. Random when omitted."
				}
			}
		}
	}
}
```
