# MiniMax H3 > Model `minimax-h3` on the Advanced Computing gateway API. Output: video. ## Request POST https://advanced-computing.com/api/v1/generations Authorization: Bearer Send `{ "model": "minimax-h3", "input": { ... } }`. The request is asynchronous: it returns 202 with a generation object; poll `GET https://advanced-computing.com/api/v1/generations/{id}` or pass `webhook_url` to be called when it finishes. ## Input fields Unknown fields are rejected with a 400 error. `mode` is required: it names how to generate, and each mode takes its own fields (fields ending in `_url` or `_urls` are input assets). ### Mode `text` - `mode` (string; required; One of: text). How to generate. Each mode takes its own fields. - `prompt` (string; required; 1 to 2000 characters). What to generate, in natural language. - `duration` (integer; optional; 5 to 15; default 5). Length of the output video, in seconds. - `resolution` (string; optional; One of: 768p, 2K; default "768p"). Resolution of the output. - `aspect_ratio` (string; optional; One of: 16:9, 9:16, 1:1; default "16:9"). Width to height ratio of the output. - `seed` (integer; optional; 0 to 2147483647). Fixes the random seed, so the same input repeats its output. ### Mode `frames` - `mode` (string; required; One of: frames). How to generate. Each mode takes its own fields. - `prompt` (string; required; 1 to 2000 characters). What to generate, in natural language. - `first_frame_image_url` (string; required; URL). Image the output starts from. An HTTPS URL, or a data URI of at most 10 MB. - `last_frame_image_url` (string; optional; URL). Image the output ends on. An HTTPS URL, or a data URI of at most 10 MB. - `duration` (integer; optional; 5 to 15; default 5). Length of the output video, in seconds. - `resolution` (string; optional; One of: 768p, 2K; default "768p"). Resolution of the output. - `seed` (integer; optional; 0 to 2147483647). Fixes the random seed, so the same input repeats its output. ### Mode `reference` - `mode` (string; required; One of: reference). How to generate. Each mode takes its own fields. - `prompt` (string; required; 1 to 2000 characters). What to generate, in natural language. - `reference_image_urls` (array; optional; 1 to 9 items). Images the output follows, in order: a prompt can refer to them by position. Each is an HTTPS URL, or a data URI of at most 10 MB; data URIs total at most 20 MB per request. Send at least one image or video. - `reference_video_urls` (array; optional; Exactly 1 items). Videos the output follows, in order: a prompt can refer to them by position. Each is an HTTPS URL. Send at least one image or video. - `reference_audio_urls` (array; optional; Exactly 1 items). Audio the output follows, in order: a prompt can refer to it by position. Each is an HTTPS URL. Send at least one image or video. - `duration` (integer; optional; 5 to 15; default 5). Length of the output video, in seconds. - `resolution` (string; optional; One of: 768p, 2K; default "768p"). Resolution of the output. - `aspect_ratio` (string; optional; One of: 16:9, 9:16, 1:1). Width to height ratio of the output. Left out, the model chooses. - `seed` (integer; optional; 0 to 2147483647). Fixes the random seed, so the same input repeats its output. ## Example requests ### Mode `text` ```bash curl https://advanced-computing.com/api/v1/generations \ -H "Authorization: Bearer $AC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "minimax-h3", "input": { "mode": "text", "prompt": "A chef plates a dessert in one continuous close-up shot", "duration": 10, "resolution": "768p" } }' ``` ### Mode `frames` ```bash curl https://advanced-computing.com/api/v1/generations \ -H "Authorization: Bearer $AC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "minimax-h3", "input": { "mode": "frames", "prompt": "The chef turns from the raw dish to the finished plate", "first_frame_image_url": "https://example.com/raw-dish.jpg", "last_frame_image_url": "https://example.com/finished-plate.jpg", "duration": 10, "resolution": "768p" } }' ``` ### Mode `reference` ```bash curl https://advanced-computing.com/api/v1/generations \ -H "Authorization: Bearer $AC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "minimax-h3", "input": { "mode": "reference", "prompt": "The chef from Image 1 follows the motion in Video 1, timed to Audio 1", "reference_image_urls": [ "https://example.com/chef.jpg" ], "reference_video_urls": [ "https://example.com/motion.mp4" ], "reference_audio_urls": [ "https://example.com/music.mp3" ], "duration": 10, "resolution": "768p" } }' ```