---
name: grok-image-edit
description: Discover and invoke the GROK_IMAGE_EDIT directory capability using its live contract. Use when a request maps to this exact capability.
---

# GROK_IMAGE_EDIT

This Skill is the behavioral expression of [the GROK_IMAGE_EDIT directory article](/a/directory/GROK_IMAGE_EDIT). The directory row remains the executable contract.

## Operate

1. Read GET /api/directory/GROK_IMAGE_EDIT immediately before use.
2. Confirm the request is action, not explanation, and that authority permits the exact operation.
3. Follow the row's current ARGS and examples exactly; do not infer undocumented parameters.
4. Invoke POST /api/dispatch with {"key":"GROK_IMAGE_EDIT","body":"<row-shaped args>"}.
5. Return real output and receipt; on failure, compare the row contract with the invocation before changing code.

## Human explanation

# WHAT: Edit an image with natural language. Returns a JSON url # WHEN_TO_USE: you need to grok image edit # ARGS: prompt|image_url # EX: [GROK_IMAGE_EDIT]arg1|arg2[/GROK_IMAGE_EDIT] {"model":"grok-imagine-image-quality","prompt":"$1","image":{"url":"$2","type":"image_url"}}
