Adventists - API Doc
    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
        • Create Npc Without Template
        • Query Npc By Id
        • Modify Npc
        • Delete Npc
        • Send Memories To Npc
        • Query Memories From Npc
      • 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

    Overall

    WechatIMG1328.jpg

    Overall#

    This API document provides developers with a comprehensive guide for integrating and using the provided services. The document is structured into different sections, each containing specific interfaces that perform various functions within the system.

    Interface Guide#

    The dialogue interface uses the TCP protocol and is encapsulated into a role. When using it, you only need to focus on the npcid.
    The correct operation flow is as follows:
    1.
    Create Role: Use a specified template ID to create a role.
    2.
    Get Access Token: Use the newly created role information to obtain an access token. This token is valid for 4 hours; once it expires, you need to regenerate it.
    3.
    Start Dialogue: When starting a dialogue, you need to pass the obtained access token as a parameter to begin the conversation.

    Test org_id and api_key#

    org_id: WOQSOC
    api_key: AN26Q7MVO04RS6VWIWTE8OQ4BD6DZR98

    Templates and Roles#

    In this system, users can use preset templates to create independent roles and then use these roles for testing. Although different users can use the same template, each role created based on that template is independent, with its own memory and no interaction with others. The template can configure shared template memory, which is common to all roles created based on that template. In addition, each role will develop independently after creation and can be seen as an independent copy of the template.

    Test Templates#

    To quickly test the effect of our NPCs, you can use our preset NPCs for testing. These NPCs are suitable for multiple scenarios, including customer service, novel characters, AI girlfriends, etc. The following are the template IDs for AI girlfriends in the "Anyone" app:
    LuLu: XDSK5Wa351a5fb19eb4c448dcca568ca284176
    Sandra: UY2FEP48228b5e8bf8413eaa430dc3ded2dd29
    Isabella: XDSK5W11f67322228941e9a68f5499ff60c9f0
    Scarlett: XDSK5W70c3c190cda647f6b7b3fca06a85330d
    Sakura: XDSK5We3e47adbc5484ba49a94c0b2fa7ef48e
    CaoCao: BRGJW56d2d16248a3149e397d7d26e682797fa
    Guanyu: BRGJW5bc6a2af252344ca9ae58fede93ca56c6
    Huangmei: BRGJW570af8ccf6c7146ba8968435357c02ae9
    修改于 2025-09-12 10:43:46
    下一页
    v2.5 Updates
    Built with