---
title: "Grok Imagine API — 全部变体、定价与 Model Skill | RunAPI"
url: "https://runapi.ai/zh-CN/models/grok-imagine.md"
canonical: "https://runapi.ai/zh-CN/models/grok-imagine.md"
locale: "zh-CN"
model: "Grok Imagine"
provider: "xAI"
modality: "video"
variant_count: 4
price_from_cents: 2
---

# Grok Imagine API

Grok Imagine API 调用文字生成图片和视频，支持文生图、图生视频及带音频的编辑功能。

**Provider:** xAI
**Modality:** Video
**Catalog:** 4 variants

Grok Imagine 是 xAI 的图像与视频生成套件，涵盖文生图、图像编辑、文生视频和图生视频。借助 xAI Grok 的推理能力，能够理解复杂细腻的提示词。

## Variants

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

## Utility endpoints

| Endpoint | Pricing | Billing |
|---|---|---|
| `extend_video` | $0.300 | call |
| `upscale_image` | $0.100 | call |

## Install the skill

```sh
npx skills add runapi-ai/grok-imagine -g
```

The skill gives your coding tool the model docs, schemas, pricing notes, and setup steps needed to add Grok Imagine features to an application.

## Context

Grok Imagine 是 xAI 基于 Grok 构建的创意 AI 套件，涵盖图像和视频生成。通过 RunAPI，所有 Grok Imagine 端点共享一把 key。

## FAQ

### 应该从哪个变体开始？

选满足质量要求的最便宜变体。多数团队从 fast 起步，生产时升级到 pro。

### 有免费额度吗？

新账户每个模型都有免费调用额度，之后按次计费。

### 支持流式吗？

模型支持流式时，RunAPI 端到端流式。

### 失败怎么计费？

失败的生成不计费。

### 输出会缓存吗？

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

### 可以商用吗？

可以——所有变体默认含商用许可，除非模型许可明确限制；有例外会在变体页面注明。

### 速率限制？

Key 级限流随使用层级伸缩。当前限制见定价页。

### 在哪里报问题？

在公共 GitHub 仓库提 issue 或邮件联系 support。

