grok-videolisted
Install: claude install-skill AceDataCloud/Skills
# Grok Video Generation
Generate AI videos through AceDataCloud's Grok (xAI) API.
> **Setup:** See [authentication](../_shared/authentication.md) for token setup.
## Quick Start
```bash
curl -X POST https://api.acedata.cloud/grok/videos \
-H "Authorization: ******" \
-H "Content-Type: application/json" \
-d '{"prompt": "a futuristic city at night with flying cars and neon lights", "model": "grok-imagine-video-1.5-fast:reverse", "callback_url": "https://api.acedata.cloud/health"}'
```
> **Async:** See [async task polling](../_shared/async-tasks.md). Poll via `POST /grok/tasks` with `{"id": "..."}`.
## Models
| Model | Resolution | Default | Notes |
|-------|-----------|---------|-------|
| `grok-imagine-video-1.5-fast:reverse` | up to 1080p | ✓ | Best value. 6–30s, billed by duration tier |
| `grok-imagine-video:reverse` | up to 1080p | | Better value. 1–15s, billed per output second |
| `grok-imagine-video:official` | up to 1080p | | Higher quality. 1–15s, billed per output second |
| `grok-imagine-video-1.5:official` | up to 1080p | | Higher quality, **image-to-video only** (`image_url` required) |
| `grok-imagine-video` | up to 720p | | Base model, text-to-video only |
| `grok-imagine-video-1.5-preview` | up to 720p | | 1.5 preview (grok-video.json surface) |
## Workflows
### 1. Text-to-Video
Generate a video from a text description.
```json
POST /grok/videos
{
"prompt": "a majestic eagle soaring over snow-capped mountains at dawn",
"model": "grok-imagi