Nano Banana Antigravity
Designnano-banana-antigravityNano Banana Antigravity is an Agent Skill for design published in the sundial-org/awesome-openclaw-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Generate or edit images via Nano Banana Pro using Antigravity OAuth (no API key needed!)
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/sundial-org/awesome-openclaw-skills/blob/HEAD/skills/nano-banana-antigravity/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/nano-banana-antigravity, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Nano Banana Antigravity (Gemini 3 Pro Image via OAuth)
Generate images using Nano Banana Pro (Gemini 3 Pro Image) via your existing Google Antigravity OAuth credentials.
No separate API key needed! Uses the same OAuth tokens as your OpenClaw Antigravity provider.
Generate Image
uv run {baseDir}/scripts/generate_image.py --prompt "your image description" --filename "output.png"
Generate with Options
uv run {baseDir}/scripts/generate_image.py \
--prompt "a sunset over mountains" \
--filename "sunset.png" \
--aspect-ratio 16:9 \
--resolution 2K
Edit/Composite Images
uv run {baseDir}/scripts/generate_image.py \
--prompt "add sunglasses to this person" \
--filename "edited.png" \
-i original.png
Multi-image Composition
uv run {baseDir}/scripts/generate_image.py \
--prompt "combine these into one scene" \
--filename "composite.png" \
-i image1.png -i image2.png -i image3.png
Options
--prompt, -p(required): Image description or edit instructions--filename, -f(required): Output filename--input-image, -i: Input image(s) for editing (can be repeated)--aspect-ratio, -a: 1:1 (default), 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9--resolution, -r: 1K (default), 2K, 4K
Authentication
Uses existing OpenClaw Antigravity OAuth credentials. Make sure you're authenticated:
openclaw models auth login --provider google-antigravity
The script looks for credentials in:
~/.openclaw/credentials/google-antigravity.json~/.config/openclaw/credentials/google-antigravity.json~/.config/opencode/antigravity-accounts.json
Notes
- The script prints a
MEDIA:line for OpenClaw to auto-attach on supported chat providers. - Do not read the image back; report the saved path only.
- Uses timestamps in filenames for uniqueness:
yyyy-mm-dd-hh-mm-ss-name.png - Falls back to regular Nano Banana if Nano Banana Pro isn't available yet.