Files
ComfyUI-Omnivoice/__init__.py
T
Ethanfel c1558efad9 feat: add Voice Design node + language and guidance_scale to Generate
OmniVoiceVoiceDesign: structured dropdowns for gender/age/pitch/accent
that compose into an instruct string — wire to Generate's instruct input.

OmniVoiceGenerate: new optional language dropdown (auto + 11 languages)
and guidance_scale (CFG, default 2.0) parameters.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 20:02:06 +02:00

22 lines
869 B
Python

from .nodes import OmniVoiceModelLoader, OmniVoiceGenerate, OmniVoiceEpubLoader, OmniVoiceVoicePreset, OmniVoiceMixVoices, OmniVoiceVoiceDesign
NODE_CLASS_MAPPINGS = {
"OmniVoiceModelLoader": OmniVoiceModelLoader,
"OmniVoiceGenerate": OmniVoiceGenerate,
"OmniVoiceEpubLoader": OmniVoiceEpubLoader,
"OmniVoiceVoicePreset": OmniVoiceVoicePreset,
"OmniVoiceMixVoices": OmniVoiceMixVoices,
"OmniVoiceVoiceDesign": OmniVoiceVoiceDesign,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"OmniVoiceModelLoader": "OmniVoice Model Loader",
"OmniVoiceGenerate": "OmniVoice Generate",
"OmniVoiceEpubLoader": "OmniVoice EPUB Loader",
"OmniVoiceVoicePreset": "OmniVoice Voice Preset",
"OmniVoiceMixVoices": "OmniVoice Mix Voices",
"OmniVoiceVoiceDesign": "OmniVoice Voice Design",
}
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]