Antigravity Image Generator
2 versionsSummary
TL;DR: Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.
Antigravity Image Generator creates images using Google's internal Antigravity API powered by Gemini 3 Pro Image. You get high-quality AI image generation without needing browser automation or external paid services.
Just describe what you want and your agent generates it. The Gemini model handles a wide range of styles, from photorealistic to illustrated. Results come back fast since there is no browser overhead.
This skill is a practical choice for anyone who needs quick image generation from text prompts. Browse more media & creative skills for other generation options. No complicated setup, just describe and generate.
Use cases
- Generating product mockup images from text descriptions
- Creating illustrations for blog posts and social media content
- Making quick visual concepts during brainstorming sessions
- Producing placeholder images for design prototypes
Installation
Run this command to install the skill on your OpenClaw agent:
npx clawhub@latest install antigravity-image-genSecurity scan
The skill's code and instructions match its stated purpose (generating images via an internal Google Antigravity/Gemini image endpoint) and the sensitive actions (reading a local OAuth profile) are explained and necessary for that purpose, but you should still verify the source before giving it access to real credentials.
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"],"config":["auth.profiles"]},"description":"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
```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.
Version history
antigravity-image-gen 2.0.0 includes metadata improvements and config clarifications. - Added .clawhub/origin.json and _meta.json for improved metadata and skill provenance. - Clarified authentication requirements and security note in documentation. - Updated config requirements to include auth.profiles in metadata. - No functional changes to the image generation process.
Antigravity Image Generation skill initial release. - Generate high-quality images using Google's internal Antigravity API (Gemini 3 Pro Image) via direct API calls. - Uses OAuth profile for authentication. - Supports custom prompts, output paths, and aspect ratios. - Designed for easy image creation and integration with Clawdbot.
Frequently asked questions
Check the skill's documentation for current authentication requirements. The API access method may change as Google updates its services.
Installation method
Send this prompt to your agent to install the skill
npx clawhub@latest install antigravity-image-genSkill info
Files
Skill data sourced from ClawHub