# HeyGen Video Reference to Video

Generate video from text and reference media with HeyGen Video Reference to Video from fal through one Spiral API key. HeyGen Video builds a new 5 to 15 second scene with sound that keeps the products, people or places from your reference images, videos or audio. 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
- Released: 2026-10-20
- Tool id: `fal` / `heygen/heygen-video/reference-to-video`
- Page: https://spiral.ai/tools/fal/heygen/heygen-video/reference-to-video

## Pricing

`resolution`: 480p $0.026, 768p (default) $0.026, 2k $0.078, 1080p $0.078 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 |  | — |  |
| `duration` | number (whole) | 5 to 15 | 5 |  |
| `resolution` | one of | 480p, 768p, 1080p, 2k | 768p |  |
| `prompt_enhancement` | one of | turbo, quality, ultraquality, disabled | turbo |  |
| `seed` | number (whole) | 0 to 4294967295 | — |  |
| `reference_image_urls` | URLs or files |  | — |  |
| `reference_video_urls` | URLs or files |  | — |  |
| `reference_audio_urls` | URLs or files |  | — |  |
| `aspect_ratio` | one of | adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | adaptive |  |

## 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": "heygen/heygen-video/reference-to-video",
    "input": {
      "prompt": "<prompt>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=fal&model=heygen%2Fheygen-video%2Freference-to-video

## Common questions

### HeyGen Video Reference to Video

**How much does HeyGen Video Reference to Video cost?**

`resolution`: 480p $0.026, 768p (default) $0.026, 2k $0.078, 1080p $0.078 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 HeyGen Video Reference to Video through an API?**

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "heygen/heygen-video/reference-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 HeyGen Video Reference to Video?**

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

**Can my AI agent use HeyGen Video Reference to Video?**

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

