Free APIMediaNo keyOfficial
DiceBear Avatars API
Deterministic SVG/PNG avatars from any seed string, no account, many styles
DiceBear is an open-source avatar library with an HTTP API that generates deterministic avatars from a seed string across many artist-made styles (initials, identicons, bots, pixel art, lorelei, adventurer and more). The HTTP API needs no authentication; the same seed always yields the same avatar. SVG, PNG, JPG, WebP, and AVIF outputs are supported.
Free tier
Free for non-commercial use; self-host the open-source library for unlimited/commercial useRate limits
50 requests/second for SVG; 10/second for PNG/JPG/WebP/AVIF on the hosted API (HTTP 429 over it)Auth
No keyBase URL
https://api.dicebear.com/10.xWhat you'd build with it
- Generate stable placeholder profile pictures keyed on a username or email
- Add per-user identicons to a UI without storing image files
- Create varied test/demo avatars in a content pipeline
Key endpoints
- GET
/{style}/svgGenerate an SVG avatar for a style and ?seed= - GET
/{style}/pngGenerate a PNG avatar (rasterized, max 256x256) - GET
/{style}/webpGenerate a WebP avatar (max 256x256)
Members
Members get the runnable recipe
Sign in free to copy the example request, see a sample response, and read the gotchas.
Tags
avatarsimagessvggenerationopen-source