Structured scene description to optimized SDXL prompt via LLM. - 5 multiline input fields (Subject, Place, Time, Action, Notes) - 3 backends: Ollama, OpenAI-compatible, llama.cpp - Thread-safe LRU cache for request deduplication - Persistent JSON config in ComfyUI user directory - Comprehensive error handling, zero external dependencies
17 lines
402 B
Python
17 lines
402 B
Python
"""ComfyUI-EasyLLMPrompt: structured scene description → SDXL prompt.
|
|
|
|
Node registration entry point read by ComfyUI on startup.
|
|
"""
|
|
|
|
from .easy_llm_prompt.node import EasyLLMPromptNode
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"EasyLLMPromptNode": EasyLLMPromptNode,
|
|
}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"EasyLLMPromptNode": "Easy LLM Prompt",
|
|
}
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|