wan-video-api / README.md
stimi's picture
Upload 2 files
d9b308e verified
|
Raw History Blame Contribute Delete
1.89 kB
---
license: apache-2.0
language:
- en
tags:
- text-to-video
- image-to-video
- wan
- api
- apimodels
---
# Wan Video — hosted API access
This repository is **not the model weights** — it documents running **Wan Video** through a
hosted API on **[apimodels.app](https://apimodels.app)**, a multi-model gateway where one key and one
OpenAI-compatible endpoint reach 110+ image, video, audio and language models.
- Original model & weights: **https://huggingface.co/Wan-AI**
- Authors: the Wan team (Alibaba Tongyi)
- License: Apache-2.0
Independent hosted-API integration. Not affiliated with or endorsed by the authors; does not
redistribute their weights. All credit for the model is theirs.
## What it does
Alibaba’s open large-scale video generation model, text-to-video and image-to-video at 480p/720p/1080p.
![Wan Video — hosted API access sample](sample-wan.jpg)
*A sample produced through the apimodels.app API.*
## Use it via API
On apimodels.app the model is served as **wan-3.0-video**. Get a key at https://apimodels.app, then:
```bash
# text-to-video (async): create, then poll
curl -X POST https://api.apimodels.app/v1/video/generations \
-H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "wan-3.0-video", "prompt": "aerial shot over ocean waves at sunset", "resolution": "720p", "aspect_ratio": "16:9" }'
# -> { "data": { "taskId": "..." } }
curl "https://api.apimodels.app/v1/video/generations?task_id=TASK_ID" \
-H "Authorization: Bearer YOUR_API_KEY" # state -> completed, resultUrls[]
```
## Pricing
| Tier | Price |
| --- | --- |
| 480p | $0.045 / second |
| 720p | $0.09 / second |
| 1080p | $0.18 / second |
Failed jobs are not charged. Result files are kept for 7 days.
## Links
- Run it: **[apimodels.app](https://apimodels.app)**
- Original model: https://huggingface.co/Wan-AI