Saltar al contenido
Node packVerificadoExterno

TankNodes

Responsable@xzbdqian10nianUnratedcalidad

Perfil del paquete

Estado
Verificado
Publicador
@xzbdqian10nian
Estrellas
0

Léeme

TankNodes

English · 简体中文

A collection of ComfyUI nodes by Tank. Use a local Qwen3.8 model for text, images and video, or call other models through an OpenAI-compatible API.

Search for Tank in the node menu.

Nodes

NodeUse
Qwen3.8 Model Loader · TankSelect a main model and vision projector, then connect to local chat.
Local Multimodal Chat · TankEnter a prompt, optionally add images or video, and get a text response.
API Chat (Environment Key) · TankRead an API key from a server environment variable.
API Chat (Direct Key) · TankEnter an API key in the node. Clear it before sharing the workflow.
Unload Model · TankRelease GPU memory. Connect the chat response to after to wait for generation to finish.

Each run is a separate request, with no automatic conversation history. API nodes work on their own and do not need the local model loader.

Install

From ComfyUI/custom_nodes:

git clone https://github.com/xzbdqian10nian/ComfyUI-TankNodes.git

Restart ComfyUI and refresh the browser. Use Python 3.10 or newer. Install the extra dependencies in requirements.txt with ComfyUI's own Python environment.

Local inference also needs a llama-cpp-python build that supports Qwen3.8 and matches your CUDA runtime. API nodes do not need it. The plugin does not replace Torch, CUDA or GPU drivers.

Quick start

  1. Put the main GGUF and matching vision projector in ComfyUI/models/LLM/Qwen3.8/.
  2. Open 01_text_chat.json and select both files in the loader.
  3. Edit the user prompt and run. Model weights load when chat starts.

The tested pair is Qwen3.8-27B-UD-Q4_K_M.gguf and mmproj-BF16.gguf from Unsloth. Other catalogued files are listed in models.json. Use a main model and projector from the same release.

Subfolders are supported. Set QWEN38_MODEL_DIR to use another location. The plugin does not download weights; if the menu says no model was found, check the path and whether the download finished.

Images and video

  • image accepts one image or a batch and sends every image in it.
  • video frames accepts an IMAGE batch and samples up to max video frames.
  • video accepts a VIDEO object. Local models sample frames across the whole clip.

For APIs, frames is the default. Use video_url if the provider accepts native video. auto tries to encode the video and falls back to frames if encoding fails; it does not retry a rejected API request with frames.

The eight examples cover text, single and multiple images, both video inputs, both API key options, and model release.

API setup

Enter the base URL, the provider's exact model ID, and the key source. For example, use https://api.openai.com/v1 without /chat/completions.

For an environment key, set the variable before starting ComfyUI:

export OPENAI_API_KEY='your-api-key'

Enter only OPENAI_API_KEY in the node. This mode allows OpenAI's official endpoint and loopback services by default. An administrator can allow other providers:

export COMFYUI_API_ALLOWED_HOSTS='api.openai.com,api.example.com'

Environment-key requests require HTTPS except for loopback services. Direct-key mode uses the key entered in the node.

For API nodes, max output tokens = 0 and temperature = 0 omit those settings and use the provider defaults. Local temperature 0 uses deterministic sampling. API outputs are response, usage, stats, reasoning and raw response. Missing reasoning is empty; unavailable usage or throughput is shown as n/a.

Use ComfyUI's interrupt button while waiting for an API response or receiving output. It stops the local request and closes the connection. Whether remote generation and billing stop depends on the provider.

Useful settings

  • Local auto keeps thinking o

Nodos de este paquete

5 nodos
  • Qwen38VLLoader
  • VisionAPIDirect
  • VisionAPIEnv
  • VisionChat
  • VisionUnload

Fuentes

3 fuentes
GitHubFuenteVersión 7c68367c1fdaa3381334b75de8b4c8c2de321a70
github.com/xzbdqian10nian/ComfyUI-TankNodes

Verificado 25 sept