A custom node for a LMStudio integration into ComfyUI.
A custom node for a LMStudio integration into ComfyUI.
To install the required dependencies browse to your custom_nodes folder inside of ComfyUI, open a command line and clone this repository:
git clone https://github.com/ALatentPlace/YANC_LMStudio.git
I will try to get it also to the ComfyUI Manager as soon as possible.
The node will put itself in the folders of my other node collection (YANC). You will then find it in the subfolder "LMStudio".
prompt
: The input prompt to be sent to the AI model inside of LMStudio.model_identifier
: Identifier for the specific model used. Can be found in LMStudio.system_message
: A multi-line system prompt that sets instructions to the LLM.seed
: Random seed (0 by default). Set it to fixed to prevent generations.ip
: Hostname or IP address of the LMStudio service.port
: Port number to connect to.temperature
: Controls randomness in output, between 0.1 and 1.0.max_tokens
: Maximum length of the generated response.unload_llm
: Boolean flag to unload the LLM after use (default: False).unload_comfy_models
: Boolean flag to unload COMFY models before sending a request to LMStudio (default: False).