Skip to content

创建AI角色 ​

最近更新日期:2026-01-24 19:17:22

接口说明 ​

用于创建一个新的AI角色。

请求信息 ​

接口地址 ​

POST /product/zeroai/character/creat

请求头 ​

Content-Type: application/x-www-form-urlencoded
Authorization: 你的token

请求参数 (Body, form-data) ​

参数名是否必填类型说明
aiName是stringAI角色名称
aiDescription是stringAI角色描述
aiSystemPrompt是string系统提示词
apiSelect是stringAPI提供商公钥
apiKey是string所选API提供商的密钥
model是int模型类型 (对应后端 AIModelType 枚举)