Skip to content
Back to skills

Antigravity Image

ASecurity

Generate images using the internal Antigravity Sandbox API (Gemini 3 Pro Image). Supports text-to-image generation via internal Google endpoints.

  • 21 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 7, 2026
developmentpythongobashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill antigravity-image --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Antigravity Image?

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

Security grade badge for Antigravity Image
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-antigravity-image/badge)](https://www.skillsdirectory.com/skills/modbender-antigravity-image)

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: antigravity-image
description: Generate images using the internal Antigravity Sandbox API (Gemini 3 Pro Image). Supports text-to-image generation via internal Google endpoints.
metadata:
  {
    "openclaw":
      {
        "emoji": "🎨",
        "requires": { "bins": ["python3"] },
      },
  }
---

# Antigravity Image Generation

Use the internal Google Antigravity sandbox to generate images with the `gemini-3-pro-image` model. This skill bypasses standard API restrictions by impersonating the VS Code plugin environment.

## Usage

Generate an image from a prompt:

```bash
python3 {baseDir}/scripts/generate_image_antigravity.py --prompt "A futuristic cityscape with flying cars" --filename "city.png"
```

## How it works

1.  **Authentication**: Automatically retrieves OAuth tokens and Project ID from the local `auth-profiles.json`.
2.  **Impersonation**: Uses the specific `antigravity` User-Agent and internal sandbox headers.
3.  **Reliability**: Includes automatic retry logic for `503 Service Unavailable` errors.

## Parameters

- `--prompt` / `-p`: Text description of the image to generate.
- `--filename` / `-f`: Path where the resulting PNG will be saved.

## Notes

- The script prints a `MEDIA:` path which OpenClaw uses to automatically upload the image to the chat channel.
- Requires an active Antigravity session/login in the environment.
- See [internal-api.md]({baseDir}/references/internal-api.md) for technical details on the impersonated endpoint.

Files in this skill

  • SKILL.md1.5 KB
  • references/internal-api.md1.4 KB
  • scripts/generate_image_antigravity.py3.4 KB

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.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.