API Key

For safety reasons, we'll store the API keys in Firebase so that no one can access them, and you can change them anytime you want on the fly.

Get OpenAI key

After you create an account in OpenAI, go to https://platform.openai.com/overview and click on View API Keys. Now create a new secret key and copy it.

Get StableDiffusion API key

Now, create an account in this website: https://stablediffusionapi.com/. then get your API key from the website.

Store API keys

Go to the Firestore Database and create a new collection, call it "api". inside that collection, create a new document called "keys".

Inside that document, create two fields, "dallE" and "stableDiffusion" then paste the API keys inside them.

Last updated