skills$openclaw/antigravity-image-gen
ipedrax2.6k

by ipedrax

antigravity-image-gen – OpenClaw Skill

antigravity-image-gen is an OpenClaw Skills integration for coding workflows. Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.

2.6k stars7.9k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameantigravity-image-gen
descriptionGenerate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation. OpenClaw Skills integration.
owneripedrax
repositoryipedrax/antigravity-image-gen
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @ipedrax/antigravity-image-gen
last updatedFeb 7, 2026

Maintainer

ipedrax

ipedrax

Maintains antigravity-image-gen in the OpenClaw Skills directory.

View GitHub profile
File Explorer
4 files
.
scripts
generate.js
5.6 KB
_meta.json
301 B
SKILL.md
1.7 KB
SKILL.md

name: antigravity-image-gen description: Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation. read_when:

  • User asks to generate an image
  • User wants to create visual content metadata: {"clawdbot":{"emoji":"🎨","requires":{"bins":["node"]}}}

Antigravity Image Generation

Generate high-quality images using the internal Google Antigravity API (Gemini 3 Pro Image). This skill bypasses the need for browser automation by using the daily-cloudcode-pa.sandbox endpoint directly with your OAuth credentials.

Prerequisites

  • Google Antigravity OAuth Profile: Must be present in ~/.clawdbot/agents/main/agent/auth-profiles.json.
  • Node.js: Available in the environment.

Usage

Direct Script Execution

/home/ubuntu/clawd/skills/antigravity-image-gen/scripts/generate.js \
  --prompt "A futuristic city on Mars" \
  --output "/tmp/mars.png" \
  --aspect-ratio "16:9"

Arguments

  • --prompt (Required): The description of the image.
  • --output (Optional): Path to save the image (default: /tmp/antigravity_<ts>.png).
  • --aspect-ratio (Optional): 1:1 (default), 16:9, 9:16, 4:3, 3:4.

Output

  • The script writes the image to the specified path.
  • It prints MEDIA: <path> to stdout, which allows Clawdbot to automatically detect and display the image.

Troubleshooting

  • 429 Resource Exhausted: Quota limit reached. Wait or check your project limits.
  • No image data found: The model might have refused the prompt (safety) or the API structure changed. Check the "Model message" output.
  • Auth Error: Ensure you have logged in via google-antigravity provider.
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

- **Google Antigravity OAuth Profile**: Must be present in `~/.clawdbot/agents/main/agent/auth-profiles.json`. - **Node.js**: Available in the environment.

FAQ

How do I install antigravity-image-gen?

Run openclaw add @ipedrax/antigravity-image-gen in your terminal. This installs antigravity-image-gen into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/ipedrax/antigravity-image-gen. Review commits and README documentation before installing.