An OpenAI-compatible interface for automated image generation and editing via the Openclaw Skills framework.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install grok-image-api
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install grok-image-api using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Grok Image API skill provides a streamlined interface for interacting with image endpoints that follow the OpenAI standard. This skill is a core part of the Openclaw Skills ecosystem, allowing users to execute complex image tasks such as text-to-image generation and prompt-based image editing. It is designed to work with any provider exposing /v1/images/generations and /v1/images/edits, ensuring maximum flexibility for developers using various AI backends.
By prioritizing local file management, the skill ensures that generated assets are immediately available for further processing or delivery across communication channels. Whether you are building automated design pipelines or enhancing chat agent capabilities, this skill offers a reliable bridge between raw API calls and actionable local files.
To start using this member of the Openclaw Skills collection, configure your environment and use the bundled Python script:
export IMAGE_API_BASE_URL="https://api.example.com/v1"
export IMAGE_API_KEY="your_api_key_here"
# Generate an image
python3 scripts/grok_image_api.py generate --prompt "a futuristic landscape" --out ./my_image.png
# Edit an image
python3 scripts/grok_image_api.py edit --image ./input.png --prompt "add a flying car" --out ./edited.png
The skill maintains a structured approach to asset management:
| Component | Details |
|---|---|
| Default Path | output/grok-images/ |
| File Naming | Customizable via the --out parameter |
| Payload Types | JSON for generation, Multipart/Form-data for edits |
| Supported Presets | Custom sizes, styles, and model tags as defined by the API |
This structure ensures that Openclaw Skills can reliably track and reuse generated media across different sessions.
Loading
An intelligent comment analysis and reply suggestion tool designed for Xiaohongshu creators and brand managers.

An AI-driven humor engine that delivers jokes in various styles and languages to keep users entertained and engaged.

An expert content engine that transforms raw topics into high-conversion, modular articles using professional copywriting frameworks and real-time research.

An all-in-one automation skill that generates AI copywriting, designs Chinese-style covers, and publishes directly to XiaoHongShu.

A streamlined automation skill that allows AI agents to instantly push text content and reminders to your Flomo inbox via a secure webhook.

A CLI-based Microsoft To Do client for managing tasks and lists through the Microsoft Graph API.








































