← 返回 Skills 市场
627
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install geometry
功能描述
Generate AI images from text prompts. Pay per request with USDC on Solana via x402. No API keys, no accounts.
使用说明 (SKILL.md)
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
| Field | Value |
|---|---|
| Protocol | x402 (version 2) |
| Network | solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Scheme | exact |
| Currency | USDC |
| Facilitator | https://facilitator.payai.network |
| Pay To | 79BLYwUdsNpPzDktxjibFR4DKMhHV2Q8iBu7Fk7R9fuU |
Endpoints
GET /api/x402/generate/quote
Get the USDC price for a model. Free — no payment required.
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | no | Model 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| prompt | string | yes | Text prompt (1–1000 chars) |
| model | string | no | Model 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
| Slug | Name | Price (USDC) |
|---|---|---|
| bagel | Bagel | $0.1300 |
| bytedance-seedream-v4.5-text-to-image | Bytedance | $0.0520 |
| bytedance-seedream-v3-text-to-image | Bytedance | $0.0390 |
| bytedance-dreamina-v3.1-text-to-image | Bytedance | $0.0390 |
| bytedance-seedream-v4-text-to-image | Bytedance Seedream v4 | $0.0390 |
| emu-3.5-image-text-to-image | Emu 3.5 Image | $0.1950 |
| flux-pro-kontext-max-text-to-image | FLUX.1 Kontext [max] | $0.1040 |
| flux-pro-kontext-text-to-image | FLUX.1 Kontext [pro] | $0.0520 |
| flux-dev | FLUX.1 [dev] | $0.0325 |
| flux-pro-v1.1-ultra | FLUX1.1 [pro] ultra | $0.0780 |
| bria-fibo-generate | Fibo | $0.0520 |
| bria-fibo-lite-generate | Fibo Lite | $0.0468 |
| gemini-25-flash-image | Gemini 2.5 Flash Image | $0.0517 |
| gemini-3-pro-image-preview | Gemini 3 Pro Image Preview | $0.1950 |
| xai-grok-imagine-image | Grok Imagine Image | $0.0260 |
| ideogram-v3 | Ideogram Text to Image | $0.0390 |
| ideogram-v2 | Ideogram V2 | $0.1040 |
| imagen4-preview | Imagen 4 | $0.0520 |
| imagen4-preview-fast | Imagen 4 | $0.0260 |
| imagen4-preview-ultra | Imagen 4 Ultra | $0.0780 |
| kling-image-v3-text-to-image | Kling Image | $0.0364 |
| kling-image-o3-text-to-image | Kling Image | $0.0364 |
| minimax-image-01 | MiniMax (Hailuo AI) Text to Image | $0.0130 |
| nano-banana | Nano Banana | $0.0517 |
| nano-banana-pro | Nano Banana Pro | $0.1950 |
| qwen-image-max-text-to-image | Qwen Image Max | $0.0975 |
| recraft-v3-text-to-image | Recraft V3 | $0.0520 |
| reve-text-to-image | Reve | $0.0520 |
| vidu-q2-text-to-image | Vidu | $0.0650 |
| wan-v2.2-5b-text-to-image | Wan | $0.0208 |
| wan-v2.2-a14b-text-to-image | Wan | $0.0325 |
| wan-25-preview-text-to-image | Wan 2.5 Text to Image | $0.0650 |
| wan-v2.2-a14b-text-to-image-lora | Wan v2.2 A14B Text-to-Image A14B with LoRAs | $0.0650 |
Quick Start
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
安全使用建议
This skill appears to be what it says: a paid image-generation API that charges USDC on Solana via x402. Before installing or using it: verify the geometry.sh domain and the payTo address if you care about funds routing; do not paste or upload private key material into the agent—use a wallet or a signing flow that keeps keys local (or use a hardware wallet/approved signer). Expect network calls to api.geometry.sh and facilitator.payai.network and small per-image charges; confirm pricing and refund/abuse policies. If you plan to let the agent act autonomously, be comfortable with it initiating payment flows on your behalf (the skill itself doesn't store or request unrelated credentials). If you need higher assurance, ask the skill author for more details or prefer a documented wallet-based signer integration rather than handing keypair bytes to the agent.
功能分析
Type: OpenClaw Skill
Name: geometry
Version: 1.0.0
The skill bundle describes an AI image generation service that integrates with the x402 payment protocol on Solana. The `SKILL.md` provides API documentation and client-side code examples for interacting with `https://api.geometry.sh`. There is no evidence of malicious intent, such as data exfiltration, unauthorized command execution, persistence mechanisms, or prompt injection attempts designed to subvert the agent's behavior. All external URLs and the Solana payment address are consistent with the stated purpose of the skill.
能力评估
Purpose & Capability
Name/description (AI image generation, pay-per-request via USDC on Solana/x402) align with the endpoints, pricing, and examples in SKILL.md. No extraneous credentials, binaries, or system paths are requested.
Instruction Scope
SKILL.md directs the agent to call api.geometry.sh and a payment facilitator (facilitator.payai.network) and includes JS/cURL examples. The examples show creating a signer from keypair bytes (private key material) and registering an x402 client; the instructions do not explicitly tell the agent to read arbitrary local files or environment variables, but they do assume the caller will provide keypair bytes or a wallet to sign payments.
Install Mechanism
This is an instruction-only skill with no install spec (low disk/system risk). The docs/examples reference npm packages (@x402/*, @solana/kit) but do not attempt to install them automatically; that's expected for developer examples but means an agent that tried to run the JS sample would need those packages available.
Credentials
No environment variables or secrets are declared or required by the skill. However, the payment flow requires signing with a Solana keypair (example uses keypairBytes). Users must not paste private keys into the agent; the skill itself does not request unrelated credentials.
Persistence & Privilege
always is false and the skill does not request persistent system-level presence or modify other skills/config. Autonomous invocation is allowed (default) but not excessive here given the skill's purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install geometry - 安装完成后,直接呼叫该 Skill 的名称或使用
/geometry触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release — AI image generation from text prompts via x402 USDC payments on Solana. 35+ models, no API keys needed.
元数据
常见问题
Geometry 是什么?
Generate AI images from text prompts. Pay per request with USDC on Solana via x402. No API keys, no accounts. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 627 次。
如何安装 Geometry?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install geometry」即可一键安装,无需额外配置。
Geometry 是免费的吗?
是的,Geometry 完全免费(开源免费),可自由下载、安装和使用。
Geometry 支持哪些平台?
Geometry 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Geometry?
由 Geomerty(@geometrydotsh)开发并维护,当前版本 v1.0.0。
推荐 Skills