agent-comfy-ui-api-workflow 0.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. agent_comfy_ui_api_workflow/__about__.py +1 -0
  2. agent_comfy_ui_api_workflow/__init__.py +39 -0
  3. agent_comfy_ui_api_workflow/_impl/__init__.py +0 -0
  4. agent_comfy_ui_api_workflow/_impl/agent.py +276 -0
  5. agent_comfy_ui_api_workflow/_impl/catalog/__init__.py +348 -0
  6. agent_comfy_ui_api_workflow/_impl/catalog/essential.py +98 -0
  7. agent_comfy_ui_api_workflow/_impl/catalog/new_object_info.json +58779 -0
  8. agent_comfy_ui_api_workflow/_impl/env.py +44 -0
  9. agent_comfy_ui_api_workflow/_impl/errors.py +54 -0
  10. agent_comfy_ui_api_workflow/_impl/families.py +314 -0
  11. agent_comfy_ui_api_workflow/_impl/files.py +152 -0
  12. agent_comfy_ui_api_workflow/_impl/inventory.py +168 -0
  13. agent_comfy_ui_api_workflow/_impl/middleware.py +39 -0
  14. agent_comfy_ui_api_workflow/_impl/model.py +32 -0
  15. agent_comfy_ui_api_workflow/_impl/pipelines/__init__.py +70 -0
  16. agent_comfy_ui_api_workflow/_impl/pipelines/base.py +87 -0
  17. agent_comfy_ui_api_workflow/_impl/pipelines/generation.py +1249 -0
  18. agent_comfy_ui_api_workflow/_impl/pipelines/media.py +370 -0
  19. agent_comfy_ui_api_workflow/_impl/prompts.py +101 -0
  20. agent_comfy_ui_api_workflow/_impl/runpod.py +209 -0
  21. agent_comfy_ui_api_workflow/_impl/session.py +357 -0
  22. agent_comfy_ui_api_workflow/_impl/tools/__init__.py +25 -0
  23. agent_comfy_ui_api_workflow/_impl/tools/common.py +56 -0
  24. agent_comfy_ui_api_workflow/_impl/tools/editing.py +249 -0
  25. agent_comfy_ui_api_workflow/_impl/tools/nodes.py +98 -0
  26. agent_comfy_ui_api_workflow/_impl/tools/pipelines.py +92 -0
  27. agent_comfy_ui_api_workflow/_impl/tools/questions.py +42 -0
  28. agent_comfy_ui_api_workflow/_impl/validation.py +142 -0
  29. agent_comfy_ui_api_workflow-0.0.1.dist-info/METADATA +191 -0
  30. agent_comfy_ui_api_workflow-0.0.1.dist-info/RECORD +32 -0
  31. agent_comfy_ui_api_workflow-0.0.1.dist-info/WHEEL +4 -0
  32. agent_comfy_ui_api_workflow-0.0.1.dist-info/licenses/LICENSE +0 -0
@@ -0,0 +1,98 @@
1
+ # The nodes the agent may add one by one, when no pipeline does the job. Every one of
2
+ # them already ran on the RunPod worker in the lib's tests. Model-family nodes (Wan,
3
+ # Flux...) are added by the family that needs them.
4
+ ESSENTIAL_GROUPS: dict[str, tuple[str, ...]] = {
5
+ "Model loaders": (
6
+ "CheckpointLoaderSimple",
7
+ "UNETLoader",
8
+ "CLIPLoader",
9
+ "DualCLIPLoader",
10
+ "VAELoader",
11
+ "LoraLoader",
12
+ "LoraLoaderModelOnly",
13
+ "UpscaleModelLoader",
14
+ ),
15
+ "Conditioning": (
16
+ "CLIPTextEncode",
17
+ "CLIPSetLastLayer",
18
+ "ConditioningCombine",
19
+ "ConditioningSetArea",
20
+ "ConditioningZeroOut",
21
+ "InpaintModelConditioning",
22
+ ),
23
+ "Latents": (
24
+ "EmptyLatentImage",
25
+ "VAEEncode",
26
+ "VAEDecode",
27
+ "VAEDecodeTiled",
28
+ "VAEEncodeForInpaint",
29
+ "SetLatentNoiseMask",
30
+ "LatentUpscale",
31
+ "LatentUpscaleBy",
32
+ "RepeatLatentBatch",
33
+ ),
34
+ "Sampling": ("KSampler", "KSamplerAdvanced"),
35
+ "Images": (
36
+ "LoadImage",
37
+ "LoadImageMask",
38
+ "SaveImage",
39
+ "SaveAnimatedWEBP",
40
+ "SaveAnimatedPNG",
41
+ "EmptyImage",
42
+ "GetImageSize",
43
+ "ImageFromBatch",
44
+ "RepeatImageBatch",
45
+ ),
46
+ "Image transforms": (
47
+ "ImageScale",
48
+ "ImageScaleBy",
49
+ "ImageScaleToTotalPixels",
50
+ "ImageScaleToMaxDimension",
51
+ "ImageUpscaleWithModel",
52
+ "ImageCropV2",
53
+ "PrimitiveBoundingBox",
54
+ "ImageFlip",
55
+ "ImageRotate",
56
+ "ImagePadForOutpaint",
57
+ "ImageStitch",
58
+ "ResizeAndPadImage",
59
+ ),
60
+ "Image adjustments and compositing": (
61
+ "AdjustBrightness",
62
+ "AdjustContrast",
63
+ "ImageBlur",
64
+ "ImageSharpen",
65
+ "ImageInvert",
66
+ "ImageBlend",
67
+ "ImageCompositeMasked",
68
+ "TextOverlay",
69
+ ),
70
+ "Masks": (
71
+ "ImageToMask",
72
+ "MaskToImage",
73
+ "InvertMask",
74
+ "GrowMask",
75
+ "FeatherMask",
76
+ "SolidMask",
77
+ "ThresholdMask",
78
+ "MaskComposite",
79
+ ),
80
+ "Video": (
81
+ "LoadVideo",
82
+ "GetVideoComponents",
83
+ "CreateVideo",
84
+ "SaveVideo",
85
+ "VideoSlice",
86
+ "ConcatenateVideo",
87
+ "VideoFrameSample",
88
+ ),
89
+ "Audio": (
90
+ "LoadAudio",
91
+ "SaveAudioAdvanced",
92
+ "TrimAudioDuration",
93
+ "AudioConcat",
94
+ "AudioMerge",
95
+ "AudioAdjustVolume",
96
+ "EmptyAudio",
97
+ ),
98
+ }