# Wan · Image to Video

Generate video from text and reference media with Wan · Image 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` / `fal-ai/wan/v2.7/image-to-video`
- Page: https://spiral.ai/tools/fal/fal-ai/wan/v2.7/image-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` | text |  | — | Text prompt describing the desired video. Max 5000 characters. |
| `image_url` | URL or file |  | — | URL of the first frame image. Formats: JPEG, JPG, PNG, BMP, WEBP. Max 20 MB. |
| `end_image_url` | URL or file |  | — | URL of the last frame image for first-and-last-frame-to-video. Same constraints as image_url. |
| `video_url` | URL or file |  | — | URL of a video clip to continue from. Format: MP4, MOV. Duration: 2-10s. Max 100 MB. Cannot be combined with image_url. |
| `audio_url` | URL or file |  | — | URL of driving audio. Supports WAV and MP3. Duration: 2-30s. Max 15 MB. |
| `resolution` | one of | 720p, 1080p | 1080p | Output video resolution tier. |
| `duration` | one of | 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 | 5 | Output video duration in seconds (2-15). |
| `negative_prompt` | text |  | — | Content to avoid in the video. Max 500 characters. |
| `enable_prompt_expansion` | true or false |  | true | Enable intelligent prompt rewriting. |
| `seed` | number (whole) |  | — | Random seed for reproducibility (0-2147483647). |

## 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": "fal-ai/wan/v2.7/image-to-video",
    "input": {
      "prompt": "The massive humpback whale glides slowly through the deep blue water. It turns gracefully, its huge pectoral fin sweeping through the water like a wing.…"
    }
  }'
```

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

## Common questions

### Wan · Image to Video

**How much does Wan · Image 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 · Image to Video through an API?**

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/wan/v2.7/image-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 · Image to Video?**

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

**Can my AI agent use Wan · Image to Video?**

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

