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

# WAN 3.0 Video: Routes & Request Parameters

> WAN 3.0 video generation across Channels YH, AS, Z, CC, and MG

> [!NOTE]
>
> **Key points for AI agents**
>
> * Endpoint: `POST https://1788.love/v1/videos` with `Authorization: Bearer YOUR_1788_API_KEY`. See [Async tasks](https://docs.1788.love/en/guides/async-tasks.md).
> * Supports text-to-video, image-to-video, and multimodal references (`image_with_roles`, `video_with_roles`, `audio_with_roles`).
> * Resolution: Channels YH and AS take `resolution`; Channel CC supports `1080p` only (omitting `resolution` defaults to `1080p`); Channels Z (`wan3.0-video` fixed `720p`) and MG (`wan-mg-480` / `wan-mg-720`) encode resolution in the model ID (omit `resolution` or match the model ID).
> * When passing reference videos on Channel AS, pass integer `reference_video_duration` (total ref videos ≤ 15s, ref + output ≤ 30s; billed on `ref + output`). Channel MG does not support reference videos.
> * See the [Price List](https://1788.love/pricing) for live rates.

## Routes

| Model ID | Channel | Billing | Resolution | Duration (s) | Aspect ratios | Limits (img / vid / aud) | First / Last frame |
| - | - | - | - | - | - | - | - |
| `wan3.0-yh` | YH | Per sec | `480p` `720p` | 4–30 | `16:9` `9:16` `1:1` `4:3` `3:4` `21:9` | 10 / 5 / 5 | First ✓; last requires first |
| `wan3.0-arts` | AS Fast | Per sec | `480p` `720p` `1080p` | 2–30 | `16:9` `9:16` `1:1` `adaptive` | 10 / 5 / 5 | First ✓; last requires first |
| `wan3.0-arts-prime` | AS Prime | Per sec | `480p` `720p` `1080p` | 2–30 | Same as above | 10 / 5 / 5 | Same as above |
| `wan3.0-video` | Z | Per sec | Fixed `720p` | 6–30 | `16:9` `9:16` `1:1` `adaptive` | 9 / 3 / 3 | First ✓ (as ref) / Last ✗ |
| `w-3-p` | CC Fast | Per req | `1080p` only | 2–30 | `16:9` `9:16` `adaptive` | 10 / 5 / 5 | First ✓ / Last ✓ |
| `w-3` | CC Slow | Per req (cheaper) | `1080p` only | 2–30 | `16:9` `9:16` `adaptive` | 10 / 5 / 5 | First ✓ / Last ✓ |
| `wan-mg-480` | MG | Per req | Fixed `480p` | Fixed 20 | `16:9` `9:16` `1:1` `4:3` `3:4` `21:9` | 10 / **0** / 5 | First ✓ (as ref) / Last ✗ |
| `wan-mg-720` | MG | Per req | Fixed `720p` | Fixed 20 | Same as above | 10 / **0** / 5 | Same as above |

## Example (Multimodal reference on AS Fast)

```bash theme={null}
curl https://1788.love/v1/videos \
  -H "Authorization: Bearer YOUR_1788_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan3.0-arts",
    "prompt": "The model in image 1 walks following the motion in video 1 with audio 1 as background music",
    "duration": 10,
    "resolution": "720p",
    "aspect_ratio": "9:16",
    "image_with_roles": [
      { "url": "https://ruyi6.cn/r/EXAMPLE_A.png", "role": "reference_image" }
    ],
    "video_with_roles": [
      { "url": "https://ruyi6.cn/r/EXAMPLE_C.mp4", "role": "reference_video" }
    ],
    "audio_with_roles": [
      { "url": "https://ruyi6.cn/r/EXAMPLE_D.mp3", "role": "reference_audio" }
    ],
    "reference_video_duration": 6
  }'
```


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