grok-imagine
Generate and edit images and videos with Grok Imagine through RunAPI. Use when the user asks an agent to create, edit, animate, or transform media with Grok Imagine. Default to the RunAPI CLI for one-off generation; use SDKs only when the user is integrating RunAPI into an app or backend. Skill: grok-imagine Owner: runapi-ai Summary: Generate and edit images and videos with Grok Imagine through RunAPI. Use when the user asks an agent to create, edit, animate, or transform media with Grok Imagine. Default to the RunAPI CLI for one-off generation; use SDKs only when the user is integrating RunAPI into an app or backend. Tags: latest:0.2.12 Version history: v0.2.12 | 2026-08-21T06:59:57.714Z | user Added
Rank
62
Safety
84
Downloads
1.3k
Updated
Oct 10, 2026
Version
0.2.12
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 10, 2026
- Adoption signal
- 1.3K downloadsadoption · observed Oct 10, 2026
- Latest release
- 0.2.12release · observed Aug 21, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s1771k6pjxksnjws51x2htfjvd876syh:runapi-grok-imagine- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-grok-imagine/snapshot"
Documentation
CLAWHUB
49,922 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: grok-imagine
description: "Generate and edit images and videos with Grok Imagine through RunAPI. Use when the user asks an agent to create, edit, animate, or transform media with Grok Imagine. Default to the RunAPI CLI for one-off generation; use SDKs only when the user is integrating RunAPI into an app or backend."
documentation: https://runapi.ai/models/grok-imagine.md
provider_page: https://runapi.ai/providers/xai.md
catalog: https://runapi.ai/models.md
metadata:
openclaw:
homepage: https://runapi.ai/models/grok-imagine
requires:
bins:
- runapi
install:
- kind: brew
formula: runapi-ai/tap/runapi
bins:
- runapi
envVars:
- name: RUNAPI_API_KEY
required: false
description: Optional RunAPI API key; agents should prefer environment auth or saved CLI config. Browser login is interactive fallback only.
---
# Grok Imagine on RunAPI
## Choose route
- For a one-off artifact or result, use the registered `grok-imagine` service in the `runapi` CLI. If the installed command catalog does not list it, stop and report the missing service instead of inventing a command.
- For an app, backend, worker, library, webhook pipeline, or production codebase, go directly to **Integrate with SDK**. Never shell out to the CLI as the production runtime.
## Discover contract
Authenticate, then inspect the installed command catalog and the selected operation's current contract:
```shell
runapi auth status > auth.json
jq -e '.authenticated == true' auth.json
runapi grok-imagine --help
runapi grok-imagine <operation> --help
curl --fail --location https://runapi.ai/docs/api/grok-imagine/<operation>.md --output contract.md
```
If authentication is false, stop before submitting. Ask the user to provide a valid `RUNAPI_API_KEY`, or import a user-provided key from stdin with `runapi auth import-token --token -`; use interactive browser login only when the user explicitly requests it. Choose `<operation>` only from service help. Treat command help as authoritative for the installed operation, model, and top-level field roster. Treat its API Reference as authoritative for the complete request schema, nested fields, conditional rules, task behavior, and response variants. If the two surfaces disagree, stop and report the contract mismatch instead of guessing.
## Build request
Create `request.json` as valid JSON using only fields accepted by the discovered operation contract. For the chosen model and values, evaluate every applicable conditional rule as a set: satisfy every required field, omit every forbidden field, and stop on unresolved contradictions.
Traverse nested objects and arrays before execution. Close every relationship stated by the discovered contract, including uniqueness constraints and cross-references between nested values.
For a discovered local media input, including file-typed fields and top-level media URL fields, put an agent-readable local file path directly in `request.jso_meta.json
{
"ownerId": "kn70me4rk7jqjt92evshjeb5z18768g7",
"slug": "runapi-grok-imagine",
"version": "0.2.12",
"publishedAt": 1787295597714
}skill-card.md
## Description: Generate and edit images and videos with Grok Imagine through RunAPI. This skill is ready for commercial/non-commercial use. ## Publisher: [runapi-ai](https://clawhub.ai/user/runapi-ai) ### License/Terms of Use: MIT-0 ## Use Case: Developers and external users use this skill to guide agents through one-off Grok Imagine image and video generation, media editing, and SDK integration through RunAPI. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The RunAPI CLI may make authenticated and billable service requests. Mitigation: Use the skill only when RunAPI/Grok Imagine usage is intended, authenticate with approved credentials, and preserve task responses before waiting or retrying. Risk: Generated media files are downloaded from remote service responses and may be unsafe to open blindly. Mitigation: Treat downloaded outputs as untrusted media files and verify that each file is non-empty and has the expected MIME type before reporting completion. Risk: Supplying unsupported request fields or guessing missing contract details can lead to failed or unintended service requests. Mitigation: Inspect the installed command help and current API reference, build requests only from accepted fields, and stop when the contract is missing or contradictory. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/runapi-ai/skills/runapi-grok-imagine) - [RunAPI Grok Imagine homepage](https://runapi.ai/models/grok-imagine) - [Grok Imagine model documentation](https://runapi.ai/models/grok-imagine.md) - [xAI provider documentation](https://runapi.ai/providers/xai.md) - [RunAPI model catalog](https://runapi.ai/models.md) - [Grok Imagine SDK integration](https://github.com/runapi-ai/grok-imagine-sdk) - [Edit image variant](https://runapi.ai/models/grok-imagine/edit-image.md) - [Image 2.0 variant](https://runapi.ai/models/grok-imagine/image-2-0.md) - [Image-to-video variant](https://runapi.ai/models/grok-imagine/image-to-video.md) - [Text-to-image variant](https://runapi.ai/models/grok-imagine/text-to-image.md) - [Text-to-video variant](https://runapi.ai/models/grok-imagine/text-to-video.md) ## Skill Output: **Output Type(s):** [Text, Markdown, Code, Shell commands, Configuration, Guidance] **Output Format:** [Markdown with inline shell commands, JSON request examples, and integration guidance] **Output Parameters:** [1D] **Other Properties Related to Output:** [Guides agents to create request JSON, execute RunAPI CLI or SDK workflows, and verify downloaded image or video files.] ## Skill Version(s): 0.2.12 (source: server release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/runapi-ai/skills/runapi-grok-imagine",
"sourceUrl": "https://clawhub.ai/runapi-ai/skills/runapi-grok-imagine",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T17:02:50.178Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-grok-imagine/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-grok-imagine/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T17:02:50.178Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.3K downloads",
"href": "https://clawhub.ai/runapi-ai/runapi-grok-imagine",
"sourceUrl": "https://clawhub.ai/runapi-ai/runapi-grok-imagine",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T17:02:50.178Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "0.2.12",
"href": "https://clawhub.ai/runapi-ai/runapi-grok-imagine",
"sourceUrl": "https://clawhub.ai/runapi-ai/runapi-grok-imagine",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-21T06:59:57.714Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-grok-imagine/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-grok-imagine/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 0.2.12",
"description": "## Added - Document Image 2.0 text-to-image, segment-map, and segment-backed image editing workflows.",
"href": "https://clawhub.ai/runapi-ai/runapi-grok-imagine",
"sourceUrl": "https://clawhub.ai/runapi-ai/runapi-grok-imagine",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-21T06:59:57.714Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
