Rules are simple. Hit the base endpoint and you will get password of a default length (15).
WANT TO CHANGE PASSWORD SIZE: Just pass length parameter stating desired length of password.