Getting Started
Runtime paths
This repository supports two common flows:
- Clone it into
ComfyUI/custom_nodesfrom Google Colab or a local ComfyUI checkout. - Use the repository root itself as a QA workspace for tests, layout checks, and docs builds.
Install into ComfyUI
bash
cd /content/ComfyUI/custom_nodes
git clone https://github.com/Sunwood-ai-labs/ComfyUI-LTXLongAudio.git
uv pip install -r ComfyUI-LTXLongAudio/requirements.txtThen restart ComfyUI so the native LTX* node schemas refresh cleanly.
Local repository QA
The repository keeps developer checks under uv:
bash
uv run pytest
uv run python scripts/check_workflow_layout.py \
samples/workflows/LTXLongAudio_CustomNodes_SmokeTest.json \
--require-all-nodes-in-groups \
--require-app-mode
uv run python scripts/run_comfyui_api_smoke.py \
--workflow samples/workflows/LTXLongAudio_CustomNodes_SmokeTest.json \
--comfy-root /path/to/ComfyUIRuntime expectations
ffmpegmust be available before you run final video preview or the API smoke script.- Audio loading uses
torchaudio, which is why the runtime install stays inrequirements.txt. - The prompt API smoke runner auto-detects surrounding paths when this repo is cloned under
ComfyUI/custom_nodes. Otherwise pass at least--comfy-root.
Recommended first pass
- Open the bundled smoke workflow.
- Confirm that
samples/input/frames_poolappears in the folder list. - Upload an audio file through
LoadAudio. - Keep the default 20-second chunk size for the first run.
- Verify that
LTXVideoCombinereturns a preview payload in the output panel.