Files
ComfyUI-Prompt-Calibrator/__init__.py
T
EthanfelandClaude Opus 4.8 07ad5c1dc1 Add LTX audio workflow + Text (Prompt) node
New workflow/workflow_ltx_audio_api.json: Audio Wave + Segments + LoadImage (subject)
+ Text (Prompt) holding the LTX audio system prompt -> Judge in chat mode
(json_output, model 3.5-9b) -> LTX beats JSON on the analysis output. Added a tiny
CalibratorText node ('Text (Prompt)', STRING source) needed to feed the judge's
forceInput system_prompt/user_prompt/axes sockets. README points to the workflow.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 22:40:52 +02:00

31 lines
1.1 KiB
Python

"""ComfyUI-Prompt-Calibratror — VLM-as-judge prompt calibration loop."""
from .nodes.qwen_judge import (
NODE_CLASS_MAPPINGS as _JUDGE_CLASSES,
NODE_DISPLAY_NAME_MAPPINGS as _JUDGE_NAMES,
)
from .nodes.receptor import (
NODE_CLASS_MAPPINGS as _RECEPTOR_CLASSES,
NODE_DISPLAY_NAME_MAPPINGS as _RECEPTOR_NAMES,
)
from .nodes.audio_guide import (
NODE_CLASS_MAPPINGS as _AUDIO_CLASSES,
NODE_DISPLAY_NAME_MAPPINGS as _AUDIO_NAMES,
)
from .nodes.audio_wave_segments import (
NODE_CLASS_MAPPINGS as _WAVE_CLASSES,
NODE_DISPLAY_NAME_MAPPINGS as _WAVE_NAMES,
)
from .nodes.text import (
NODE_CLASS_MAPPINGS as _TEXT_CLASSES,
NODE_DISPLAY_NAME_MAPPINGS as _TEXT_NAMES,
)
NODE_CLASS_MAPPINGS = {**_JUDGE_CLASSES, **_RECEPTOR_CLASSES, **_AUDIO_CLASSES,
**_WAVE_CLASSES, **_TEXT_CLASSES}
NODE_DISPLAY_NAME_MAPPINGS = {**_JUDGE_NAMES, **_RECEPTOR_NAMES, **_AUDIO_NAMES,
**_WAVE_NAMES, **_TEXT_NAMES}
WEB_DIRECTORY = "./web" # serves web/audio_wave.js (the waveform + segment widget)
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]