Skip to content

Antigravity Image Generator

Verified

Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.

5,017

Install

Claude Code

Add to .claude/skills/

About This Skill

  • # 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 your OpenClaw auth-profiles.json.
  • Node.js: Available in the environment.
  • Security Note: This skill reads local OAuth tokens from your profile to authenticate with Google's API. This is expected behavior for internal tool use.
  • ## Usage
  • ### Direct Script Execution
  • ```bash
  • /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.

Use Cases

  • Generate high-quality images using Google's internal Antigravity API (Gemini 3 Pro Image)
  • Create visual content for projects using OAuth-authenticated Google API access
  • Produce AI-generated images directly from the terminal without browser automation
  • Generate marketing visuals, concept art, and illustrations from text descriptions
  • Integrate image generation into development workflows via command-line scripts

Pros & Cons

Pros

  • + Uses Google's Gemini 3 Pro Image model for high-quality image generation
  • + Direct API call approach bypasses the need for browser-based image generation tools
  • + Works from the terminal for easy integration into automated pipelines

Cons

  • - Requires Google OAuth credentials and access to an internal sandbox endpoint
  • - Uses an undocumented internal API that could change or be restricted without notice
  • - Dependency on Google account authentication adds setup complexity

Frequently Asked Questions

What does Antigravity Image Generator do?

Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.

What platforms support Antigravity Image Generator?

Antigravity Image Generator is available on Claude Code, OpenClaw.

What are the use cases for Antigravity Image Generator?

Generate high-quality images using Google's internal Antigravity API (Gemini 3 Pro Image). Create visual content for projects using OAuth-authenticated Google API access. Produce AI-generated images directly from the terminal without browser automation.

Stay Updated on Agent Skills

Get weekly curated skills + safety alerts