Antigravity Image Generator
Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 16 · 10k · 78 current installs · 82 all-time installs
by@IPedrax
MIT-0
Security Scan
OpenClaw
Benign
medium confidencePurpose & Capability
Name/description (generate images via Google Antigravity/Gemini image) align with what the code does: it calls a Google sandbox image endpoint and writes returned base64 image data to disk. The required binary (node) and the declared config path (auth.profiles) are consistent with the implementation.
Instruction Scope
SKILL.md and the script explicitly instruct the agent to read local OAuth tokens from an OpenClaw auth-profiles.json and to call the internal daily-cloudcode-pa.sandbox endpoint. Reading the auth profile is sensitive but justified by the skill's purpose; the instructions do not attempt to read unrelated files or exfiltrate data to arbitrary third-party endpoints.
Install Mechanism
No remote install or downloads are requested; there is a bundled Node script that will run. No extract/download URLs or third-party package installs are present, minimizing install-time risk.
Credentials
The skill does not request environment variables but does read an OAuth access token from the local auth-profiles.json (PATH can be overridden via OPENCLAW_AUTH_PATH). That access is necessary to authenticate to the internal API, but it is a high-value credential so granting this skill access to your auth profiles should be done consciously.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or global settings, and only writes image files to user-writable paths. It does not persist new credentials or change agent configuration.
Assessment
This skill legitimately needs to read a Google Antigravity OAuth token from your OpenClaw auth-profiles.json in order to call the internal Gemini image endpoint; that is sensitive. Before installing: 1) verify and trust the skill author/source (no homepage provided here); 2) inspect the generate.js file yourself (it is included and straightforward); 3) consider using a least-privilege or separate test account/profile rather than your main Google credentials; 4) note the default auth path (~/.openclaw/agents/main/agent/auth-profiles.json) or set OPENCLAW_AUTH_PATH to a safe profile; 5) if unsure, run the script in an isolated environment or container. If you do not want any code reading local OAuth tokens, do not install or run this skill.Like a lobster shell, security has layers — review code before you run it.
Current versionv2.0.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
🎨 Clawdis
Binsnode
Configauth.profiles
SKILL.md
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).--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.
Files
4 totalSelect a file
Select a file to preview.
Comments
Loading comments…
