Skip to main content

antigravity-image

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

Jump to install

Source facts

Repository
RunnerQuan/SAFE-Agent
Last source activity
March 30, 2026 at 04:33
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
7 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
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":"[Truncated]"}}}
# 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.
View on GitHub