Grok Image Generate
Skill by 279458179
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/279458179/grok-image-generateWhat This Skill Does
The Grok Image Generate skill allows the OpenClaw agent to programmatically interface with the Grok Imagine platform to generate AI-powered imagery directly from user prompts. By leveraging headless browser automation (Playwright) combined with desktop control protocols, this skill navigates the Grok web interface, submits image generation requests, manages file downloads via OS-level mouse and keyboard simulation, and facilitates final delivery of the resulting image files to communication channels like Feishu. It effectively bridges the gap between text-based user instructions and high-quality visual content creation within the OpenClaw ecosystem.
Installation
To integrate this capability into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/279458179/grok-image-generate
Ensure that your environment has the necessary Playwright dependencies and Desktop Control permissions configured before running the installation, as the skill requires interaction with both web elements and local file system paths.
Use Cases
This skill is ideal for users who need to automate the creation of assets for reports, social media posts, or creative projects without manually logging into web interfaces. It is particularly effective for users who want to "fire and forget" requests, allowing the AI to handle the nuances of web navigation, image saving, and file routing to centralized workspaces for later retrieval or immediate sharing via messaging platforms.
Example Prompts
- "用 Grok 生成一张充满未来感的赛博朋克城市图片"
- "帮我画个图,主题是关于航天员在火星种土豆"
- "生成一张极简主义风格的咖啡厅设计图片"
Tips & Limitations
- Wait Times: AI image generation is not instantaneous; ensure your agent scripts include appropriate wait times (typically 8-10 seconds) to allow the image to finish rendering before triggering download operations.
- UI Stability: Because this skill relies on web-based DOM interaction, any updates to the Grok website structure may require you to update the input field or button references in your script.
- File Management: For the best experience, configure your script to automatically move images to the
~/.openclaw/workspace/images/directory. This standardizes your file management and ensures the message tools can reliably access and attach the files to your communication threads. - Quota Awareness: Keep in mind that Grok Imagine may have usage limits based on your subscription tier, which could affect the agent's performance during high-volume requests.
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-279458179-grok-image-generate": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read
Related Skills
whisper-asr
本地 Whisper 语音识别配置。自动将飞书/Telegram 等渠道的语音消息转成文字。 适用于需要离线、低延迟语音转文字的场景。
xhsmander
小红书自动化发布技能。通过 Docker 容器中的 xiaohongshu-mcp 服务,实现登录、发布图文、搜索、互动等操作。 当用户提到发小红书、发笔记、发布内容、扫码登录小红书、小红书自动化、小红书发布时使用此技能。
lyric-writer
歌词创作技能。根据给定的主题或情感,创作适合 Suno AI 音乐生成的英文歌词,包含 lyrics 和 styles 参数。触发条件:用户要求写歌词、创作歌词、suno 歌词、English lyrics 等。
minimax-music-generation
使用 MiniMax API 生成创意音乐。当用户要求生成音乐、创作歌曲、制作背景音乐时使用。支持纯音乐和人声歌曲,可指定风格、情绪和场景。
gaode_map
A skill to interact with Gaode Map (AMap) for location search and route planning.