Get a free key at aistudio.google.com/apikey. On the free tier Google may use what you send (song names and patches) to improve its products, and there are daily limits. If the chosen model is busy, the app tries the other suggested models.
Keys are stored only in this browser on this computer and sent only to that provider's API.