Geometry for Openclaw

A pay-per-request AI image generation API powered by Solana and the x402 protocol.

geometrydotsh
v1.0.0
Feb 20, 2026
0
1.5k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install geometry

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install geometry using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Geometry?

Geometry is a revolutionary image generation service designed for the decentralized era of Openclaw Skills. By utilizing the x402 protocol on the Solana network, it removes the friction of traditional API management, eliminating the need for accounts, subscriptions, or static API keys. Developers can access state-of-the-art models like FLUX, Ideogram, and Gemini with simple, transparent USDC payments directly from their applications or agents.

This skill provides a seamless bridge between blockchain-based payments and high-performance AI creative tools. It is ideal for developers building privacy-first applications or autonomous agents that require on-demand visual content without the overhead of centralized credit systems. Because it uses standard web protocols, it integrates perfectly into the modern ecosystem of Openclaw Skills.

Geometry Use Cases

  • Automated visual content creation for social media bots and autonomous agents.
  • On-demand image generation for decentralized applications (dApps) without user registration.
  • Integrating a wide variety of AI image models into unified workflows using Openclaw Skills.
  • Building privacy-focused creative tools that require secure, direct payments instead of credit card billing.

How Geometry Works

  1. Query the quote endpoint to retrieve the current USDC price for your chosen AI model.
  2. Prepare a POST request containing the image prompt and the specific model slug.
  3. Use an x402-compatible client to sign and broadcast a USDC payment on the Solana network to the facilitator address.
  4. The Geometry API validates the transaction on-chain and processes the image generation request immediately.
  5. Receive a JSON response containing a unique generation ID and the public CDN URL of the generated image.

Geometry Setup

To integrate this with your project, start by installing the required x402 and Solana libraries:

npm install @solana/kit @x402/fetch @x402/svm

Configure your environment with a Solana keypair and wrap your standard fetch requests with the x402 client to automate the pay-per-request lifecycle. Ensure your wallet contains a small amount of USDC on Solana to cover the generation costs.

Geometry Data Schema & Taxonomy

The skill utilizes a structured request/response format for all generation tasks. Below is the primary data structure for interactions:

Parameter Type Description
prompt string The text description for the image (up to 1000 characters).
model string The slug of the AI model to use (defaults to flux-dev).

Successful responses return a data object containing:

  • id: A unique UUID for the generation.
  • status: The processing state (e.g., "completed").
  • imageUrl: A permanent link to the generated PNG or JPG file.
  • costUsdc: The exact amount of USDC processed for the transaction.

Geometry Advanced Features

  • Access to over 30+ industry-leading models including FLUX.1 Kontext, Gemini 2.5 Flash, and Grok Imagine.
  • Fully compatible with the x402 version 2 protocol for standardized machine-to-machine payments in Openclaw Skills.
  • Zero-account architecture ensures maximum privacy for developers and end-users alike.
  • Real-time quote engine allows agents to check costs before committing to a transaction.
  • High-speed image delivery via a global CDN for low-latency application performance.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*