Antigravity Image Generator
Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.
IPedrax
@ipedrax
What This Skill Does
Generates high-quality images by calling the internal Google Antigravity API (Gemini 3 Pro Image) directly using local OAuth credentials, without browser automation. Accepts a text prompt and optional aspect ratio, then saves the image to a specified path.
Replaces browser-based image generation tools and manual screenshot workflows by providing native API access with simple command-line arguments.
When to Use It
- Generate a futuristic cityscape on Mars for a presentation slide
- Create a 16:9 banner image for a blog post or social media
- Produce a square product mockup image from a text description
- Generate multiple concept art images for a design brainstorming session
- Create an illustration for a research paper or internal document
Install
$ openclaw skills install @ipedrax/antigravity-image-genAntigravity 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).--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-antigravityprovider.
Top skills in this category
Manage Reddit posts, comments, subreddits, users, moderation, and community workflows via the Reddit API. Use when users want to search subreddits, inspect p...
Agent Browser
@matrixyHeadless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection
Browser Use
@shawnpanaAutomates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with w...
Playwright MCP
@spiceman161Browser automation via Playwright MCP server. Navigate websites, click elements, fill forms, extract data, take screenshots, and perform full browser automation workflows.
Playwright (Automation + MCP + Scraper)
@ivangdavilaAutomates, tests, and debugs browsers with Playwright: locators, auto-waiting, traces, CI runs, and MCP browser control. Use when a test is flaky, times out, or fails only in CI or headless; when a locator matches multiple elements or the wrong one (strict mode violation); when clicks need force, waits become sleeps, or networkidle never settles; for storageState and login setup, request mocking and HAR replay, uploads and downloads, iframes and shadow DOM, popups and dialogs, screenshot diffs that change per machine, trace and report artifacts, sharding a slow suite, device and permission emulation, accessibility checks, driving a real browser through Playwright MCP, extracting data from JS-rendered pages, or porting a Cypress, Puppeteer, or Selenium suite to Playwright. Not for maintaining an existing Cypress or Puppeteer suite (cypress, puppeteer) or for work a plain HTTP request answers (http).