HeyGen-Official / InteractiveAvatarNextJSDemo

MIT License
79 stars 88 forks source link

Why are you asking for a NEXT_PUBLIC_OPENAI_API_KEY in the .env? #34

Open vandercloak opened 1 week ago

vandercloak commented 1 week ago

Maybe I am misunderstanding how next works, but isn't using NEXTPUBLIC* exposing a secret key on the app?

vandercloak commented 1 week ago
image

In your .env^

Norton8607 commented 1 week ago

have they been able to connect with GPT???? no matter how much I try, I can't connect

chstappert commented 2 days ago

First, only one OpenAi key needs to be used. There is no public key. Second. It does not run. Wether the demo is working properly. I tried to rebuild it in vue/nuxt and the SDK does not talk to OpenAI for input translation at all.