Archived
One node drives a radiance server: DaSiWa-style structured prompts, all five tasks (t2va/i2va/l2va/fl2va/ref2va) with their media sockets, two LoRA dropdown slots fed from GET /v1/loras mirroring --max-loras 2, tier+aspect size picking that mirrors the plugin's size law into the node title, and a live per-step progress line. Placement is a first draft; the folder is exactly what ComfyUI loads from custom_nodes/.
11 lines
445 B
Python
11 lines
445 B
Python
from .radiance_node import RadianceMiniMax
|
|
|
|
# web/ carries the frontend extension that mirrors the tier math into the node
|
|
# title ("480p 16:9 -> 864x480"); the server-side Python stays the authority.
|
|
WEB_DIRECTORY = "./web"
|
|
|
|
NODE_CLASS_MAPPINGS = {"RadianceMiniMax": RadianceMiniMax}
|
|
NODE_DISPLAY_NAME_MAPPINGS = {"RadianceMiniMax": "Radiance MiniMax (server)"}
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|