# Vidu Q4 Reference to Video · Reference To Video

Generate video from text and reference media with Vidu Q4 Reference to Video · Reference To Video from fal through one Spiral API key. It runs in the background and returns video and images. Pay as you go, with no subscription.

- Provider: fal
- Category: Video
- Runs: In the background
- Returns: video, image
- Tool id: `fal` / `fal-ai/vidu/q4/reference-to-video`
- Page: https://spiral.ai/tools/fal/fal-ai/vidu/q4/reference-to-video

## Pricing

$0.43225 per run at the default inputs. `resolution`: 540p $0.20475, 720p (default) $0.43225, 1080p $0.546, 2K $0.8645, 4K $1.7745. $0.08645 per unit of `duration`.

## 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 |  | — | Text prompt for video generation, max 5000 characters. Refer to references by their position in the lists: [@reference_image_1], [@reference_image_2], ... for images and [reference_audio_1], [reference_audio_2], ... for audio clips. |
| `reference_image_urls` | URLs or files |  | — | URLs or base64 data URIs of up to 12 reference images (png, jpeg, jpg, webp) used to keep subjects consistent. |
| `reference_audio_urls` | URLs or files |  | — | URLs or base64 data URIs of up to 3 mp3 reference audio clips (3-12 seconds each, max 50 MB) used to keep voices consistent. |
| `duration` | number (whole) | 3 to 16 | 5 | Duration of the video in seconds (3-16) |
| `seed` | number (whole) |  | — | Random seed for reproducibility. If None, a random seed is chosen. |
| `aspect_ratio` | one of | 16:9, 9:16, 4:3, 3:4, 1:1 | 16:9 | The aspect ratio of the output video |
| `resolution` | one of | 540p, 720p, 1080p, 2K, 4K | 720p | Output video resolution |
| `audio` | true or false |  | false | Whether to generate audio (dialogue and sound effects) with the video. When false, the output video is silent. |

## 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/vidu/q4/reference-to-video",
    "input": {
      "prompt": "[@reference_image_1] walks along the beach at sunset holding [@reference_image_2], then turns to the camera and speaks in the voice of [reference_audio_1]."
    }
  }'
```

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

## Common questions

### Vidu Q4 Reference to Video · Reference To Video

**How much does Vidu Q4 Reference to Video · Reference To Video cost?**

$0.43225 per run at the default inputs. `resolution`: 540p $0.20475, 720p (default) $0.43225, 1080p $0.546, 2K $0.8645, 4K $1.7745. $0.08645 per unit of `duration`. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Vidu Q4 Reference to Video · Reference To Video through an API?**

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/vidu/q4/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 Vidu Q4 Reference to Video · Reference To Video?**

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

**Can my AI agent use Vidu Q4 Reference to Video · Reference To Video?**

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

