Just tried it -- by default it renders the first and third initial: https://ui-avatars.com/api/?name=John+Doe+Third
You can add "&length=3" to the query string and it will render all three initials: https://ui-avatars.com/api/?name=John+Doe+Third&length=3