How are onion addresses generated?
They are based on a public cryptographic key. So, if you want to have a unique ". onion" address, you need to generate one using the public key. The generated address will be a random string of 16 or 56 characters without any input, depending on which version of the onion service you use.