# MiniMax H3 LoRA (`minimax_h3_lora`)

> MiniMax H3 LoRA. H3 with your own LoRA weights (up to 3, URL or Hugging Face repo): text, image or references to video, 480p to 4K, 5-15 seconds.

- Capability: Video (tool `video`) — Text to video, Image to video
- Price: from $0.32 per run (1 credit = $0.01). Exact price for a request: POST https://api.varg.ai/v2/estimate
- Typical time: ~2 min
- JSON Schema: https://api.varg.ai/v2/tools/video?model=minimax_h3_lora (public, no key)
- Try it: https://varg.ai/dashboard/tools/playground?model=minimax_h3_lora

## Call it

REST: `POST https://api.varg.ai/v2/tools/video/call` with `Authorization: Bearer $VARG_API_KEY` (create a key at https://varg.ai/dashboard/api).
It answers `202` with a job right away. Poll `GET /v2/jobs/{id}` until `status` is `completed`, then read `output.outputs[0].url` — or pass `options.webhook_url` and get the finished job POSTed to you.

```bash
curl -X POST https://api.varg.ai/v2/tools/video/call \
  -H "Authorization: Bearer $VARG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax_h3_lora",
  "prompt": "A white kitten chases a butterfly across a sunlit garden.",
  "duration": 5
}'
```

MCP: the varg server `https://mcp.varg.ai/mcp` (OAuth sign-in, no key) runs it with `call_tool`:

```json
{
  "tool": "video",
  "input": {
    "model": "minimax_h3_lora",
    "prompt": "A white kitten chases a butterfly across a sunlit garden.",
    "duration": 5
  },
  "wait": true
}
```

## Inputs

| field | type | required | default | allowed | description |
|---|---|---|---|---|---|
| `model` | string | yes | — | `minimax_h3_lora` or a route key below | Which model runs the job. |
| `prompt` | string | no | — | — | — |
| `files` | array of { url } | no | — | — | — |
| `aspect_ratio` | string | no | — | e.g. 16:9 \| 9:16 \| 1:1 \| 4:3 \| 3:4 \| 21:9 \| auto | — |
| `resolution` | string | no | — | 480p \| 720p \| 1080p \| 4k | Quality tier. Supported by this model: 480p, 720p, 1080p, 4k. Unsupported tiers fall back to the nearest available. |
| `audio` | boolean | no | — | — | Native audio track request. Not supported by this model — ignored if sent. |
| `duration` | integer | no | — | 5–15 | Length in seconds. Supported by this model's routes: fal: integer 5-15. A non-numeric value such as "auto" is routed to a route whose schema accepts it; when none does, the request is rejected. |

Media inputs are URLs. Upload a local file first with `POST /v2/files` and pass the returned URL.

## Provider options

Optional, per provider, under `provider_options.<provider>`. Only the options of the provider that runs the job apply — pin a route to choose it.

### provider_options.fal

| field | type | required | default | allowed | description |
|---|---|---|---|---|---|
| `prompt` | string | no | — | — | Text prompt for video generation |
| `reference_audio_urls` | array of URL strings | no | — | — | — |
| `reference_image_urls` | array of URL strings | no | — | — | — |
| `reference_video_urls` | array of URL strings | no | — | — | — |
| `duration` | integer | no | — | 5–15 | The duration of the video in seconds. |
| `sync_mode` | boolean | no | — | — | Return the generated video as base64 instead of a CDN URL. |
| `resolution` | string | no | — | 480P \| 768P \| 2K \| 4K | — |
| `aspect_ratio` | string | no | — | 21:9 \| 16:9 \| 4:3 \| 1:1 \| 3:4 \| 9:16 \| adaptive | — |
| `enable_safety_checker` | boolean | no | — | — | If set to true, the safety checker will be enabled. |
| `image_url` | string (URL) | no | — | — | — |
| `end_image_url` | string (URL) | no | — | — | — |

## Routes

`"model": "minimax_h3_lora"` picks a route automatically (priority order, then the inputs you send). To pin one, pass its key as `model`.

| model key | provider | modality | price from | typical time |
|---|---|---|---|---|
| `fal:minimax/h3/text-to-video/lora` | fal | text-to-video | $0.32 | ~2 min |
| `fal:minimax/h3/image-to-video/lora` | fal | image-to-video | $0.32 | ~2 min |
| `fal:minimax/h3/reference-to-video/lora` | fal | image-to-video | $0.32 | ~2 min |

---

Catalog version 2026-11-11T12:59:09.901887+00:00. All models: https://varg.ai/models/llms.txt
