APIs to generate random user avatars
- Published at
- Updated at
- Reading time
I'm a tab hoarder. There you have it! I often discover resources and keep their browser tabs open for months. They might come in handy in the future, right?
Today I'm cleaning up my browser tabs, putting things into my bookmarking system, my blog. So, here are some free image APIs to generate random user avatars.
DiceBear provides many hash-dependent avatars. Every URL hash (a user id or name) generates a new avatar image.
The service offers many different avatar style options, too.
And they'll get bonus points for serving SVGs! 💯
RoboHash provides hash-dependent avatars, too. They're not serving SVGs but PNGs. Nevertheless, I'm super into the Futurama style!
Random Users shines with realistic user avatars which can be handy when building realistic mocks and wireframes.
LOREM offers more than avatar images. They provide movie and music album covers, pizzas, watches and random face pictures. It's a valuable service if you're building a shop or something!
The service doesn't generate images but redirects you to a different URL when calling their endpoints.
They receive bonus points for their built-in image resize options!
I really like the style of the joe schmoe avatar collection. The comic avatars are served as small and scaleable SVGs. Unfortunately, there are only 28 of them, but I think that's enough for most demo application use cases.
Tom Doan shot me an email and shared the Multiavatar API with me. The style is not really my thing, but it's great that the service offers SVG and PNGs.
The API shines with six different styles, configurable colors and controllable size! And the
beam style is very cute.
I just love that we have all these random APIs available these days! 💙
I'll try to extend this post in the future. If you know of more avatar APIs, shoot them my way.