Skip to content

更新AI角色信息

最近更新日期:2026-01-24 19:20:25

接口说明

用于更新一个已创建的AI角色的信息。

请求信息

接口地址

POST /product/zeroai/character/update

请求头

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

请求参数 (Body, form-data)

参数名是否必填类型说明
characterIDlong要更新的角色ID
aiNamestringAI角色名称
aiDescriptionstringAI角色描述
aiSystemPromptstring系统提示词
apiSelectstringAPI提供商公钥
apiKeystring所选API提供商的密钥
modelint模型类型 (对应后端 AIModelType 枚举)