Skip to content
Back to skills

Xai Grok Imagine Image Edit

ASecurity

XAI | Grok | Imagine | Image Edit. Edit images with text prompts using xAI Grok Imagine. Triggers: image edit, grok, xai, edit image, modify

  • 29 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
documentationbashapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add awesome-genmedia/skills --skill xai-grok-imagine-image-edit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Xai Grok Imagine Image Edit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Xai Grok Imagine Image Edit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/awesome-genmedia-xai-grok-imagine-image-edit/badge)](https://www.skillsdirectory.com/skills/awesome-genmedia-xai-grok-imagine-image-edit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: xai-grok-imagine-image-edit
description: "XAI | Grok | Imagine | Image Edit. Edit images with text prompts using xAI Grok Imagine. Triggers: image edit, grok, xai, edit image, modify"
allowed-tools: Bash(curl *), WebFetch
---

# XAI | Grok | Imagine | Image Edit

Edit existing images using text descriptions with xAI's Grok Imagine. Supports multiple output images and various output formats.

## Quick Start

> Requires an each::labs API key. Get one at [eachlabs.ai](https://eachlabs.ai).

```bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "xai-grok-imagine-image-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "Remove the background and replace it with a tropical beach",
      "image_url": "https://example.com/portrait.jpg",
      "num_images": 1,
      "output_format": "jpeg"
    }
  }'
```

## Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| image_url | string | | URL of the image to edit. |
| num_images | integer | 1 | Number of images to generate. |
| output_format | string | jpeg | Output format. enum: jpeg, png, webp |
| prompt | string | | Text description of the desired edit. |

## Examples

**Background replacement:**
```bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "xai-grok-imagine-image-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "Replace the background with a futuristic sci-fi cityscape",
      "image_url": "https://example.com/person-standing.jpg",
      "num_images": 2,
      "output_format": "png"
    }
  }'
```

**Object modification:**
```bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "xai-grok-imagine-image-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "Change the car color from blue to red",
      "image_url": "https://example.com/blue-car.jpg",
      "output_format": "jpeg"
    }
  }'
```

## Related Models

- [xai-grok-imagine-text-to-image](../xai-grok-imagine-text-to-image/) - Grok text to image
- [xai-grok-imagine-edit-video](../xai-grok-imagine-edit-video/) - Grok video editing
- [firered-image-edit-v1-1](../firered-image-edit-v1-1/) - Firered image editing

## Documentation

- [each::labs Docs](https://docs.eachlabs.ai)
- [API Reference](https://docs.eachlabs.ai/api/overview)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…