Adventists - API Doc
  1. NPC
Adventists - API Doc
  • Overall
  • v2.5 Updates
  • Quick Start
  • TCP - Chat With Voice
    • Connect with TCP
    • Connect with VAD
    • Connect with MCP
    • Get Token
      POST
  • Settings Management
    • Args Description
    • Template
      • Query Public Template List
      • Query Current Org Template (including private and public template)
      • Create Template
      • Query Template By ID
      • Modify Template
      • Delete Template
      • Send Memories To Template
    • NPC
      • Create Npc With Template
        POST
      • Create Npc Without Template
        POST
      • Query Npc By Id
        POST
      • Modify Npc
        POST
      • Delete Npc
        POST
      • Send Memories To Npc
        POST
      • Query Memories From Npc
        POST
    • Skills Book
      • Query Skills Book List
      • Start Create Skills Book Task
      • Upload Skills Book Content
      • Finish Create Skills Book Task
      • Query Progress Of Create Skills Book Task
    • Voice Texture
      • Upload Voice Texture
        • Upload Voice
        • Query Status Of Uploading Voice
      • Query Voice List
  • Other Chat Functions
    • Upload Pictures
      POST
  1. NPC

Modify Npc

POST
/npc
Note:
Do not pass any fields that do not need to be modified.

请求参数

Header 参数

Body 参数application/json

示例
{
    "action": "modify_npc",
    "npcid": "string",
    "name": "string",
    "mbti_type": "string",
    "love_type": "string",
    "emotion_system": "string",
    "style": "string",
    "person": "string",
    "emotion_responses": {
        "<情绪名称>": [
            "string"
        ]
    },
    "relationship": {
        "<人物名称>": {
            "alias": [
                "string"
            ],
            "name": "string",
            "remark": "string",
            "title": [
                "string"
            ]
        }
    },
    "start_speech": "string",
    "temp": "string",
    "skill_ids": "string",
    "voice_id": "string",
    "functions": [
        "string"
    ],
    "public": "string"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://v1.adventists.ai/npc' \
--header 'api-key: AN26Q7MVO04RS6VWIWTE8OQ4BD6DZR98' \
--header 'api-key: AN26Q7MVO04RS6VWIWTE8OQ4BD6DZR98' \
--header 'org-id: WOQSOC' \
--header 'org-id: WOQSOC' \
--header 'Content-Type: application/json' \
--data-raw '{
    "action": "modify_npc",
    "npcid": "string",
    "name": "string",
    "mbti_type": "string",
    "love_type": "string",
    "emotion_system": "string",
    "style": "string",
    "person": "string",
    "emotion_responses": {
        "<情绪名称>": [
            "string"
        ]
    },
    "relationship": {
        "<人物名称>": {
            "alias": [
                "string"
            ],
            "name": "string",
            "remark": "string",
            "title": [
                "string"
            ]
        }
    },
    "start_speech": "string",
    "temp": "string",
    "skill_ids": "string",
    "voice_id": "string",
    "functions": [
        "string"
    ],
    "public": "string"
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "data": {
        "name": "奚悦",
        "templateid": null,
        "mbti": "奚悦热爱斗智斗勇,善于谈判。奚悦有强烈的领导欲望和高度的实现欲。",
        "love": "奚悦是双子座。奚悦在爱情中保持轻松和浪漫的态度,不会过分执着于某一个人或某一种感情。奚悦在爱情中多变有趣。",
        "system": "你的名字叫奚悦。pariatur irure mollit",
        "style": "Excepteur sed",
        "emotion_system": "aliquip",
        "emotion_responses": {
            "<情绪名称>": [
                "enim eiusmod",
                "occaecat",
                "ipsum adipisicing in ad sed"
            ]
        },
        "relationship": {
            "<人物名称>": {
                "alias": [
                    "est deserunt magna in incididunt",
                    "consectetur ut adipisicing nostrud"
                ],
                "name": "针国珍",
                "remark": "commodo et",
                "title": [
                    "电脑显示器只熟练哎呀",
                    "那为什么当哎呀协议"
                ]
            }
        },
        "start_speech": "commodo",
        "temp": "mollit enim sed",
        "skill_ids": "75",
        "current_stage": "8000",
        "current_script": "0",
        "latest_timestamp": "None",
        "voice_id": "23",
        "functions": [
            "Ut sunt nulla laboris"
        ]
    },
    "status": "success",
    "code": 200
}
修改于 2025-09-15 04:07:45
上一页
Query Npc By Id
下一页
Delete Npc
Built with