# xAI Grok Imagine Video 1.5 Lite Text to Video API

> Grok Imagine Video 1.5 Lite, the low-cost tier of xAI's video model, turns a text prompt into a 1-15 second video with native audio.

Source: https://www.sandbase.ai/models/xai/grok-imagine-video/1.5/lite/text-to-video
API reference: https://www.sandbase.ai/models/xai/grok-imagine-video/1.5/lite/text-to-video/docs

## Facts

- Provider: xAI
- Type: Video model
- Model ID: `xai/grok-imagine-video/1.5/lite/text-to-video`
- Price: From $0.18 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": "xai/grok-imagine-video/1.5/lite/text-to-video",
  "prompt": "Anime schoolgirl bursting out of house door, cherry blossoms blowing, morning light, speed lines indicating rush, chibi-ready expressions, classic shojo aesthetic, vibrant colors",
  "duration": 6,
  "resolution": "720p",
  "aspect_ratio": "16:9"
}'
```

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 xAI Grok Imagine Video 1.5 Lite Text to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "xai/grok-imagine-video/1.5/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 xAI account?

No. One SandBase API key and balance gives you access to xAI Grok Imagine Video 1.5 Lite Text to Video and the other models in the catalog; you do not need to sign up with xAI separately.

## README

### Grok Imagine Video 1.5 Lite Text to Video

Grok Imagine Video 1.5 Lite, the low-cost tier, turns a prompt into a 1–15 second clip with native audio.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Up to 4,096 characters. |
| `aspect_ratio` | `16:9` / `4:3` / `3:2` / `1:1` / `2:3` / `3:4` / `9:16` | `16:9` | Output frame shape. |
| `resolution` | `480p` / `720p` / `1080p` | `720p` | Sets the per-second rate. |
| `duration` | integer 1–15 | 6 | Output length in seconds. |

#### Billing

Per output second: $0.02 at 480p, $0.03 at 720p, $0.14 at 1080p.

| Output | 480p | 720p | 1080p |
|---|---|---|---|
| 6s (default) | $0.12 | $0.18 | $0.84 |
| 10s | $0.20 | $0.30 | $1.40 |
| 15s | $0.30 | $0.45 | $2.10 |

Failed runs are not charged.

#### Prompting

- Describe subject, action, camera, and sound.

#### Also on SandBase

Other Grok Imagine Video 1.5 endpoints: `xai/grok-imagine-video/1.5/text-to-video`, `xai/grok-imagine-video/1.5/image-to-video`, `xai/grok-imagine-video/1.5/reference-to-video`, `xai/grok-imagine-video/1.5/lite/image-to-video`, `xai/grok-imagine-video/text-to-video` (previous version).
