Fork from https://github.com/hihayk/boring-avatars-service.
Build with TypeScript.
You can use one of the variants marble
, beam
, pixel
, sunset
, ring
or bauhaus
.
https://api.rua.plus/avatar/beam
https://api.rua.plus/avatar/marble/40
https://api.rua.plus/avatar/marble/160
You can pass an array of colors using the parameter color
https://api.rua.plus/avatar/marble/120/Maria%20Mitchell?colors=264653,2a9d8f,e9c46a,f4a261,e76f51
Use the parameter square
to get square-shaped avatars.
https://api.rua.plus/avatar/marble/120/Maria%20Mitchell?square
You can use a username
, email
or any random text to generate a unique avatar
.
https://api.rua.plus/avatar/marble/120/Maria%20Mitchell
If you just want to use random avatars without providing usernames, you can use the root endpoint. You will receive an svg
image with a 80*80px size using the marble
variant.
https://api.rua.plus/avatar/