> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omniall.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MAGI-2 video

> MAGI-2 text / image / multimodal reference video via OpenAI Videos async API.

# MAGI-2 video

Call **MAGI-2** through Omniall AI async endpoints:

| Action | Method | Path |
| - | - | - |
| Create video task | `POST` | `/v1/videos` |
| Get video task | `GET` | `/v1/videos/{task_id}` |
| Download video | `GET` | `/v1/videos/{task_id}/content` |

**Host:** `https://api.omniall.ai` · Auth `Authorization: Bearer sk-...`.

## Models

| Model ID | Description |
| - | - |
| `magi-2` | MAGI-2 video (text / image / multimodal reference) |

See the [Model Square](https://omniall.ai/pricing) for availability.

## Request use cases (same create endpoint)

| Scenario | Key fields |
| - | - |
| Text-to-video | `prompt` + `duration` / `seconds` + `aspect_ratio` + `resolution` |
| Image-to-video | add `reference_images` (up to 10) |
| Multimodal reference | add `reference_images` / `reference_videos` / `reference_audios` (combinable) |

Media fields accept public URLs, or files uploaded with create as `multipart/form-data`.

* Duration: integer `duration` (field name `seconds` also accepted), range **4–30**, default **5**
* Resolution: **`1080p`** (default)
* Aspect ratio: `21:9` / `16:9` / `4:3` / `1:1` / `3:4` / `9:16` (default `16:9`)
* `reference_videos`: max 5 clips, total duration ≤ **15**s; `reference_images` max **10**; `reference_audios` max **5**

See the endpoint pages below for details and example dropdowns.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.