---
title: "xAI AI models — API access via RunAPI"
url: "https://runapi.ai/providers/xai.md"
canonical: "https://runapi.ai/providers/xai.md"
locale: "en"
provider: "xAI"
line_count: 1
variant_count: 4
---

# xAI

Grok Imagine — image and video generation with text-to-image, image-to-video, and editing.

xAI ships Grok Imagine, a creative AI suite covering text-to-image, edit-image, text-to-video, and image-to-video generation with integrated audio support.

## Models

- [Grok Imagine](https://runapi.ai/models/grok-imagine.md) — Image, 4 variants · from $0.020

## Variants

| Model | Variant | Billing | Starting price | URL |
|---|---|---|---|---|
| Grok Imagine | `edit-image` | call | $0.040 | https://runapi.ai/models/grok-imagine/edit-image.md |
| Grok Imagine | `image-to-video` | second | $0.020 | https://runapi.ai/models/grok-imagine/image-to-video.md |
| Grok Imagine | `text-to-image` | call | $0.040 | https://runapi.ai/models/grok-imagine/text-to-image.md |
| Grok Imagine | `text-to-video` | second | $0.020 | https://runapi.ai/models/grok-imagine/text-to-video.md |

## Install

```sh
npm install @runapi.ai/<line>
```

## FAQ

### Is this an official %{provider} integration?

RunAPI exposes a managed API surface with transparent pricing, capability, and error behavior.

### Do I need a %{provider} account?

No — your RunAPI key is enough for managed access.

### What&#39;s the latency overhead from proxying?

Typically under 20 ms. RunAPI keeps the proxy layer close to model execution regions.

### Are images / videos cached?

Generated outputs are stored and retrievable by task ID. Inputs are not cached.

### Can I bring my own key?

Not currently — calls use RunAPI-managed access.

