# xAI Grok Imagine Video 1.5 Image to Video API

> Grok Imagine Video 1.5 is xAI's image-to-video AI model. Bring static images to life with fluid animation, consistent character motion, and professional-grade video output.

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

## Facts

- Provider: xAI
- Type: Video model
- Model ID: `xai/grok-imagine-video/1.5/image-to-video`
- Price: From $0.85 per run
- Capabilities: 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": "xai/grok-imagine-video/1.5/image-to-video",
  "image": "https://static.sandbase.ai/examples/xai/grok-imagine-video/1.5/image-to-video/input_image_0.png",
  "prompt": "Medieval knight in ornate armor walking through a mystical forest, bioluminescent plants pulsing with light, ancient stone ruins overgrown with glowing vines, over-the-shoulder camera, dark fantasy aesthetic, volumetric fog and Lumen lighting",
  "duration": 6,
  "resolution": "720p"
}'
```

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 Image to Video through SandBase?

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

Grok Imagine Video 1.5 image-to-video: animate a picture into a 1–15 second clip with native audio.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Up to 4,096 characters. |
| `image` | image URL, required | — | First frame. JPEG, PNG, or WebP URL. |
| `resolution` | `480p` / `720p` | `720p` | Sets the per-second rate. |
| `duration` | integer 1–15 | 6 | Output length in seconds. |

#### Billing

Per output second: $0.08 at 480p and $0.14 at 720p, plus $0.01 per request for the input image.

| Output | 480p | 720p |
|---|---|---|
| 6s (default) | $0.49 | $0.85 |
| 10s | $0.81 | $1.41 |
| 15s | $1.21 | $2.11 |

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/reference-to-video`, `xai/grok-imagine-video/1.5/lite/text-to-video`, `xai/grok-imagine-video/1.5/lite/image-to-video`, `xai/grok-imagine-video/text-to-video` (previous version).
