تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

geometry

بواسطة geometrydotsh

Browser & Automation
356التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Generate AI images from text prompts.

الوصف

ما الذي تفعله هذه المهارة

Geometry is an AI image generation API that charges per request in USDC on Solana using the x402 payment protocol. No account registration or API key is needed. Supports over 30 models including FLUX, Ideogram, Imagen, and Gemini variants.

No account or API key setup means an agent can start generating images immediately by funding a Solana wallet, unlike subscription-based APIs that require human onboarding.

متى تستخدمها

  • Generating product mockup visuals without a subscription
  • Paying per image when usage is too low to justify a monthly plan
  • Selecting a specific model like Ideogram for text-heavy images
  • Checking price quotes before committing to generation
  • Integrating image generation into an agent that handles its own payments

مثال على سير العمل

الإدخال

User asks: Generate an image of a neon-lit Tokyo alley in the rain using flux-dev

الوكيل
  1. 1

    Calls GET /api/x402/generate/quote?model=flux-dev to retrieve cost (free)

  2. 2

    Confirms cost is 0.0325 USDC via the quote response

  3. 3

    Sends POST /api/x402/generate with the prompt and model slug, triggering a 402 response

  4. 4

    x402 client handles USDC payment to the specified Solana address automatically

  5. 5

    Receives the completed image URL from the response

الإخراج

A CDN-hosted PNG URL of the generated image

المتطلبات

  • Solana wallet funded with USDC (for paying per generation)
  • x402-compatible client library (e.g. @x402/fetch, @x402/svm npm packages)

التثبيت

clawhub install geometrydotsh/geometry

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط