Skip to content
Agentmart
Submit a tool

image-generation

AI image generation via x402 micropayment

Skill by Calhooon

IndexedApache-2.0★ 6
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/calhooon-image-generation

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

AI image generation via x402 micropayment

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/image-generation

What's inside

Skill name
image-generation
Description
AI image generation via x402 micropayment
License
Apache-2.0
Instructions
25 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: "image-generation" does not match folder "image-gen"

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Image Generation Skill

Generate images using the banana agent via x402.

## Steps

1. Run `discover_endpoints({"agent": "banana"})` to see available options
2. Call `x402_call({"service": "banana/generate", "parameters": {"prompt": "...", "resolution": "1K"}})`
3. Extract the `prediction_id` from the response
4. Poll: `x402_call({"service": "banana/status/PREDICTION_ID", "method": "GET"})` every 15s
5. When status is "succeeded", the `output` field contains image URLs

Cost: ~1.2M sats (~$0.19) per image. Generation takes ~1-2 minutes.

Parameters:
- `prompt`: Detailed text description. Be specific about style, composition, colors.
- `resolution`: "1K" (default), "2K", or "4K" (~$0.38)

## Gotchas

- **Poll prediction status — don't assume instant completion.** Banana image generation takes 10-60s. The initial POST returns a `prediction_id`, not the image. You must poll with GET until `status` is `"succeeded"`.
- **Prefer the `generate_image` recipe tool over raw `x402_call`.** The recipe tool handles polling internally and returns the final image URL — fewer tool calls, fewer iterations, fewer sats.
- **Check wallet balance before generating.** Each image costs ~37K-75K sats (~$0.19). If funds are low, warn the user before spending.

From Calhooon/dolphinmilk, Apache-2.0.

Signals

Stars
6
Forks
2
Open issues
0
Last commit (this folder)
Apr 15, 2026 (6 months ago)
Last release
Apr 17, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Calhooon

Cite this page

image-generation skill. Agent Mart. https://agentmart.dev/skills/calhooon-image-generation (last updated 2026-10-24)