# Google Veo 3.1 Fast Text to Video API

> Veo3.1 Fast is Google's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.

Source: https://www.sandbase.ai/models/google/veo3.1/fast/text-to-video
API reference: https://www.sandbase.ai/models/google/veo3.1/fast/text-to-video/docs

## Facts

- Provider: Google
- Type: Video model
- Model ID: `google/veo3.1/fast/text-to-video`
- Price: From $0.80 per run
- Capabilities: text to video
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "google/veo3.1/fast/text-to-video",
  "prompt": "Two person street interview in New York City.\nSample Dialogue:\nHost: \"Did you hear the news?\"\nPerson: \"Yes! Veo 3.1 is now available on fal. If you want to see it, go check their website.\"",
  "duration": 8,
  "resolution": "720p",
  "aspect_ratio": "16:9",
  "generate_audio": true
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call Google Veo 3.1 Fast Text to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "google/veo3.1/fast/text-to-video" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate Google account?

No. One SandBase API key and balance gives you access to Google Veo 3.1 Fast Text to Video and the other models in the catalog; you do not need to sign up with Google separately.

## README

### Veo 3.1 Fast Text to Video

Veo 3.1 Fast text-to-video, the faster, lower-cost Veo 3.1 tier. Write a scene and get back a 4, 6, or 8 second clip with native audio: dialogue, music, and sound effects generated alongside the picture.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Up to 20,000 characters. |
| `duration` | 4 / 6 / 8 | 8 | Output length in seconds. |
| `resolution` | `720p` / `1080p` / `4k` | `720p` | Sets the per-second rate. |
| `aspect_ratio` | `16:9` / `9:16` | `16:9` | Output frame shape. |
| `generate_audio` | boolean | true | Native dialogue, music, and effects; turning it off lowers the rate. |
| `negative_prompt` | string | — | What to avoid. |
| `seed` | integer 0–4294967295 | random | Fix it to compare prompt changes. |

#### Billing

You pay for output seconds, Google's list price. With audio: $0.10 at 720p, $0.12 at 1080p, $0.30 at 4k. Without audio: $0.08 / $0.10 / $0.25 respectively.

| Output | 720p | 1080p | 4k |
|---|---|---|---|
| 4s with audio | $0.40 | $0.48 | $1.20 |
| 6s with audio | $0.60 | $0.72 | $1.80 |
| 8s with audio (default) | $0.80 | $0.96 | $2.40 |
| 8s without audio | $0.64 | $0.80 | $2.00 |

Failed runs are not charged.

#### Prompting

- Describe subject, action, setting, camera, and light, then the sound.
- Put dialogue in quotes and name the speaker.
- Use `negative_prompt` for things to keep out of frame.

#### Limits

- Clips are 4, 6, or 8 seconds; chain `video-extend` calls for longer shots.
- Use Veo 3.1 for the highest quality.

#### Also on SandBase

Other Veo 3.1 Fast endpoints: `google/veo3.1/fast/image-to-video`, `google/veo3.1/fast/first-last-frame-to-video`, `google/veo3.1/fast/reference-to-video`, `google/veo3.1/fast/video-extend`, `google/veo3.1/text-to-video`, `google/veo3.1/lite/text-to-video`.
