antigravity-image-gen
Original:🇺🇸 English
Translated
1 scriptsChecked / no sensitive code detected
Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.
3installs
Added on
NPX Install
npx skill4agent add sundial-org/awesome-openclaw-skills antigravity-image-genTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →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 endpoint directly with your OAuth credentials.
daily-cloudcode-pa.sandboxPrerequisites
- 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
- (Required): The description of the image.
--prompt - (Optional): Path to save the image (default:
--output)./tmp/antigravity_<ts>.png - (Optional):
--aspect-ratio(default),1:1,16:9,9:16,4:3.3:4
Output
- The script writes the image to the specified path.
- It prints to stdout, which allows Clawdbot to automatically detect and display the image.
MEDIA: <path>
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 provider.
google-antigravity