Xpersona
G

grok-imagine

CLAWHUB · Unverified

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

62
Rank
84
Safety
1.3k
Downloads

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

Install and run

Setup complexity: low.

clawhub skill install s1771k6pjxksnjws51x2htfjvd876syh:runapi-grok-imagine
  1. 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.
  2. 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"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

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.

Sponsored

Ads related to grok-imagine and adjacent AI workflows.