antigravity-image-gen
Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.
Best use case
antigravity-image-gen is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.
Teams using antigravity-image-gen should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/antigravity-image-gen/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How antigravity-image-gen Compares
| Feature / Agent | antigravity-image-gen | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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 ```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.
Related Skills
openai-image-gen
Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
nano-banana-antigravity
Generate or edit images via Nano Banana Pro using Antigravity OAuth (no API key needed!)
imagemagick
No description provided.
gemini-image-simple
Generate and edit images with Gemini API using pure Python stdlib. Zero dependencies - works on locked-down environments where pip/uv aren't available.
chart-image
Generate publication-quality chart images from data. Supports line, bar, area, and point charts. Use when visualizing data, creating graphs, plotting time series, or generating chart images for reports/alerts. Designed for Fly.io/VPS deployments - no native compilation, no Puppeteer, no browser required. Pure Node.js with prebuilt binaries.
brave-images
Search for images using Brave Search API. Use when you need to find images, pictures, photos, or visual content on any topic. Requires BRAVE_API_KEY environment variable.
antigravity-quota
Check Antigravity account quotas for Claude and Gemini models. Shows remaining quota and reset times with ban detection.
antigravity-balance
Check Google Antigravity AI model quota/token balance. Use when a user asks about their Antigravity usage, remaining tokens, model limits, quota status, or rate limits. Works by detecting the local Antigravity language server process and querying its API.
portfolio-watcher
Monitor stock/crypto holdings, get price alerts, track portfolio performance
portainer
Control Docker containers and stacks via Portainer API. List containers, start/stop/restart, view logs, and redeploy stacks from git.
portable-tools
Build cross-device tools without hardcoding paths or account names
polymarket
Trade prediction markets on Polymarket. Analyze odds, place bets, track positions, automate alerts, and maximize returns from event outcomes. Covers sports, politics, entertainment, and more.