@Gracia Zhang (Junzhu Zhang)

For newbies like me who didn't know anything about API at the beginning

https://cdn.discordapp.com/emojis/983849806378188812.webp?size=96&quality=lossless

Here’s the official document: https://platform.openai.com/docs/api-reference

Let’s follow the document step by step!

1st Step: install openai

2nd Step: Create Your API key

3rd Step: Make a test request

4th Step: Jump to the JS part!