ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified media Safety 4/5

grok-imagine

Generate images via xAI's Grok Imagine API. Use when the user wants to create AI-generated images using xAI/Grok, or when OpenAI image generation is unavailable.

Why use this skill?

Generate high-quality AI images with xAI's Grok Imagine API using OpenClaw. Streamline your creative workflow with text-to-image and image editing capabilities.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/eddanger/grok-imagine
Or

What This Skill Does

The grok-imagine skill for OpenClaw provides a powerful interface for accessing xAI's Grok Imagine API directly from your terminal or AI workflow. This tool enables users to transform natural language descriptions into high-quality visual content. Whether you need assets for a presentation, design inspiration, or simple experimentation, grok-imagine acts as an integrated pipeline for image synthesis. Beyond basic generation, it supports advanced features like image editing by allowing you to provide an input source, making it a versatile asset for creative tasks.

Installation

To install this skill, run the following command in your terminal: clawhub install openclaw/skills/skills/eddanger/grok-imagine

Ensure you have your xAI credentials ready. You can either export your API key as an environment variable named XAI_API_KEY or add the configuration to your ~/.openclaw/openclaw.json file under the path skills."grok-imagine".apiKey.

Use Cases

This skill is ideal for rapid prototyping, content creation, and creative exploration. Use it to generate concept art for UI/UX projects, create unique social media visuals, or modify existing images with text-based instructions. It is particularly useful as a fallback for users when primary image generation services like DALL-E are unavailable or when specific stylistic outputs unique to Grok models are desired.

Example Prompts

  1. "Generate a cyberpunk city at sunset with neon lighting and flying cars."
  2. "Create four variations of a friendly robot character in a watercolor style."
  3. "Edit this image by adding a vibrant rainbow to the background: /path/to/my_photo.png"

Tips & Limitations

To get the best results, be descriptive with your prompts, focusing on art style, lighting, and composition. Note that this skill requires local write permissions to save files; ensure your output directory is configured correctly to avoid permission errors. Remember that the quality and accuracy of the output depend heavily on the underlying Grok model version. Always review generated outputs for artifacts. If you are generating a large batch of images, monitor your disk space, as multiple high-resolution exports can accumulate quickly in the default temporary directories.

Metadata

Author@eddanger
Stars1100
Views1
Updated2026-02-17
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-eddanger-grok-imagine": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#imaging#grok#xai#generative-art#multimedia
Safety Score: 4/5

Flags: file-write, external-api