Setting Up
Generating an API Key
Last updated
Generating an API Key
Last updated
To use the HareProxy API, you need to have an Discord account and generate an API key. Follow these steps:
Go to the Discord Channel Chat (I.E 🤖・commands).
Use the discord command /key to generate a new key.
If you already have a existing key, Enter /key to view it.
Bot is not responsive? Ping @yongdong for help.
Depending on your environment and application, you will set the base URL differently. Below is the main API endpoint that you can use to access the services:
The API supports multiple endpoints for various AI services:
OpenAI: https://api.hareproxy.io.vn/proxy/openai
OpenAI Image: https://api.hareproxy.io.vn/proxy/openai-image
Google AI: https://api.hareproxy.io.vn/proxy/google-ai
Mistral AI: https://api.hareproxy.io.vn/proxy/mistral-ai
Azure: https://api.hareproxy.io.vn/proxy/azure/openai
Anthropic Claude: https://api.hareproxy.io.vn/proxy/anthropic
Based on your environment, you will call our API differently. Below are two common ways to call our API using two popular programming languages: Python and NodeJS