← 返回
AI智能 Key 中文

Antigravity Image Gen

Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.
使用 Google Antigravity 内部 API(Gemini 3 Pro)原生生成高质量图像,无需浏览器自动化。
sunshine-del-ux
AI智能 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 717
下载
💾 13
安装
1
版本
#latest

概述

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_.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: 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-antigravity provider.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-20 03:36 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

akshare-stock

sunshine-del-ux
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 15 📥 11,074
ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 836 📥 213,189
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,474