# Send Geometry to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "geometry",
    "name": "Geometry",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/geometrydotsh/geometry",
    "canonicalUrl": "https://clawhub.ai/geometrydotsh/geometry",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/geometry",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=geometry",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "geometry",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T15:21:00.975Z",
      "expiresAt": "2026-05-10T15:21:00.975Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=geometry",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=geometry",
        "contentDisposition": "attachment; filename=\"geometry-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "geometry"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/geometry"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/geometry",
    "downloadUrl": "https://openagent3.xyz/downloads/geometry",
    "agentUrl": "https://openagent3.xyz/skills/geometry/agent",
    "manifestUrl": "https://openagent3.xyz/skills/geometry/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/geometry/agent.md"
  }
}
```
## Documentation

### Geometry — AI Image Generation API

Generate images from text prompts. Pay per request with USDC on Solana via x402. No API keys, no accounts.

Homepage: https://geometry.sh
Agent Card: https://api.geometry.sh/.well-known/agent.json
Docs: https://app.geometry.sh/developers

### Payment

FieldValueProtocolx402 (version 2)Networksolana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpSchemeexactCurrencyUSDCFacilitatorhttps://facilitator.payai.networkPay To79BLYwUdsNpPzDktxjibFR4DKMhHV2Q8iBu7Fk7R9fuU

### GET /api/x402/generate/quote

Get the USDC price for a model. Free — no payment required.

ParameterTypeRequiredDescriptionmodelstringnoModel slug (default: flux-dev)

Example response:

{
  "success": true,
  "data": {
    "model": "flux-dev",
    "costUsdc": 0.0325,
    "paymentNetwork": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "79BLYwUdsNpPzDktxjibFR4DKMhHV2Q8iBu7Fk7R9fuU"
  }
}

### POST /api/x402/generate

Generate an AI image from a text prompt. Requires x402 USDC payment.

ParameterTypeRequiredDescriptionpromptstringyesText prompt (1–1000 chars)modelstringnoModel slug (default: flux-dev)

Example request:

{
  "prompt": "A neon-lit Tokyo alley in the rain",
  "model": "flux-dev"
}

Example response:

{
  "success": true,
  "data": {
    "id": "ab0e4a1b-179f-4a6e-b505-53206a3e2e4b",
    "status": "completed",
    "prompt": "A neon-lit Tokyo alley in the rain",
    "model": "flux-dev",
    "costUsdc": 0.0325,
    "imageUrl": "https://cdn.geometry.sh/generations/user-id/gen-id.png",
    "createdAt": "2026-02-15T17:29:17.256Z"
  }
}

### Available Models

SlugNamePrice (USDC)bagelBagel$0.1300bytedance-seedream-v4.5-text-to-imageBytedance$0.0520bytedance-seedream-v3-text-to-imageBytedance$0.0390bytedance-dreamina-v3.1-text-to-imageBytedance$0.0390bytedance-seedream-v4-text-to-imageBytedance Seedream v4$0.0390emu-3.5-image-text-to-imageEmu 3.5 Image$0.1950flux-pro-kontext-max-text-to-imageFLUX.1 Kontext [max]$0.1040flux-pro-kontext-text-to-imageFLUX.1 Kontext [pro]$0.0520flux-devFLUX.1 [dev]$0.0325flux-pro-v1.1-ultraFLUX1.1 [pro] ultra$0.0780bria-fibo-generateFibo$0.0520bria-fibo-lite-generateFibo Lite$0.0468gemini-25-flash-imageGemini 2.5 Flash Image$0.0517gemini-3-pro-image-previewGemini 3 Pro Image Preview$0.1950xai-grok-imagine-imageGrok Imagine Image$0.0260ideogram-v3Ideogram Text to Image$0.0390ideogram-v2Ideogram V2$0.1040imagen4-previewImagen 4$0.0520imagen4-preview-fastImagen 4$0.0260imagen4-preview-ultraImagen 4 Ultra$0.0780kling-image-v3-text-to-imageKling Image$0.0364kling-image-o3-text-to-imageKling Image$0.0364minimax-image-01MiniMax (Hailuo AI) Text to Image$0.0130nano-bananaNano Banana$0.0517nano-banana-proNano Banana Pro$0.1950qwen-image-max-text-to-imageQwen Image Max$0.0975recraft-v3-text-to-imageRecraft V3$0.0520reve-text-to-imageReve$0.0520vidu-q2-text-to-imageVidu$0.0650wan-v2.2-5b-text-to-imageWan$0.0208wan-v2.2-a14b-text-to-imageWan$0.0325wan-25-preview-text-to-imageWan 2.5 Text to Image$0.0650wan-v2.2-a14b-text-to-image-loraWan v2.2 A14B Text-to-Image A14B with LoRAs$0.0650

### JavaScript

import { createKeyPairSignerFromBytes } from "@solana/kit";
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { ExactSvmScheme } from "@x402/svm/exact/client";

const signer = await createKeyPairSignerFromBytes(keypairBytes);
const client = new x402Client();
client.register("solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp", new ExactSvmScheme(signer));

const fetchWithPay = wrapFetchWithPayment(fetch, client);

const res = await fetchWithPay("https://api.geometry.sh/api/x402/generate", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ prompt: "A cat in space" }),
});

const { data } = await res.json();
console.log(data.imageUrl);

### cURL

# Step 1: Get a quote (free)
curl https://api.geometry.sh/api/x402/generate/quote?model=flux-dev

# Step 2: POST to generate (returns 402 with payment instructions)
curl -X POST https://api.geometry.sh/api/x402/generate \\
  -H "Content-Type: application/json" \\
  -d '{"prompt": "A cat in space", "model": "flux-dev"}'

# Step 3: Use an x402 client to handle payment automatically
# npm install @x402/fetch @x402/svm
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: geometrydotsh
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-03T15:21:00.975Z
- Expires at: 2026-05-10T15:21:00.975Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/geometry)
- [Send to Agent page](https://openagent3.xyz/skills/geometry/agent)
- [JSON manifest](https://openagent3.xyz/skills/geometry/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/geometry/agent.md)
- [Download page](https://openagent3.xyz/downloads/geometry)