Awesome-openclaw-skills antigravity-image-gen
Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.
install
source · Clone the upstream repo
git clone https://github.com/sundial-org/awesome-openclaw-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/antigravity-image-gen" ~/.claude/skills/sundial-org-awesome-openclaw-skills-antigravity-image-gen && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/antigravity-image-gen" ~/.openclaw/skills/sundial-org-awesome-openclaw-skills-antigravity-image-gen && rm -rf "$T"
manifest:
skills/antigravity-image-gen/SKILL.mdsource content
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
/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