Files
ComfyUI/comfy_api/latest/_sdk_public.py

151 lines
3.1 KiB
Python

"""Public SDK surface. Mirrors the ``_io_public`` / ``_ui_public`` pattern:
custom nodes import from ``comfy_api.latest.sdk`` (or a pinned version), never
from ``_sdk`` directly."""
from ._sdk import ( # noqa: F401
AnimaDomain,
AssetRef,
AssetsDomain,
AudioRef,
BackgroundRemovalModelRef,
BrushNetRef,
ClipRef,
ClipSegRef,
ClipVisionOutputRef,
ClipVisionRef,
CondRef,
ControlNetRef,
ControlNetWeightsRef,
Context,
CivitaiDomain,
ClassifierScoresRef,
ClosureRef,
ClosuresDomain,
ExecutionDomain,
ExecutionBackend,
ExecutionPlan,
GligenRef,
GraphDomain,
GuiderRef,
HuggingFaceWeight,
ImageClassifierRef,
InpaintModelRef,
ImagePreprocessorRef,
ImageRef,
IpAdapterEmbedsRef,
IpAdapterRef,
InteractionDomain,
IntegrationsDomain,
InterpolationStatesRef,
LatentOperationRef,
LatentRef,
LlmDomain,
LlamaCppDomain,
LlamaCppModelRef,
MaskRef,
MattingModelRef,
ModelRef,
ModelsDomain,
OnnxDetectorRef,
OllamaDomain,
ObjectDetectorRef,
OpNotSupported,
OutputDomain,
PowerPaintRef,
Ref,
RefResolver,
SamModelRef,
SamplerRef,
SigmasRef,
SemanticSegmentationRef,
StyleModelRef,
SystemDomain,
TensorRef,
TimestepKeyframeRef,
TransparentVaeDecoderRef,
UpscaleModelRef,
ValueRef,
VaeRef,
VideoRef,
VqaModelRef,
WanVideoDomain,
WebSearchDomain,
WeightDiffCursorRef,
current_context,
providers,
)
from ._sdk import current_context as ctx # `sdk.ctx()` -> active Context
__all__ = [
"Ref",
"ClosureRef",
"ClosuresDomain",
"AnimaDomain",
"TensorRef",
"UpscaleModelRef",
"ValueRef",
"ImageRef",
"ImageClassifierRef",
"ClassifierScoresRef",
"InpaintModelRef",
"ImagePreprocessorRef",
"IpAdapterEmbedsRef",
"IpAdapterRef",
"InteractionDomain",
"InterpolationStatesRef",
"MaskRef",
"MattingModelRef",
"LatentOperationRef",
"LatentRef",
"LlmDomain",
"LlamaCppDomain",
"LlamaCppModelRef",
"CondRef",
"GligenRef",
"GuiderRef",
"SamplerRef",
"SigmasRef",
"SamModelRef",
"SemanticSegmentationRef",
"HuggingFaceWeight",
"ModelRef",
"ModelsDomain",
"OnnxDetectorRef",
"ObjectDetectorRef",
"PowerPaintRef",
"ClipRef",
"ClipSegRef",
"ClipVisionRef",
"ClipVisionOutputRef",
"ControlNetRef",
"ControlNetWeightsRef",
"StyleModelRef",
"SystemDomain",
"VaeRef",
"AudioRef",
"BackgroundRemovalModelRef",
"BrushNetRef",
"VideoRef",
"VqaModelRef",
"TimestepKeyframeRef",
"TransparentVaeDecoderRef",
"WeightDiffCursorRef",
"AssetRef",
"AssetsDomain",
"OutputDomain",
"GraphDomain",
"Context",
"CivitaiDomain",
"OllamaDomain",
"WanVideoDomain",
"WebSearchDomain",
"IntegrationsDomain",
"ExecutionDomain",
"ctx",
"current_context",
"RefResolver",
"ExecutionBackend",
"ExecutionPlan",
"OpNotSupported",
"providers",
]