# xAI Grok Imagine Video 1.5 Lite API

> Grok Imagine Video 1.5 Lite by xAI makes a 1 to 15 second video with native audio, up to 1080p, from text or a first frame, from $0.02 per second. Call it from this page, through /v1/run, or with the xAI Videos API at SandBase.

Source: https://www.sandbase.ai/models/x-ai/grok-imagine-video-1.5-lite
API reference: https://www.sandbase.ai/models/x-ai/grok-imagine-video-1.5-lite#api

## Facts

- Provider: xAI
- Type: Video model
- Model ID: `x-ai/grok-imagine-video-1.5-lite`
- Price: From $0.16 per run
- Capabilities: text to video, image 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": "x-ai/grok-imagine-video-1.5-lite",
  "prompt": "A red fox runs through deep snow, the camera tracks beside it, wind and crunching snow",
  "duration": 8,
  "resolution": "480p"
}'
```

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 through SandBase?

Create a SandBase API key, then send requests with the model ID "x-ai/grok-imagine-video-1.5-lite" 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 and the other models in the catalog; you do not need to sign up with xAI separately.

## README

### Grok Imagine Video 1.5 Lite

Grok Imagine Video 1.5 Lite is the low-cost version of [Grok Imagine Video 1.5](/models/x-ai/grok-imagine-video-1.5), from $0.02 per second. It makes a 1 to 15 second clip with native audio from a prompt or a first frame, up to 1080p.

Use the form on this page, call `x-ai/grok-imagine-video-1.5-lite` through `/v1/run`, or call the xAI API below with `model: grok-imagine-video-1.5-lite`. Both bill the same as xAI.

#### Inputs

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string | — | Scene, motion, camera and sound. Required without a first frame. |
| `image` | image | — | First frame. |
| `duration` | integer 1–15 | 8 | Output length in seconds. |
| `resolution` | `480p` / `720p` / `1080p` | `480p` | Sets the per-second rate. |
| `aspect_ratio` | `16:9` / `9:16` / `1:1` / `4:3` / `3:4` / `3:2` / `2:3` / `21:9` / `5:2` | 16:9, or the first frame's shape | Output shape. |

Reference images, a last frame, keyframes and reference audio are not available on Lite.

#### xAI API

SandBase implements xAI's Images and Videos API under `https://api.sandbase.ai/grok/v1`. Requests and responses match [xAI's API reference](https://docs.x.ai/docs/guides/video-generations) field by field, so the xAI SDK or any OpenAI-style HTTP client works after you change the base URL and use your SandBase API key.

| | xAI | SandBase |
|---|---|---|
| Base URL | `https://api.x.ai/v1` | `https://api.sandbase.ai/grok/v1` |
| Create | `POST /videos/generations` | `POST /videos/generations` |
| Retrieve | `GET /videos/{request_id}` | `GET /videos/{request_id}` |
| `model` | `grok-imagine-video-1.5-lite` | `grok-imagine-video-1.5-lite` |

```bash
curl https://api.sandbase.ai/grok/v1/videos/generations \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "grok-imagine-video-1.5-lite", "prompt": "A red fox runs through deep snow", "duration": 8, "resolution": "720p"}'
```

The response is `{"request_id": "..."}`. Poll `GET /grok/v1/videos/{request_id}` every 5 to 10 seconds. `pending` means keep polling; `done` returns `video.url`, `video.duration` and `usage.cost_in_usd_ticks` (the charge in units of 1/10,000,000,000 USD); `failed` and `expired` are final and are not billed. Media can be public HTTPS or `data:` URLs. `output` and `storage_options` are not supported.

#### Billing

Per output second: $0.02 at 480p, $0.03 at 720p, $0.14 at 1080p. A first frame adds $0.01. Failed runs are not billed.

| Output | 480p | 720p | 1080p |
|---|---|---|---|
| 8s (default) | $0.16 | $0.24 | $1.12 |
| 15s | $0.30 | $0.45 | $2.10 |

#### One mode at a time

- [Grok Imagine Video 1.5 Lite Text to Video](/models/x-ai/grok-imagine-video/1.5/lite/text-to-video)
- [Grok Imagine Video 1.5 Lite Image to Video](/models/x-ai/grok-imagine-video/1.5/lite/image-to-video)

#### Learn more

- [xAI video generation guide](https://docs.x.ai/docs/guides/video-generations): the official request and response reference.
