# Google Veo 3.1 Lite Text to Video API

> Veo3.1 Lite 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/lite/text-to-video
API reference: https://www.sandbase.ai/models/google/veo3.1/lite/text-to-video/docs

## Facts

- Provider: Google
- Type: Video model
- Model ID: `google/veo3.1/lite/text-to-video`
- Price: From $0.40 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/lite/text-to-video",
  "prompt": "A massive blue whale glides through crystal-clear deep ocean water, sunlight rays piercing through the surface above, bioluminescent plankton scattered around, cinematic slow motion",
  "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 Lite Text to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "google/veo3.1/lite/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 Lite Text to Video and the other models in the catalog; you do not need to sign up with Google separately.

## README

### Veo 3.1 Lite Text to Video

Veo 3.1 Lite text-to-video, the lowest-cost Veo 3.1 tier for high-volume drafts. 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` | `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.05 at 720p, $0.08 at 1080p. Without audio: $0.03 / $0.05 respectively.

| Output | 720p | 1080p |
|---|---|---|
| 4s with audio | $0.20 | $0.32 |
| 6s with audio | $0.30 | $0.48 |
| 8s with audio (default) | $0.40 | $0.64 |
| 8s without audio | $0.24 | $0.40 |

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.
- No 4K on this tier.

#### Also on SandBase

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