Huggingface nodes for Nodetool
1
stars
455
commits
Python
primary language
Aug 28, 2026
updated
HuggingFace nodes for Nodetool — a large integration bringing HuggingFace's Transformers, Diffusers, and related model ecosystems into Nodetool workflows.
This package ships well over 100 nodes spanning image generation and editing, video and 3D generation, speech and audio, text and document understanding, and multimodal vision-language models. Nodes wrap HuggingFace transformers pipelines and diffusers pipelines directly, so any compatible model repo on the Hub can generally be used, in addition to the recommended models called out per node.
hunyuan3d, triposg, sf3d, triposr, or all-3d) since they pull heavy or git-only dependencieskokoro-ja extra for Japanese), TextToSpeech (multi-model), SupertonicTTS (CPU, 44.1kHz), F5TTS (voice cloning, f5-tts extra), HiggsAudioocr extra)vitpose-plus); VisualizePoseEstimation renders the skeletonpip install nodetool-huggingface
Or from source:
git clone https://github.com/nodetool-ai/nodetool-huggingface.git
cd nodetool-huggingface
pip install -e .
Most nodes work out of the box. A few pull in heavier or gated dependencies and are opt-in:
| Extra | Enables |
|---|---|
ocr | TableStructureRecognition (PaddleOCR/PaddlePaddle) |
kokoro-ja | Japanese text for KokoroTTS (misaki + pyopenjtalk) |
f5-tts | F5TTS voice cloning |
hunyuan3d | Hunyuan3D mesh generation |
triposg | Optional flash decoder + background removal for TripoSG |
sf3d / triposr | Companion deps for StableFast3D / TripoSR (the packages themselves install from requirements/*.txt, see below) |
all-3d-pypi / all-3d | Convenience bundles of the above 3D extras |
pip install "nodetool-huggingface[kokoro-ja]"
pip install "nodetool-huggingface[all-3d-pypi]"
Some 3D nodes (StableFast3D, TripoSR, Trellis2) depend on packages that are not published to PyPI. Install those from the pinned requirement files in requirements/ before using the corresponding node, e.g.:
pip install -r requirements/sf3d.txt
pip install -r requirements/trellis2.txt
pyproject.toml for the full dependency listHF_TOKENfrom nodetool.nodes.huggingface.text_generation import TextGeneration
from nodetool.workflows.processing_context import ProcessingContext
text_gen = TextGeneration(
model=HFTextGeneration(repo_id="Qwen/Qwen3-8B"),
prompt="Write a short story about a robot learning to paint",
max_new_tokens=512,
temperature=0.8,
top_p=0.9,
)
result = await text_gen.process(context)
from nodetool.nodes.huggingface.text_to_image import Flux
flux = Flux(
prompt="A serene landscape with mountains and a lake at sunset, highly detailed",
width=1024,
height=1024,
num_inference_steps=25,
seed=42,
)
output = await flux.process(context)
# output.image contains the generated ImageRef
from nodetool.nodes.huggingface.automatic_speech_recognition import Whisper, WhisperLanguage, Task, Timestamps
whisper = Whisper(
model=HFAutomaticSpeechRecognition(repo_id="openai/whisper-large-v3"),
audio=audio_input,
task=Task.TRANSCRIBE,
language=WhisperLanguage.ENGLISH,
timestamps=Timestamps.WORD,
)
result = await whisper.process(context)
from nodetool.nodes.huggingface.image_classification import ImageClassifier
classifier = ImageClassifier(
model=HFImageClassification(repo_id="google/vit-base-patch16-224"),
image=image_input,
)
results = await classifier.process(context)
Pre-built example workflows live in src/nodetool/examples/nodetool-huggingface/ and can be imported directly into Nodetool:
Models are downloaded from the HuggingFace Hub automatically on first use.
HF_TOKEN (environment variable or Nodetool secrets) for gated modelshuggingface-cli login~/.cache/huggingface/ by defaultSome models (FLUX, pyannote checkpoints, etc.) require accepting terms on the Hub:
HF_TOKEN in Nodetool settingswhisper-large-v3-turbo) when acceptableCUDA Out of Memory
Model Not Found / Import Error
HF_TOKEN is set for gated reposSlow Inference
AGPL
Contributions are welcome! Please feel free to submit a Pull Request.
git clone https://github.com/nodetool-ai/nodetool-huggingface.git
cd nodetool-huggingface
pip install -e .
src/nodetool/nodes/huggingface/HuggingFacePipelineNode (or BaseNode for non-pipeline helpers)preload_model() and process()CHANGELOG.md for recent additions and conventionsPython
70.3%
Jupyter Notebook
29.6%
Huggingface nodes for Nodetool
1
stars
455
commits
Python
primary language
Aug 28, 2026
updated
HuggingFace nodes for Nodetool — a large integration bringing HuggingFace's Transformers, Diffusers, and related model ecosystems into Nodetool workflows.
This package ships well over 100 nodes spanning image generation and editing, video and 3D generation, speech and audio, text and document understanding, and multimodal vision-language models. Nodes wrap HuggingFace transformers pipelines and diffusers pipelines directly, so any compatible model repo on the Hub can generally be used, in addition to the recommended models called out per node.
hunyuan3d, triposg, sf3d, triposr, or all-3d) since they pull heavy or git-only dependencieskokoro-ja extra for Japanese), TextToSpeech (multi-model), SupertonicTTS (CPU, 44.1kHz), F5TTS (voice cloning, f5-tts extra), HiggsAudioocr extra)vitpose-plus); VisualizePoseEstimation renders the skeletonpip install nodetool-huggingface
Or from source:
git clone https://github.com/nodetool-ai/nodetool-huggingface.git
cd nodetool-huggingface
pip install -e .
Most nodes work out of the box. A few pull in heavier or gated dependencies and are opt-in:
| Extra | Enables |
|---|---|
ocr | TableStructureRecognition (PaddleOCR/PaddlePaddle) |
kokoro-ja | Japanese text for KokoroTTS (misaki + pyopenjtalk) |
f5-tts | F5TTS voice cloning |
hunyuan3d | Hunyuan3D mesh generation |
triposg | Optional flash decoder + background removal for TripoSG |
sf3d / triposr | Companion deps for StableFast3D / TripoSR (the packages themselves install from requirements/*.txt, see below) |
all-3d-pypi / all-3d | Convenience bundles of the above 3D extras |
pip install "nodetool-huggingface[kokoro-ja]"
pip install "nodetool-huggingface[all-3d-pypi]"
Some 3D nodes (StableFast3D, TripoSR, Trellis2) depend on packages that are not published to PyPI. Install those from the pinned requirement files in requirements/ before using the corresponding node, e.g.:
pip install -r requirements/sf3d.txt
pip install -r requirements/trellis2.txt
pyproject.toml for the full dependency listHF_TOKENfrom nodetool.nodes.huggingface.text_generation import TextGeneration
from nodetool.workflows.processing_context import ProcessingContext
text_gen = TextGeneration(
model=HFTextGeneration(repo_id="Qwen/Qwen3-8B"),
prompt="Write a short story about a robot learning to paint",
max_new_tokens=512,
temperature=0.8,
top_p=0.9,
)
result = await text_gen.process(context)
from nodetool.nodes.huggingface.text_to_image import Flux
flux = Flux(
prompt="A serene landscape with mountains and a lake at sunset, highly detailed",
width=1024,
height=1024,
num_inference_steps=25,
seed=42,
)
output = await flux.process(context)
# output.image contains the generated ImageRef
from nodetool.nodes.huggingface.automatic_speech_recognition import Whisper, WhisperLanguage, Task, Timestamps
whisper = Whisper(
model=HFAutomaticSpeechRecognition(repo_id="openai/whisper-large-v3"),
audio=audio_input,
task=Task.TRANSCRIBE,
language=WhisperLanguage.ENGLISH,
timestamps=Timestamps.WORD,
)
result = await whisper.process(context)
from nodetool.nodes.huggingface.image_classification import ImageClassifier
classifier = ImageClassifier(
model=HFImageClassification(repo_id="google/vit-base-patch16-224"),
image=image_input,
)
results = await classifier.process(context)
Pre-built example workflows live in src/nodetool/examples/nodetool-huggingface/ and can be imported directly into Nodetool:
Models are downloaded from the HuggingFace Hub automatically on first use.
HF_TOKEN (environment variable or Nodetool secrets) for gated modelshuggingface-cli login~/.cache/huggingface/ by defaultSome models (FLUX, pyannote checkpoints, etc.) require accepting terms on the Hub:
HF_TOKEN in Nodetool settingswhisper-large-v3-turbo) when acceptableCUDA Out of Memory
Model Not Found / Import Error
HF_TOKEN is set for gated reposSlow Inference
AGPL
Contributions are welcome! Please feel free to submit a Pull Request.
git clone https://github.com/nodetool-ai/nodetool-huggingface.git
cd nodetool-huggingface
pip install -e .
src/nodetool/nodes/huggingface/HuggingFacePipelineNode (or BaseNode for non-pipeline helpers)preload_model() and process()CHANGELOG.md for recent additions and conventionsPython
70.3%
Jupyter Notebook
29.6%