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

# Wan 3.0 Prime

> Fast Wan 3.0 video generation up to 30 seconds with audio. Same modes and inputs as Wan 3.0, shorter wait times. See parameters, pricing, and API examples.

Generate videos up to 30 seconds using Wan 3.0 Prime, the fast variant of Wan 3.0. It takes the same inputs and modes as the standard model — text-to-video, image-to-video, and reference-to-video with images, videos, audio, documents, or web pages — with significantly faster end-to-end generation.

## Model

```
alibaba/wan-3.0-video-prime
```

## Parameters

Wan 3.0 Prime accepts exactly the same parameters as [Wan 3.0](/models/video/alibaba/wan-3.0-video):

| Parameter              | Type      | Required | Default      | Description                                                                         |
| ---------------------- | --------- | -------- | ------------ | ----------------------------------------------------------------------------------- |
| `mode`                 | string    | No       | `"t2v"`      | `"t2v"`, `"i2v"`, or `"r2v"`                                                        |
| `prompt`               | string    | Depends  | `""`         | Text prompt (max 20,000 chars). Required for T2V and R2V                            |
| `resolution`           | string    | No       | `"1080P"`    | `"480P"`, `"720P"`, or `"1080P"`                                                    |
| `ratio`                | string    | No       | `"adaptive"` | Aspect ratio (T2V/R2V): `"adaptive"`, `"16:9"`, `"4:3"`, `"1:1"`, `"3:4"`, `"9:16"` |
| `duration`             | integer   | No       | `5`          | Output duration in seconds (2-30)                                                   |
| `audio`                | boolean   | No       | `true`       | Generate an audio track for the video                                               |
| `watermark`            | boolean   | No       | `false`      | Add "AI Generated" watermark to the output                                          |
| `seed`                 | integer   | No       | `null`       | Random seed (0-2147483647)                                                          |
| `first_frame_url`      | string    | I2V      | `null`       | First frame image URL (JPEG, JPG, PNG, BMP, WEBP, max 20MB)                         |
| `last_frame_url`       | string    | No       | `null`       | Last frame image URL. Requires `first_frame_url`                                    |
| `reference_image_urls` | string\[] | R2V      | `null`       | Reference images. Up to 10                                                          |
| `reference_video_urls` | string\[] | R2V      | `null`       | Reference videos. Up to 5 clips, 15 seconds total                                   |
| `reference_audio_urls` | string\[] | R2V      | `null`       | Reference audio clips. Up to 5 clips, 15 seconds total                              |
| `file_url`             | string    | R2V      | `null`       | Document URL (PDF, DOCX, PPTX, XLSX, and more). Max 100MB, 50 pages                 |
| `link_url`             | string    | R2V      | `null`       | Web page URL to generate the video from                                             |

Mode rules, input limits, and validation are identical to [Wan 3.0](/models/video/alibaba/wan-3.0-video).

## Example - Text-to-Video

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "alibaba/wan-3.0-video-prime",
    "input": {
      "mode": "t2v",
      "prompt": "A surfer rides a huge wave at golden hour, drone shot",
      "resolution": "1080P",
      "ratio": "16:9",
      "duration": 10
    }
  }'
```

## Example - Image to Video

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "alibaba/wan-3.0-video-prime",
    "input": {
      "mode": "i2v",
      "prompt": "The product rotates slowly on a turntable with soft studio lighting",
      "first_frame_url": "https://example.com/product.png",
      "resolution": "1080P",
      "duration": 5
    }
  }'
```

## Response

```json theme={null}
{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "processing"
  }
}
```

<Note>
  **Volume discounts** are available for almost all models. Reach out at [contact@unifically.com](mailto:contact@unifically.com) to discuss custom pricing.
</Note>
