ComfyUI Node
Unsloth Connectivity
Connection to an Unsloth Desktop (OpenAI-compatible) server: URL, API key, model, and keep-alive behavior. Use the Reconnect button to load the model list.
Unsloth Connectivity
- connection
◄urlhttp://127.0.0.1:8888►
◄api_key►
◄model▾►
◄keep_alive5►
◄keep_alive_unit▾►
CategoryUnsloth
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| url | STRING | http://127.0.0.1:8888 | Base URL of the Unsloth Desktop server. Default is the local instance on its default port. |
| api_key | STRING | Bearer API key from Unsloth Desktop (Settings -> API). Required — the OpenAI API rejects requests without it. | |
| model | COMBO | Select a model. Populated by the Reconnect button from the models available in Unsloth Desktop. Any listed model can be requested — Unsloth auto-switches to it if it is not already loaded. | |
| keep_alive | INT | 5-1–120 | How long to keep the model loaded after the last generation. -1 = keep loaded indefinitely, 0 = unload immediately after the response, N = unload N (unit) after the last generation. |
| keep_alive_unit | COMBO | 2 options: minutes, hours |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| connection | UNSLOTH_CONNECTIVITY | — |