APIs to generate random user avatars (#blogPost)

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 s…


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis

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 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! đź’Ż

[Interactive component: visit the article to see it...]

RoboHash

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

[Interactive component: visit the article to see it...]

LOREM.SPACE

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!

[Interactive component: visit the article to see it...]

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.


Reply to Stefan


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis


Print Share Comment Cite Upload Translate Updates
APA

Stefan Judis | Sciencx (2022-04-02T22:00:00+00:00) APIs to generate random user avatars (#blogPost). Retrieved from https://www.scien.cx/2022/04/02/apis-to-generate-random-user-avatars-blogpost/

MLA
" » APIs to generate random user avatars (#blogPost)." Stefan Judis | Sciencx - Saturday April 2, 2022, https://www.scien.cx/2022/04/02/apis-to-generate-random-user-avatars-blogpost/
HARVARD
Stefan Judis | Sciencx Saturday April 2, 2022 » APIs to generate random user avatars (#blogPost)., viewed ,<https://www.scien.cx/2022/04/02/apis-to-generate-random-user-avatars-blogpost/>
VANCOUVER
Stefan Judis | Sciencx - » APIs to generate random user avatars (#blogPost). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/04/02/apis-to-generate-random-user-avatars-blogpost/
CHICAGO
" » APIs to generate random user avatars (#blogPost)." Stefan Judis | Sciencx - Accessed . https://www.scien.cx/2022/04/02/apis-to-generate-random-user-avatars-blogpost/
IEEE
" » APIs to generate random user avatars (#blogPost)." Stefan Judis | Sciencx [Online]. Available: https://www.scien.cx/2022/04/02/apis-to-generate-random-user-avatars-blogpost/. [Accessed: ]
rf:citation
» APIs to generate random user avatars (#blogPost) | Stefan Judis | Sciencx | https://www.scien.cx/2022/04/02/apis-to-generate-random-user-avatars-blogpost/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.