The API is browser-accessible, which is useful for simple chatbot prototypes. Below is a basic TTS chatbot built with HTML and JavaScript that uses both the LLM and TTS APIs. Click the Result tab below to demo the chatbot:


API Key Notice

If you want to make your own chatbot, be sure your API key is not hardcoded in the client.

  1. Ask the user to input their own API key as shown above
  2. Or create your own server to proxy between your client and the API