# grok-video API — WanAPIs

> **Model ID**: `grok-video` · **Provider**: xAI · **Category**: video · **Endpoint**: `POST /v1/video/generations`
> **Live Price**: $0.030 / 秒 (RMB-anchored quota: `¥1 = $1 quota`, ~86% off USD list rates at `$1 ≈ ¥7`).
> **Web Page**: https://wanapis.com/model/grok-video

xAI 的视频生成能力,基于 Grok Imagine / Aurora,支持文生视频与图生视频并可生成同步音效,面向快速创作短视频的场景。

**Also known as**: xAI grok-video

## Live Pricing & Specs

| Resolution Tier | Quota / sec | Real RMB Paid / sec | Approx. USD / sec (÷7) |
| --- | --- | --- | --- |
| default | $0.030/s | ¥0.03/s | ~$0.0043/s |

## Quickstart (cURL)

```bash
curl https://api.wanapis.com/v1/video/generations \
  -H "Authorization: Bearer $WANAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "grok-video",
  "prompt": "A paper boat crosses a calm lake, slow cinematic tracking shot",
  "duration": 5,
  "resolution": "default"
}'

# Poll until completed / SUCCESS:
curl https://api.wanapis.com/v1/video/generations/<task_id> \
  -H "Authorization: Bearer $WANAPIS_API_KEY"
```

## FAQ

### 如何通过 WanAPIs 调用 grok-video？

在请求头携带 Authorization: Bearer <WANAPIS_API_KEY>，向 https://api.wanapis.com 的 POST /v1/video/generations 传入 model="grok-video" 即可调用。

### grok-video 在 WanAPIs 上如何计费？

当前实时标价：$0.030 / 秒。WanAPIs 采用人民币元锚定额度（¥1 = $1 等价额度，约合美元官方价的 1/7），无月租无保底。

### Claude Code、Codex 等 AI Agent 可以自动接入这个模型吗？

可以。直接把 https://wanapis.com/SKILL.md 发给 Agent，或安装 npx -y @wanapis/mcp；本页也提供纯 Markdown 规格文档 /model/grok-video.md 供 Agent 直接读取。

## Related Links

- Web Landing Page: https://wanapis.com/model/grok-video
- Agent Skill Router: https://wanapis.com/SKILL.md
- Complete Live Pricing (Markdown): https://wanapis.com/pricing.md
- OpenAPI 3.1 Spec: https://wanapis.com/openapi.json
- MCP Server Card: https://wanapis.com/.well-known/mcp.json
