使用
创建 API Key 并配置客户端
接入软件前,先创建 API Key。
怎么创建
1
登录控制台 https://console.jiapi.com 。
2
点击“密钥列表”。
3
点击“创建 API Key”。
4
填写一个方便记忆的分组名称
5
根据自身需求,选择合适的分组
6
复制生成的 API Key,和上面的可用入口,填写到您用的软件或配置文件中
客户端需要哪些
| 字段 | 填写 |
|---|---|
| Base URL | 一般情况用:https://your-api-host.example;备用入口:https://your-api-host.example、https://your-api-host.example、https://your-api-host.example;如果是生成图片则用:https://your-api-host.example |
| API Key | 刚创建的 API Key,sk-xxxxx 的那串字符 |
| Model | 服务平台 当前支持的模型名 |