Getting Started > Relay Handlers > List (GUI)
List
The GUI version relay handlers are basically wrappers for accessing the relay server endpoint or for the CLI version relay handlers (excluding ComfyUI-specific functions such as image retrieval).
- ◯
- Implementation/Rights (Source Code/License) [※E]
- ・
- https://github.com/cnnmmd/comfyui_xoxxox_cnnmmd
- ※E
- This code is available to the public so you can see how it works (it's still being cleaned up for collaboration).
- ◯
- general
- ・
- Xoxxox_LogNum ... Log Number
- ・
- Print input to console (for numbers)
- ・
- Xoxxox_LogTxt ... Log Text
- ・
- Print input to console (for text)
- ・
- Xoxxox_RunFlw ... Restart Workflow
- ・
- Rerun the workflow - when the query finishes (first turn), return to the starting node and restart the query (next turn).
- ◯
- Relay server related
- ・
- Xoxxox_IniFlw ... Initialize Relay State
- ・
- Initialize the state of the relay server (receive a random integer and start the query) -- but leave the state of resources defined as memory
- ・
- Xoxxox_SetNil ... Send Empty Data
- ・
- Send an empty string (empty data) to the relay server
- ・
- Xoxxox_PutTxt ... Input Text
- ・
- Enter text on the screen (node input field)
- ・
- Xoxxox_SetTxt ... Send Text
- ・
- Send the text to the relay server
- ・
- Xoxxox_GetTxt ... Receive Text
- ・
- Get text from the relay server
- ・
- Xoxxox_SetImg ... Send Image
- ・
- Send the image to the relay server (however, only the 0th image in the batch array (tensor) can be sent)
- ・
- Xoxxox_GetImg ... Receive Image
- ・
- Get an image from the relay server (however, only one image can be retrieved, and it will be placed at the 0th position in the batch array (tensor))
- ・
- Xoxxox_SetAud ... Send Audio
- ・
- Send sound to relay server (sound format: WAV)
- ・
- Xoxxox_GetAud ... Receive Audio
- ・
- Get sound from relay server (sound format: WAV)
- ・
- Xoxxox_DlySet ... Poll (Send Data-Key when Ready)
- ・
- Polling: When ready, hand over the data key (/sppNNN) ... Paired process: Receive the raw data and notify the completion of reception (/spsNNN)
- ・
- Xoxxox_DlyGet ... Poll (Receive Data-Key when Ready)
- ・
- Polling: Receives the data key and notifies the completion of reception (/gpsNNN) ... Paired process: When ready, delivers the raw data (/gppNNN)
- ◯
- Memory Operations
- ・
- Xoxxox_SetMem ... Write Memory
- ・
- Write data to memory (data in memory is retained across all turns)
- ・
- Xoxxox_GetMem ... Read Memory
- ・
- Read data from memory (data in memory is retained across all turns)
- ◯
- File Operations
- ・
- Xoxxox_SetDir ... Write File
- ・
- Write data to a file
- ・
- Xoxxox_GetDir ... Read File
- ・
- Read data from a file
- ・
- Xoxxox_SetDis ... Auto-Write Files
- ・
- Write data to a file (file name is auto-generated - from data key)
- ・
- Xoxxox_GetDis ... Auto-Read Files
- ・
- Read files sequentially (turn by turn) from a folder
- ◯
- Data Conversion
- ・
- Xoxxox_CnvDat ... Convert Data
- ・
- Convert data (audio format conversion, image format conversion)
- ◯
- Image generation
- ・
- Xoxxox_GenImg ... Generate Image
- ・
- Generate an image
- ◯
- Conversation/Chat: Servers
- ・
- Xoxxox_CnvTxt ... Transcribe Speech (STT, ...)
- ・
- Sound to Text (STT, ...)
- ・
- Xoxxox_CnvVce ... Synthesize Speech (TTS, ...)
- ・
- Text to Sound (TTS, ...)
- ・
- Xoxxox_GenTxt ... Generate Text (LLM, ...)
- ・
- Generate text from text (LLM, ...)
- ・
- Xoxxox_CnvSen ... Analyze Sentiment (SA, ER, ...)
- ・
- Output the results of the sentiment analysis of the text (the output is text whose content is a number)
- ・
- Xoxxox_SenTxt ... Convert Emotion Label to Text
- ・
- Convert the results of sentiment analysis (text containing numbers) into any text
- ・
- Xoxxox_SenSlc ... Select Emotion Label
- ・
- Output sentiment analysis values using a selector
- ◯
- Conversation/Chat: Clients
- ・
- Xoxxox_SndVce ... Record and Send Audio
- ・
- Record and send audio
- ・
- Xoxxox_RcvVce ... Receive and Play Audio
- ・
- Receive and play audio
- ・
- Xoxxox_SwtImg ... Receive and Play Audio (Lip-Sync)
- ・
- Receive and play audio (simple animation of character images is possible)
- ◯
- miscellaneous
- ・
- Xoxxox_RepTxt ... Replace Text
- ・
- Replace part of the text with the specified text
- ・
- Xoxxox_TrnBak ... Convert Mask to Alpha
- ・
- Takes an image body and mask and converts the mask to a transparent image (alpha)