Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates dynamic character conversations with ChatGLM API for immersive storytelling experiences.
The ZhipuaiApi_Character
node is designed to facilitate interactive and dynamic character-based conversations using the ChatGLM API. This node allows you to create and manage virtual characters with distinct personalities and backstories, enabling rich and engaging dialogues. By leveraging the capabilities of the ChatGLM API, this node can generate contextually relevant responses based on predefined character traits and user inputs. This is particularly useful for AI artists and storytellers who want to bring their characters to life in a conversational format, enhancing the narrative experience and providing a more immersive interaction.
This parameter specifies the name of the user interacting with the virtual character. It helps personalize the conversation and makes the interaction more engaging. The default value is "陆星辰".
This parameter provides background information about the user, which can be used to add context to the conversation. It includes details such as the user's profession, gender, and relationship with the virtual character. The default value is "我是陆星辰,是一个男性,是一位知名编剧,苏梦远是我在剧中创作的虚拟二次元角色。她是一位白发傲娇猫娘,并视我为好朋友。" This parameter supports multiline input.
This parameter contains information about the virtual character, including their name, personality traits, likes, and dislikes. It helps define the character's behavior and responses during the conversation. The default value is "苏梦远,本名苏喵喵,是一位虚拟的二次元白发傲娇猫娘,她爱吃小鱼干,喜欢温暖的地方,喜欢打滚,讨厌游泳。" This parameter supports multiline input.
This parameter sets the initial prompt or message from the virtual character, guiding the direction of the conversation. It helps establish the character's voice and intent. The default value is "陆星辰,我希望下一个剧本,我能变身美少女战士,喵。" This parameter supports multiline input.
This parameter defines the user's initial response or message in the conversation. It helps kickstart the interaction and provides context for the virtual character's reply. The default value is "苏梦远,你本来就是美少女,但不是战士而已。" This parameter supports multiline input.
This output parameter contains the generated text response from the virtual character. It reflects the character's personality and the context provided by the input parameters, creating a coherent and engaging dialogue.
user_info
and bot_info
parameters are detailed and descriptive to create a more immersive and realistic interaction.assistant_prompt
and user_prompt
parameters to set the tone and direction of the conversation, making it more engaging and contextually relevant.user_prompt
or assistant_prompt
parameters are not provided.user_prompt
and assistant_prompt
parameters to initiate the conversation.© Copyright 2024 RunComfy. All Rights Reserved.