grok-imagine-video

Generates videos from text, images, or reference inputs via the Grok Imagine Video API.

Updated May 2, 2026
One-click install
npx skills add https://github.com/Pixazo-AI/skills --skill grok-imagine-video-pixazo-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: grok-imagine-video
Source: https://github.com/Pixazo-AI/skills/tree/main/skills/grok-imagine-video
Command: npx skills add https://github.com/Pixazo-AI/skills --skill grok-imagine-video-pixazo-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating video content programmatically requires handling API authentication, choosing the right generation mode, and polling asynchronous jobs. This Skill gives an AI agent complete instructions to call the Grok Imagine Video API (by xAI) through the Pixazo gateway, so users can generate videos with a single natural-language request. ## Core Features & Use Cases - Multiple generation modes: Supports text-to-video, image-to-video, video-to-video editing, and reference-to-video using @Image1..@ImageN syntax across Grok Imagine Video 1.0, 1.5, and 1.5 Turbo versions. - Guided API key setup: Walks the agent through acquiring a Pixazo API key once and saving it to ~/.pixazo/api-key so it is never requested again. - Async polling workflow: Provides copy-paste-ready curl, Python, and Node.js examples plus a polling loop that waits for the task to complete and surfaces the result URL. - Use Case: A user asks to "create a 6-second anime-style clip of a schoolgirl running through cherry blossoms" and the agent submits the text-to-video request, polls until ready, and returns the video URL. ## Quick Start Ask the agent to generate a short video from a text prompt using Grok Imagine Video, providing your Pixazo API key when prompted.

Frequently Asked Questions about grok-imagine-video

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a video from a text prompt with Grok Imagine Video?▼

Send a POST request to the text-to-video endpoint at gateway.pixazo.ai with your prompt, duration, aspect ratio, and resolution in the JSON body. The API returns a task_id, which you poll until the status is completed and a video URL is available.

What video generation modes does Grok Imagine Video support?▼

It supports text-to-video, image-to-video, video-to-video editing, and reference-to-video using @Image1..@ImageN syntax to position reference images in the prompt. Modes are available across versions 1.0, 1.5, and the 1.5 Turbo preview.

Where do I get a Pixazo API key for video generation?▼

Sign in at api-console.pixazo.ai/api_keys, click Create new key, and copy it. The agent saves it to ~/.pixazo/api-key so you only provide it once.

Why is my Grok Imagine Video request returning a 401 or 402 error?▼

A 401 means the API key is missing or invalid, so generate a fresh key at the Pixazo console. A 402 means your account is out of credits and needs a top-up at the Pixazo dashboard.

How long does Grok Imagine Video generation take?▼

Video generation is asynchronous, so you submit a request and poll the result endpoint every 5 to 10 seconds. The recommended polling cap is about 10 minutes for video tasks before treating the job as failed.