Generates images via internal Google API using local OAuth credentials.
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
/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).