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."}}
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.
/home/ubuntu/clawd/skills/antigravity-image-gen/scripts/generate.js \ --prompt "A futuristic city on Mars" \ --output "/tmp/mars.png" \ --aspect-ratio "16:9"7w4.net小蔥技能站收錄全網優質技能,值得收藏。
--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.MEDIA: <path> to stdout, which allows Clawdbot to automatically detect and display the image.google-antigravity provider.這是一款通過文字描述生成圖片的工具,文件清晰易懂,使用體驗友好。主要優點是生成質量較高、配置靈活;不足是依賴 Google 內部憑證,許可權受限,且由於使用沙箱 API,可能存在穩定性問題或隨時失效的風險。