> ## 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.

# Wan video API

> Tongyi Wanxiang / Wan async video (wan2.1 480P/720P/1080P).

# Wan video API

| Action | Method | Path |
| - | - | - |
| Create | `POST` | `/v1/video/generations` |
| Get result | `GET` | `/v1/video/generations/{task_id}` |

`/v1/videos` is also accepted. **Host:** `https://api.omniall.ai` · Auth `Authorization: Bearer sk-...`.

| Model | Notes |
| - | - |
| `wan2.1-480P` | 480P |
| `wan2.1-720P` | 720P |
| `wan2.1-1080P` | 1080P |

Supports up to 10 reference images, 5 audios, 5 videos; duration up to 30s.

| Scenario | Key fields |
| - | - |
| Text-to-video | `prompt` + `duration` + `ratio` + optional `generate_audio` |
| Multi-image reference | `images` / `reference_images` |
| Multimodal | `reference_images` + `reference_videos` + `reference_audios` |
| First / last frame | `first_frame` / `last_frame` |

Do not mix `images` with first/last frames.

```bash theme={null}
curl -X POST "https://api.omniall.ai/v1/video/generations" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan2.1-720P",
    "prompt": "Cherry blossoms falling over a quiet temple courtyard",
    "duration": 5,
    "ratio": "16:9"
  }'
```

Full details: **API Reference → Video → Wan video**.


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