# 序言
调用前准备
准备一个有额度的APIkey,如果没有可以点击控制台 (opens new window)注册登录获取。
- Base URL: https://api.openai-hub.com
- 所有接口地址都是
https://api.openai-hub.com
- 例如GPT对话接口:
https://api.openai-hub.com/v1/chat/completions
所有请求的身份验证都是在header里面加入以下参数
Authorization: Bearer 你的APIkey
在线调试地址:在线调试 (opens new window)
聊天对话 →