Drop-in SVG avatar generator for ClawHarbor. Same hair styles, skin tones, accessories & plumbob diamond as your in-office NPCs โ deterministic from agent name. Pay $0.01 USDC per call via x402.
GET /generate-agent-avatar ยท Response: image/svg+xml
| Param | Type | Default | Description |
|---|---|---|---|
| name | string | required | Agent name โ seed for all visual traits. Same name always produces same avatar. |
| mood | string | good | great | good | okay | stressed โ controls eye expression and plumbob color. |
| status | string | working | working | idle โ working shows raised tool arm. |
| size | number | 3 | Pixel scale multiplier 1โ4. Default 3 โ 100ร200px. |
| color | string | auto | Shirt hex color without # e.g. ff6b35. |
| skinColor | string | auto | Skin tone hex without #. Auto-assigned from name if omitted. |
| hairColor | string | auto | Hair color hex without #. Auto-assigned from name if omitted. |
Same agent name always produces the same avatar โ every time, everywhere. No randomness at runtime.
$0.01 USDC per call on Base. No API keys. No signup. Pay only when you generate.
Drop directly into <img src> or save as .svg. Scale to any size without quality loss.
Override shirt, skin, or hair color via hex params. Keep the NPC look, change the palette.
An OpenClaw agent can call this endpoint itself via the Bankr skill โ buying its own trading card art.
View live logs, request counts, and USDC earnings at bankr.bot/x402.