UI Avatars by Lasse Rafn
API that generates avatar images with initials from names, returned as SVG or PNG.
Avatars and placeholders AI generator
Price
Free
Free API with no limiting or login
Commercial use
Yes
MIT License
Credit the author
Not needed
No credit needed
Agent access
Public API
no key needed
Rules for your agent
Copied.
- UI Avatars (Avatars and placeholders). API that generates avatar images with initials from names, returned as SVG or PNG. Price: free; commercial use OK; no credit needed. Connect: API docs https://ui-avatars.com. Limits: No limiting or login stated; size between 16 and 512 px. Rule: Keep the MIT copyright and license notice if you copy or distribute the UI Avatars code. Rule: Call the API at https://ui-avatars.com/api/ with name, size, background and color parameters; no key is needed. Rule: Request 1.5x or 2x sizes for high-DPI screens while keeping the img tag at its original size. Rule: The licence page covers the code only; the site states no terms for generated images, so check before relying on them. License: https://github.com/LasseRafn/ui-avatars/blob/HEAD/LICENSE (checked 2026-10-10; details: https://agentgid.com/assets/ui-avatars/)
Paste it into your prompt or AGENTS.md. It is built from the license and API terms below.
License
| License | MIT License |
|---|---|
| Commercial use | Commercial use OK |
| Credit | No credit needed |
| Inside your app or game | Can ship inside your app |
| AI training | Not stated |
| Bots and bulk downloads | Not stated |
| Rules |
|
Connect it to an agent
| MCP server | None found |
|---|---|
| API | API docs · no key |
| Limits | No limiting or login stated; size between 16 and 512 px |
| GitHub | LasseRafn/ui-avatars |
Pricing
| Free | Free API with no limiting or login |
|---|---|
| Paid from | — |
| Usage price | — |
| Good to know | Added automatically: 1,197 GitHub stars; MCP servers in the official MCP Registry connect to it. License read from the official pages. |
Sources
Read on Oct 10, 2026: ui-avatars.com, ui-avatars.com/pricing, github.com/LasseRafn/ui-avatars/blob/HEAD/LICENSE, github.com/LasseRafn/ui-avatars.
Not legal advice. Check the license page before you ship.
Alternatives to UI Avatars
| Pick for your agent | Source | Price | License | Agent access |
|---|---|---|---|---|
| DiceBear Avatar generator with 61 styles via a free HTTP API, JS library and CLI; self-hostable. |
Free | Commercial: conditions Credit varies | API | |
| Boring Avatars MIT React library that generates SVG avatars, plus a separate paid avatar service. |
Free tier | Commercial OK No credit | npm |
0 selected
Copied. Paste it into your prompt or AGENTS.md.