Grok Imagine Extended for Openclaw

A comprehensive tool for generating high-fidelity images and cinematic videos using xAI's Grok Imagine Extended models.

ademczuk
v1.1.0
Mar 2, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install grok-imagine-extended

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install grok-imagine-extended using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Grok Imagine Extended?

The grok-imagine skill provides a robust interface for xAI's powerful image and video generation models. It allows developers and users to create visual assets from simple text prompts, perform sophisticated image-to-image editing, and even transform still images into dynamic videos. As part of the Openclaw Skills ecosystem, it bridges the gap between text-based reasoning and multi-modal creation.

This skill is designed for high-performance creative workflows, supporting various aspect ratios, resolutions up to 2k, and professional-grade models like grok-imagine-image-pro. It handles the complexities of asynchronous video generation and local file management automatically, ensuring that generated media is immediately accessible and correctly formatted for downstream use.

Grok Imagine Extended Use Cases

  • Creating custom illustrations or concept art for blog posts and presentations.
  • Transforming existing photographs into different artistic styles (e.g., watercolor or cyberpunk).
  • Generating short, high-quality video clips for social media or marketing previews.
  • Animating static portraits or landscapes with controlled camera movements.
  • Prototyping UI/UX designs and visual assets through iterative prompting.

How Grok Imagine Extended Works

  1. The user initiates a request with a text prompt and optional parameters such as resolution or aspect ratio.
  2. The skill processes the input and selects the appropriate xAI model based on whether an image or video is requested.
  3. For image editing or video animation, the skill handles the upload of source images to the xAI API.
  4. If generating video, the skill enters an asynchronous polling loop, checking the status of the generation until the file is ready.
  5. The generated media is downloaded to the local file system with a unique filename.
  6. The skill outputs the saved path, allowing Openclaw Skills to recognize and display the media in the user interface.

Grok Imagine Extended Setup

To get started with this skill, you need a valid xAI API key. Configure it using one of the following methods:

Set the environment variable in your terminal:

export XAI_API_KEY='your_api_key_here'

Alternatively, add it to your global Openclaw Skills configuration at ~/.openclaw/openclaw.json:

{
  "skills": {
    "grok-imagine": {
      "apiKey": "your_api_key_here"
    }
  }
}

Grok Imagine Extended Data Schema & Taxonomy

The skill manages generated assets locally and provides structured feedback. Below is how data and parameters are organized:

Component Details
Output Formats PNG (2k resolution), JPEG (1k resolution), or MP4 (video)
Aspect Ratios 1:1, 16:9, 9:16, 4:3, 3:4
Model Options grok-imagine-image, grok-imagine-image-pro, grok-imagine-video
Metadata Returns the absolute file path and a MEDIA: trigger for UI integration

Grok Imagine Extended Advanced Features

  • Support for multi-source image editing, allowing up to 3 images to be combined into a single scene.
  • High-resolution 2k output for professional-grade image generation.
  • Variable video duration settings from 1 to 15 seconds with automated polling.
  • Flexible CLI flags for controlling batch size (n=1-10) and specific model selection.
  • Integrated download management that converts temporary xAI URLs into permanent local files.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*