Options API

Use the options below as query params.
Param
Type
Default
username
String (firstname + lastname)
Random *
The name used to generate initials
background
String (Hex Color Codes)
Random *
Background color Avatar. for example, "eeeeee".
color
String (Hex Color Codes)
Random *
Font color Avatar. for example, "aaaeee".
bold
Boolean
true
Font weight bold or not.
uppercase
Boolean
true
Text in Avatar image uppercase or not.
size
Number (Between 32 and 1024)
256
Avatar image size in pixels.
format
String (png or jpg)
png
Avatar image foramt.
length
Number (1 or 2)
2
Length of the generated initials.
More Example:
https://avatar.iran.liara.run/username?username=James+Taylor&background=f4d9b2&color=FF9800
https://avatar.iran.liara.run/username?username=robert+davis&uppercase=false
https://avatar.iran.liara.run/username?username=elizabeth&bold=false&length=1