So basically I have an API key of GPT and I want to make a js file which would use my prompt and send the result to be sent in my own custom format. I tried using ChatGPT and Gemini to get the code but they seem to not work. Also I didn't find relavent code in the documentation for my query. It might be a small task for you , but I'm pretty new to it. Your guidance is highly appreciated