Avatar generates beautiful gradient avatars for your app or homepage (for example if they didn't upload one)
Avatar is built on top of micro
and is hosted on Heroku
To generate an avatar just embed following URL https://avatar.tobi.sh/
. Now you can append a username to generate an avatar
You will receive a png
image with a size of 120*120px
Each name will generate a unique avatar
. Just replace tobiaslins
with an username
or email
https://avatar.tobi.sh/tobiaslins
https://avatar.tobi.sh/tobiaslins?size=30
It is possible to receive an svg avatar by adding the extension .svg
or the parameter type=svg
https://avatar.tobi.sh/tobiaslins.svg
https://avatar.tobi.sh/tobiaslins?type=svg
It is possible to add initials or a text to the avatar by adding the text
parameter.
Feature only working with SVG
https://avatar.tobi.sh/tobiaslins.svg?text=TL
If you just want to use random avatars without providing usernames, you can use the root endpoint
https://avatar.tobi.sh/
Are you creating a new app/website with an user system?
If your user doesn't want to load a custom profile picture - you can show him a unique generated avatar
Do you want to deploy avatar to Heroku? We got all that covered for you. Just click this button: