Antigravity Image Generator
安全警告

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

安裝
$clawhub install antigravity-image-gen

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_<ts>.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: <path> 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.

詳情

版本
v2.0.0
下載
9,800
星標
16

熱門 Skills

Agent Orchestrator
Meta-agent skill for orchestrating complex tasks through autonomous sub-agents. Decomposes macro tasks into subtasks, spawns specialized sub-agents with dynamically generated SKILL.md files, coordinates file-based communication, consolidates results, and dissolves agents upon completion. MANDATORY TRIGGERS: orchestrate, multi-agent, decompose task, spawn agents, sub-agents, parallel agents, agent coordination, task breakdown, meta-agent, agent factory, delegate tasks
AI Persona OS
The complete operating system for OpenClaw agents. Now with 13 Iconic Character souls (Thanos, Deadpool, JARVIS, Mary Poppins, Darth Vader, and more), SOUL.md Maker (deep SOUL.md builder interview), 11 original personality souls, soul blending, and the full soul gallery. Plus: zero-terminal agent-driven setup, quick-start persona presets, in-chat commands, ambient context monitoring, enforced heartbeat protocol (model + version display), traffic-light status indicators, auto-migration, auto-pruning, config validator, version tracking, structured escalation protocol, context protection, security inoculation, shared-channel discipline, team integration, proactive patterns, never-forget protocol, 8 operating rules, and 4 growth loops. One install. Complete system. Built by Jeff J Hunter.
Apple Notes
Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks Clawdbot to add a note, list notes, search notes, or manage note folders.