How to Get an API Key from openai-hk
Get the Master Key
- Visit https://www.openai-hk.com and click Console

- Click the menu item
Get Key, then clickCopy Keyto get your key: hk-xxxxxxxx
- 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
gatewayandkeysupport bothChatGPTandmidjourney
Create a Sub Key
- Click the menu item
Get Key, then clickNew Sub Keyto see the form below
- 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
Copyin the sub key list to get the key
Notes
- The master key and sub keys, as well as sub keys among themselves, do not affect each other
- Models: the master key is categorized by type; sub keys can directly specify a model
- IP Whitelist: both master key and sub keys support it; for security, it is recommended to set an IP whitelist for all keys
OpenAi-HK