antigravity-image-gen

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

7 stars

Best use case

antigravity-image-gen is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using antigravity-image-gen should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/antigravity-image-gen/SKILL.md --create-dirs "https://raw.githubusercontent.com/Demerzels-lab/elsamultiskillagent/main/public/skills/ipedrax/antigravity-image-gen/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/antigravity-image-gen/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How antigravity-image-gen Compares

Feature / Agentantigravity-image-genStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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 `~/.clawdbot/agents/main/agent/auth-profiles.json`.
- **Node.js**: Available in the environment.

## Usage

### Direct Script Execution

```bash
/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.

Related Skills

ImageMagick Moltbot Skill

7
from Demerzels-lab/elsamultiskillagent

Comprehensive ImageMagick operations for image manipulation in Moltbot.

table-image

7
from Demerzels-lab/elsamultiskillagent

Generate images from tables for better readability in messaging apps like Telegram. Use when displaying tabular data.

ms-foundry-image-gen

7
from Demerzels-lab/elsamultiskillagent

Azure Foundry image generation skill for OpenClaw; generates images via a Foundry deployment and returns image.

gemini-image-gen

7
from Demerzels-lab/elsamultiskillagent

Generate and edit images via Google Gemini API. Supports Gemini native generation, Imagen 3, style presets, and batch generation with HTML gallery. Zero dependencies — pure Python stdlib.

antigravity-image

7
from Demerzels-lab/elsamultiskillagent

Generate images using the internal Antigravity Sandbox API (Gemini 3 Pro Image). Supports text-to-image generation via internal Google endpoints.

zhipu-cogview-image

7
from Demerzels-lab/elsamultiskillagent

Generate images using Zhipu AI's CogView model.

doubao-image-gen

7
from Demerzels-lab/elsamultiskillagent

Use Zhipu (智谱) web search API for searching the internet.

10-of-my-most-popular-text-to-image-series-prompts-78b0897e

7
from Demerzels-lab/elsamultiskillagent

generate a bunch of images, then you curate the results to handpick the best ones

Seasonal Product Image

7
from Demerzels-lab/elsamultiskillagent

**Version**: 1.0.0

google-imagen-3-portrait-photography

7
from Demerzels-lab/elsamultiskillagent

Generate professional portrait photography using Google Imagen 3. Use when creating realistic portraits, headshots, or artistic character photography with professional lighting and composition.

google-imagen-3-hyperrealistic-landscape

7
from Demerzels-lab/elsamultiskillagent

Generate hyperrealistic landscape photography using Google Imagen 3. Use when creating breathtaking natural scenes, landscapes, and nature photography with exceptional detail and realism.

ai-image-prompts-for-eye-catching-marketing-creati-d97f99e2

7
from Demerzels-lab/elsamultiskillagent

A product photo of running shoes on white marble in a minimalist studio, shot with natural lighting and shallow depth of field.