# Wan v2.6 Text to Video

Generate video from text and reference media with Wan v2.6 Text to Video from fal through one Spiral API key. It runs in the background and returns video. Pay as you go, with no subscription.

- Provider: fal
- Category: Video
- Runs: In the background
- Returns: video
- Tool id: `fal` / `wan/v2.6/text-to-video`
- Page: https://spiral.ai/tools/fal/wan/v2.6/text-to-video

## Pricing

`resolution`: 720p $0.13, 1080p (default) $0.195 per second. Billed on `duration`, default 5.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 1 hour
- Longest run, end to end: 930 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `prompt` (required) | text |  | — | The text prompt for video generation. Supports Chinese and English, max 1500 characters. For multi-shot videos, use format: 'Overall description. First shot [0-3s] content. Second shot [3-5s] content.' |
| `audio_url` | URL or file |  | — | URL of the audio to use as the background music. Must be publicly accessible. Limit handling: If the audio duration exceeds the duration value (5, 10, or 15 seconds), the audio is truncated to the first N seconds, and the rest is discarded. If the audio is shorter than the video, the remaining part of the video will be silent. For example, if the audio is 3 seconds long and the video duration is 5 seconds, the first 3 seconds of the output video will have sound, and the last 2 seconds will be silent. - Format: WAV, MP3. - Duration: 3 to 30 s. - File size: Up to 15 MB. |
| `aspect_ratio` | one of | 16:9, 9:16, 1:1, 4:3, 3:4 | 16:9 | The aspect ratio of the generated video. Wan 2.6 supports additional ratios. |
| `resolution` | one of | 720p, 1080p | 1080p | Video resolution tier. Wan 2.6 T2V only supports 720p and 1080p (no 480p). |
| `duration` | one of | 5, 10, 15 | 5 | Duration of the generated video in seconds. Choose between 5, 10, or 15 seconds. |
| `negative_prompt` | text |  |  | Negative prompt to describe content to avoid. Max 500 characters. |
| `enable_prompt_expansion` | true or false |  | true | Whether to enable prompt rewriting using LLM. Improves results for short prompts but increases processing time. |
| `multi_shots` | true or false |  | true | When true, enables intelligent multi-shot segmentation for coherent narrative videos. Only active when enable_prompt_expansion is True. Set to false for single-shot generation. |
| `seed` | number (whole) |  | — | Random seed for reproducibility. If None, a random seed is chosen. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "wan/v2.6/text-to-video",
    "input": {
      "prompt": "Humorous but premium mini-trailer: a tiny fox 3D director proves \"multi-scene\" by calling simple commands that instantly change the set. Extreme photoreal 4K,…"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=fal&model=wan%2Fv2.6%2Ftext-to-video

## Common questions

### Wan v2.6 Text to Video

**How much does Wan v2.6 Text to Video cost?**

`resolution`: 720p $0.13, 1080p (default) $0.195 per second. Billed on `duration`, default 5. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Wan v2.6 Text to Video through an API?**

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "wan/v2.6/text-to-video"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with fal to use Wan v2.6 Text to Video?**

No. Spiral runs it on its own fal account and charges your Spiral balance.

**Can my AI agent use Wan v2.6 Text to Video?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

