Artboard 16light, inspiration, solution, idea, innovation,Google Sheets iconSwift icon
Published at
Updated at
Reading time
2min

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 handy image APIs to generate random user avatars.

DiceBear avatars

DiceBear avatars - DiceBear is an avatar library for designers and developers. You can choose between simple identicons and lovely designed characters.  And best of all: We provide a simple and free HTTP API that you can use right away!

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! ๐Ÿ’ฏ

DiceBear Avatars
  • Generated avatar for https://avatars.dicebear.com/api/croodles/stefan.svgavatars.dicebear.com/api/croodles/stefan.svg
  • Generated avatar for https://avatars.dicebear.com/api/bottts/stefan.svgavatars.dicebear.com/api/bottts/stefan.svg
  • Generated avatar for https://avatars.dicebear.com/api/open-peeps/stefan.svgavatars.dicebear.com/api/open-peeps/stefan.svg

RoboHash

RoboHash - Generate Unique images from any text

RoboHash provides hash-dependent avatars, too. They're not serving SVGs but PNGs. Nevertheless, I'm super into the Futurama style!

RoboHash Avatars
  • Generated avatar for https://robohash.org/stefan-onerobohash.org/stefan-one
  • Generated avatar for https://robohash.org/stefan-tworobohash.org/stefan-two
  • Generated avatar for https://robohash.org/stefan-threerobohash.org/stefan-three

Random Users

Random users โ€“ Generate random user profile pictures and names to use them as placeholders for your prototypes and design projects

Random Users shines with realistic user avatars which can be handy when building realistic mocks and wireframes.

Random Users Images
  • Generated avatar for https://xsgames.co/randomusers/avatar.php?g=malexsgames.co/randomusers/avatar.php?g=male
  • Generated avatar for https://xsgames.co/randomusers/avatar.php?g=femalexsgames.co/randomusers/avatar.php?g=female
  • Generated avatar for https://xsgames.co/randomusers/avatar.php?g=pixelxsgames.co/randomusers/avatar.php?g=pixel

LOREM.SPACE

API for placeholder images but useful!

LOREM.SPACE 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!

LOREM.SPACE Images
  • Generated avatar for https://api.lorem.space/image/face?w=150&h=150api.lorem.space/image/face?w=150&h=150
  • Generated avatar for https://api.lorem.space/image/pizza?w=150&h=150api.lorem.space/image/pizza?w=150&h=150
  • Generated avatar for https://api.lorem.space/image/watch?w=150&h=150api.lorem.space/image/watch?w=150&h=150

Conclusion

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.

Related Topics