---
title: "xAI AI 模型 — RunAPI API 与 Skill 接入"
url: "https://runapi.ai/zh-CN/providers/xai.md"
canonical: "https://runapi.ai/zh-CN/providers/xai.md"
locale: "zh-CN"
provider: "xAI"
line_count: 1
variant_count: 4
---

# xAI

Grok Imagine — 图片和视频生成，覆盖文生图、图生视频和编辑。

xAI 推出 Grok Imagine 创意 AI 套件，覆盖文生图、图像编辑、文生视频和图生视频，集成音频支持。

## Models

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

## Variants

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


## Install a model skill

```sh
npx skills add runapi-ai/<line> -g
```

Replace `<line>` with a model slug from this provider, then use the skill docs, schemas, pricing notes, and setup steps while adding the model feature.

## FAQ

### 这是 %{provider} 官方集成吗？

RunAPI 提供托管 API 接入，定价、能力和错误行为都清晰透明。

### 需要单独的 %{provider} 账号吗？

不需要——RunAPI key 即可使用托管接入。

### 代理会带来多少延迟？

一般在 20 ms 以内。RunAPI 会让代理层尽量靠近模型执行区域。

### 输出会缓存吗？

输出按任务 ID 存储在 R2 供回取。输入不缓存。

### 能自带 key 吗？

目前不支持——调用使用 RunAPI 托管接入。

