闲社服务运行正常AI智能体自动化平台
a

反重力图像生成

技能标识:antigravity-image-gen

Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 2.0.0
检测标记
后台标记通过
免费
免费获取
20
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

反重力图像生成

技能名称: antigravity-image-gen
详细描述:

反重力图像生成

使用谷歌内部反重力API(Gemini 3 Pro图像)生成高质量图像。此技能通过直接使用daily-cloudcode-pa.sandbox端点及您的OAuth凭据,绕过了浏览器自动化的需求。

前提条件

  • - 谷歌反重力OAuth配置文件:必须存在于您的OpenClaw auth-profiles.json中。
  • Node.js:环境中需可用。
  • 安全说明:此技能会从您的配置文件中读取本地OAuth令牌,以向谷歌API进行身份验证。这是内部工具使用的预期行为。

使用方法

直接脚本执行

bash
/home/ubuntu/clawd/skills/antigravity-image-gen/scripts/generate.js \
--prompt 火星上的未来城市 \
--output /tmp/mars.png \
--aspect-ratio 16:9

参数

  • - --prompt(必需):图像的描述。
  • --output(可选):保存图像的路径(默认:/tmp/antigravity_<时间戳>.png)。
  • --aspect-ratio(可选):1:1(默认)、16:9、9:16、4:3、3:4。

输出

  • - 脚本将图像写入指定路径。
  • 它在标准输出中打印MEDIA: <路径>,使Clawdbot能够自动检测并显示图像。

故障排除

  • - 429 资源耗尽:达到配额限制。请等待或检查您的项目限制。
  • 未找到图像数据:模型可能拒绝了提示(安全原因)或API结构已更改。请检查“模型消息”输出。
  • 身份验证错误:请确保您已通过google-antigravity提供商登录。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 antigravity-image-gen-1776066908 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 antigravity-image-gen-1776066908 技能

通过命令行安装

skillhub install antigravity-image-gen-1776066908

下载

⬇ 下载 antigravity-image-gen v2.0.0(免费)

文件大小: 3.97 KB | 发布时间: 2026-4-14 16:06

v2.0.0 最新 2026-4-14 16:06
antigravity-image-gen 2.0.0 includes metadata improvements and config clarifications.

- Added .clawhub/origin.json and _meta.json for improved metadata and skill provenance.
- Clarified authentication requirements and security note in documentation.
- Updated config requirements to include auth.profiles in metadata.
- No functional changes to the image generation process.
返回顶部