OIP system: Grok / xAI
Grok / xAI
A generated article for one OIP shelf. It lists every operation in this API/CLI/MCP/device/model/core subsystem, links each leaf article, and gives the ledger path for proof.
This page is the operating article for one build subsystem. It is generated from live directory rows. If a task belongs to this subsystem, scan the operations below, open the matching capability article, run only the exact object named there, and verify by receipt.
Kind: model. Capabilities: 9. Machine system map: /api/dispatch?map=GROK&format=markdown. Root: /a/oip.
Operations
GROK_LEDGER_TAIL
Invokable OIP capability. Human article: /a/oip-capability-grok-ledger-tail. Machine doc: ?key=GROK_LEDGER_TAIL&format=markdown. Invocation history: /api/invocations?object_id=GROK_LEDGER_TAIL.
GROK_IMAGE
Generate an image from a text prompt. Returns a JSON url (grok-imagine-image-quality, $0.05/image). Use when: any "make/generate/create an image, picture, photo, or art" request. The whole body is the prompt. Arguments: prompt (free text). Human article: /a/oip-capability-grok-image. Machine doc: ?key=GROK_IMAGE&format=markdown. Invocation history: /api/invocations?object_id=GROK_IMAGE.
GROK_IMAGE_EDIT
Edit an image with natural language. Returns a JSON url Use when: you need to grok image edit Arguments: prompt|image_url. Human article: /a/oip-capability-grok-image-edit. Machine doc: ?key=GROK_IMAGE_EDIT&format=markdown. Invocation history: /api/invocations?object_id=GROK_IMAGE_EDIT.
GROK_VIDEO_START
Start a text-to-video job. Returns request_id. Poll with GROK_VIDEO_GET. Model grok-imagine-video ($0.05/sec) Use when: you need to grok video start Arguments: prompt|duration_seconds(1-15). Human article: /a/oip-capability-grok-video-start. Machine doc: ?key=GROK_VIDEO_START&format=markdown. Invocation history: /api/invocations?object_id=GROK_VIDEO_START.
GROK_VIDEO_GET
Poll a video job. status pending|done|failed|expired; when done returns video.url Use when: you need to grok video get Arguments: request_id. Human article: /a/oip-capability-grok-video-get. Machine doc: ?key=GROK_VIDEO_GET&format=markdown. Invocation history: /api/invocations?object_id=GROK_VIDEO_GET.
GROK_MODELS
List every model on the xAI API. No args Use when: you need to grok models Arguments: see content. Human article: /a/oip-capability-grok-models. Machine doc: ?key=GROK_MODELS&format=markdown. Invocation history: /api/invocations?object_id=GROK_MODELS.
GROK_TTS
Text-to-SPEECH (Grok). INVOKE: GROK_TTS]<text>|<voice_id>[/GROK_TTS] Use when: you need to grok tts Arguments: see content. Human article: [/a/oip-capability-grok-tts. Machine doc: ?key=GROK_TTS&format=markdown. Invocation history: /api/invocations?object_id=GROK_TTS.
GROK_STT
Speech-to-TEXT (Grok). INVOKE: GROK_STT]<public_audio_url>[/GROK_STT] Use when: you need to grok stt Arguments: $1. Human article: [/a/oip-capability-grok-stt. Machine doc: ?key=GROK_STT&format=markdown. Invocation history: /api/invocations?object_id=GROK_STT.
GROK_IMAGE_R2
Generate an image with Grok Imagine, re-store it to R2, and return a stable https://miscsubjects.com/img/ link. Use when: you need an image; prefer this over GROK_IMAGE because it returns a stable URL. Arguments: prompt. Human article: /a/oip-capability-grok-image-r2. Machine doc: ?key=GROK_IMAGE_R2&format=markdown. Invocation history: /api/invocations?object_id=GROK_IMAGE_R2.