Skip to content

How to Get an API Key from openai-hk ​

Get the Master Key ​

  • Visit https://www.openai-hk.com and click ConsoleConsole
  • Click the menu item Get Key, then click Copy Key to get your key: hk-xxxxxxxx Copy Key
  • Our gateway is https://api.openai-hk.com. Combine your key with the gateway to use it in various applications.
  • Using chatgpt-web-midjourney-proxy as an example, our gateway and key support both ChatGPT and midjourneycover

Create a Sub Key ​

  • Click the menu item Get Key, then click New Sub Key to see the form below New Sub Key
  • In the form above, you can set the balance, specify models, set an expiration date, and configure an IP whitelist
  • After creation, a sub key list will appear. Click Copy in the sub key list to get the key Copy Sub Key

Notes ​

    1. The master key and sub keys, as well as sub keys among themselves, do not affect each other
    1. Models: the master key is categorized by type; sub keys can directly specify a model
    1. IP Whitelist: both master key and sub keys support it; for security, it is recommended to set an IP whitelist for all keys