{"skill":{"slug":"antigravity-image-gen","displayName":"Antigravity Image Generator","summary":"Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.","description":"---\r\nname: antigravity-image-gen\r\ndescription: Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.\r\nread_when:\r\n  - User asks to generate an image\r\n  - User wants to create visual content\r\nmetadata: {\"clawdbot\":{\"emoji\":\"🎨\",\"requires\":{\"bins\":[\"node\"],\"config\":[\"auth.profiles\"]},\"description\":\"Generates images via internal Google API using local OAuth credentials.\"}}\r\n---\r\n\r\n# Antigravity Image Generation\r\n\r\nGenerate 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.\r\n\r\n## Prerequisites\r\n\r\n- **Google Antigravity OAuth Profile**: Must be present in your OpenClaw auth-profiles.json.\r\n- **Node.js**: Available in the environment.\r\n- **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.\r\n\r\n## Usage\r\n\r\n### Direct Script Execution\r\n\r\n```bash\r\n/home/ubuntu/clawd/skills/antigravity-image-gen/scripts/generate.js \\\r\n  --prompt \"A futuristic city on Mars\" \\\r\n  --output \"/tmp/mars.png\" \\\r\n  --aspect-ratio \"16:9\"\r\n```\r\n\r\n### Arguments\r\n\r\n- `--prompt` (Required): The description of the image.\r\n- `--output` (Optional): Path to save the image (default: `/tmp/antigravity_<ts>.png`).\r\n- `--aspect-ratio` (Optional): `1:1` (default), `16:9`, `9:16`, `4:3`, `3:4`.\r\n\r\n## Output\r\n\r\n- The script writes the image to the specified path.\r\n- It prints `MEDIA: <path>` to stdout, which allows Clawdbot to automatically detect and display the image.\r\n\r\n## Troubleshooting\r\n\r\n- **429 Resource Exhausted**: Quota limit reached. Wait or check your project limits.\r\n- **No image data found**: The model might have refused the prompt (safety) or the API structure changed. Check the \"Model message\" output.\r\n- **Auth Error**: Ensure you have logged in via `google-antigravity` provider.\r\n","tags":{"latest":"2.0.0"},"stats":{"comments":0,"downloads":13423,"installsAllTime":114,"installsCurrent":113,"stars":20,"versions":2},"createdAt":1769725661232,"updatedAt":1779076461217},"latestVersion":{"version":"2.0.0","createdAt":1771355111026,"changelog":"antigravity-image-gen 2.0.0 includes metadata improvements and config clarifications.\n\n- Added .clawhub/origin.json and _meta.json for improved metadata and skill provenance.\n- Clarified authentication requirements and security note in documentation.\n- Updated config requirements to include auth.profiles in metadata.\n- No functional changes to the image generation process.","license":null},"metadata":{"setup":[{"key":"auth.profiles","required":true}],"os":null,"systems":null},"owner":{"handle":"ipedrax","userId":"s170daxc6g6rq44w092f8vcc9x885fv4","displayName":"IPedrax","image":"https://avatars.githubusercontent.com/u/64429409?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1779917845340}}