feat(camera-info): CreateCameraInfo node + CameraInfoState widget input

This commit is contained in:
Terry Jia
2026-06-25 23:42:52 -04:00
parent b78cec879b
commit ac5fd8a837
4 changed files with 104 additions and 74 deletions

View File

@@ -902,6 +902,16 @@ class Compositor(ComfyTypeIO):
self.default = {}
@comfytype(io_type="CAMERA_INFO_STATE")
class CameraInfoState(ComfyTypeI):
Type = dict
class Input(WidgetInput):
def __init__(self, id: str, display_name: str=None, optional=False, tooltip: str=None,
socketless: bool=True, advanced: bool=None):
super().__init__(id, display_name, optional, tooltip, None, None, socketless, None, None, None, None, advanced)
@comfytype(io_type="PHOTOMAKER")
class Photomaker(ComfyTypeIO):
Type = Any
@@ -2460,6 +2470,7 @@ __all__ = [
"Load3DAnimation",
"Compositor",
"Layers",
"CameraInfoState",
"Photomaker",
"Point",
"FaceAnalysis",