Search

PythonReactSEOPDF
OpenClaw

antigravity-image

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

houzl34160 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install houzl3416/antigravity-image

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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:

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 for technical details on the impersonated endpoint.

Source information

Source
github
Repository
openclaw/skills
Path
skills/houzl3416/antigravity-image
Version
—
Commit
bfcaddf13b7170ca91d1010d092664c8bb0cec1a
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# 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.

Related skills

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.

OpenClaw

0xarchive

0xfantommenace

Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user...

OpenClaw

1sec-security

cutmob

Install, configure, and manage 1-SEC — an open-source, all-in-one cybersecurity platform (16 modules, single binary) on Linux servers and VPS instances. Use when the user asks to secure a server, install securi...