mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-08-25 10:22:12 +08:00
feat(camera-info): CreateCameraInfo node + CameraInfoState widget input
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user