-
Notifications
You must be signed in to change notification settings - Fork 21
/
__init__.py
285 lines (272 loc) · 13.8 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
from .nodes.FL_Image_Randomizer import FL_ImageRandomizer
from .nodes.FL_Image_Caption_Saver import FL_ImageCaptionSaver
from .nodes.FL_Image_Dimension_Display import FL_ImageDimensionDisplay
from .nodes.FL_Code_Node import FL_CodeNode
from .nodes.FL_Image_Pixelator import FL_ImagePixelator
from .nodes.FL_DirectoryCrawl import FL_DirectoryCrawl
from .nodes.FL_Ascii import FL_Ascii
from .nodes.FL_Glitch import FL_Glitch
from .nodes.FL_Ripple import FL_Ripple
from .nodes.FL_PixelSort import FL_PixelSort
from .nodes.FL_HexagonalPattern import FL_HexagonalPattern
from .nodes.FL_NFTGenerator import FL_NFTGenerator
from .nodes.FL_HalfTone import FL_HalftonePattern
from .nodes.FL_RandomRange import FL_RandomNumber
from .nodes.FL_PromptSelector import FL_PromptSelector
from .nodes.FL_Shader import FL_Shadertoy
from .nodes.FL_PixelArt import FL_PixelArtShader
from .nodes.FL_InfiniteZoom import FL_InfiniteZoom
from .nodes.FL_PaperDrawn import FL_PaperDrawn
from .nodes.FL_ImageNotes import FL_ImageNotes
from .nodes.FL_ImageCollage import FL_ImageCollage
from .nodes.FL_KsamplerSettings import FL_KsamplerSettings
from .nodes.FL_RetroEffect import FL_RetroEffect
from .nodes.FL_InpaintCrop import FL_InpaintCrop
from .nodes.FL_InpaintCrop import FL_Inpaint_Stitch
from .nodes.FL_SD_Slices import FL_SDUltimate_Slices
from .nodes.FL_BatchAligned import FL_BatchAlign
from .nodes.FL_VideoCropNStitch import FL_VideoCropMask
from .nodes.FL_VideoCropNStitch import FL_VideoRecompose
from .nodes.FL_SeparateMasks import FL_SeparateMaskComponents
from .nodes.FL_PasteOnCanvas import FL_PasteOnCanvas
from .nodes.FL_BulletHellGame import FL_BulletHellGame
from .nodes.FL_TetrisGame import FL_TetrisGame
from .nodes.FL_Dither import FL_Dither
from .nodes.FL_SystemCheck import FL_SystemCheck
from .nodes.FL_ColorPicker import FL_ColorPicker
from .nodes.FL_GradGen import FL_GradGenerator
from .nodes.FL_MirrorAndAppendCaptions import FL_MirrorAndAppendCaptions
from .nodes.FL_ImageCaptionLayout import FL_ImageCaptionLayout
from .nodes.FL_HFHubModelUploader import FL_HFHubModelUploader
from .nodes.FL_ZipDirectory import FL_ZipDirectory
from .nodes.FL_ZipSave import FL_ZipSave
from .nodes.FL_GPT_Vision import FL_GPT_Vision
from .nodes.FL_TimeLine import FL_TimeLine
from .nodes.FL_SimpleGPTVision import FL_SimpleGPTVision
from .nodes.FL_DiscordWebhook import FL_SendToDiscordWebhook
from .nodes.FL_HF_Character import FL_HF_Character
from .nodes.FL_CaptionToCSV import FL_CaptionToCSV
from .nodes.FL_KsamplerPlus import FL_KsamplerPlus
from .nodes.FL_KsamplerBasic import FL_KsamplerBasic
from .nodes.FL_KsamplerFractals import FL_FractalKSampler
from .nodes.FL_UpscaleModel import FL_UpscaleModel
from .nodes.FL_SaveCSV import FL_SaveCSV
from. nodes.FL_KSamplerXYZPlot import FL_KSamplerXYZPlot
from .nodes.FL_SamplerStrings import FL_SamplerStrings
from .nodes.FL_SchedulerStrings import FL_SchedulerStrings
from .nodes.FL_ImageCaptionLayoutPDF import FL_ImageCaptionLayoutPDF
from .nodes.FL_Dalle3 import FL_Dalle3
from .nodes.FL_SaveImages import FL_SaveImages
from .nodes.FL_LoadImage import FL_LoadImage
from .nodes.FL_PDFLoader import FL_PDFLoader
from .nodes.FL_PDFToImage import FL_PDFToImages
from .nodes.FL_PDFSaver import FL_PDFSaver
from .nodes.FL_ImagesToPDF import FL_ImagesToPDF
from .nodes.FL_PDFMerger import FL_PDFMerger
from .nodes.FL_PDFTextExtractor import FL_PDFTextExtractor
from .nodes.FL_PDFImageExtractor import FL_PDFImageExtractor
from .nodes.FL_BulkPDFLoader import FL_BulkPDFLoader
from .nodes.FL_SaveAndDisplayImage import FL_SaveAndDisplayImage
from .nodes.FL_OllamaCaptioner import FL_OllamaCaptioner
from .nodes.FL_ImageAdjuster import FL_ImageAdjuster
from .nodes.FL_Caption_Saver_V2 import FL_CaptionSaver_V2
from .nodes.FL_PathTypeChecker import FL_PathTypeChecker
from .nodes.FL_SaveWebpImages import FL_SaveWebPImage
from .nodes.FL_MadLibGenerator import FL_MadLibGenerator
from .nodes.FL_Math import FL_Math
from .nodes.FL_ImageSlicer import FL_ImageSlicer
from .nodes.FL_HF_UploaderAbsolute import FL_HF_UploaderAbsolute
from .nodes.FL_ImageBatchListConverter import FL_ImageListToImageBatch, FL_ImageBatchToImageList
from .nodes.FL_ImageBatchToGrid import FL_ImageBatchToGrid
from .nodes.FL_ApplyMask import FL_ApplyMask
from .nodes.FL_ProResVideo import FL_ProResVideo
from .nodes.FL_Padding import FL_Padding
NODE_CLASS_MAPPINGS = {
"FL_ImageRandomizer": FL_ImageRandomizer,
"FL_ImageCaptionSaver": FL_ImageCaptionSaver,
"FL_ImageDimensionDisplay": FL_ImageDimensionDisplay,
"FL_CodeNode": FL_CodeNode,
"FL_ImagePixelator": FL_ImagePixelator,
"FL_DirectoryCrawl": FL_DirectoryCrawl,
"FL_Ascii": FL_Ascii,
"FL_Glitch": FL_Glitch,
"FL_Ripple": FL_Ripple,
"FL_PixelSort": FL_PixelSort,
"FL_HexagonalPattern": FL_HexagonalPattern,
"FL_NFTGenerator": FL_NFTGenerator,
"FL_HalftonePattern": FL_HalftonePattern,
"FL_RandomNumber": FL_RandomNumber,
"FL_PromptSelector": FL_PromptSelector,
"FL_Shadertoy": FL_Shadertoy,
"FL_PixelArtShader": FL_PixelArtShader,
"FL_InfiniteZoom": FL_InfiniteZoom,
"FL_PaperDrawn": FL_PaperDrawn,
"FL_ImageNotes": FL_ImageNotes,
"FL_ImageCollage": FL_ImageCollage,
"FL_KsamplerSettings": FL_KsamplerSettings,
"FL_RetroEffect": FL_RetroEffect,
"FL_InpaintCrop": FL_InpaintCrop,
"FL_Inpaint_Stitch": FL_Inpaint_Stitch,
"FL_SDUltimate_Slices": FL_SDUltimate_Slices,
"FL_BatchAlign": FL_BatchAlign,
"FL_VideoRecompose": FL_VideoRecompose,
"FL_VideoCropMask": FL_VideoCropMask,
"FL_SeparateMaskComponents": FL_SeparateMaskComponents,
"FL_PasteOnCanvas": FL_PasteOnCanvas,
"FL_BulletHellGame": FL_BulletHellGame,
"FL_TetrisGame": FL_TetrisGame,
"FL_Dither": FL_Dither,
"FL_SystemCheck": FL_SystemCheck,
"FL_ColorPicker": FL_ColorPicker,
"FL_GradGenerator": FL_GradGenerator,
"FL_MirrorAndAppendCaptions": FL_MirrorAndAppendCaptions,
"FL_ImageCaptionLayout": FL_ImageCaptionLayout,
"FL_HFHubModelUploader": FL_HFHubModelUploader,
"FL_ZipDirectory": FL_ZipDirectory,
"FL_ZipSave": FL_ZipSave,
"FL_GPT_Vision": FL_GPT_Vision,
"FL_TimeLine": FL_TimeLine,
"FL_SimpleGPTVision": FL_SimpleGPTVision,
"FL_SendToDiscordWebhook": FL_SendToDiscordWebhook,
"FL_HF_Character": FL_HF_Character,
"FL_CaptionToCSV": FL_CaptionToCSV,
"FL_KsamplerPlus": FL_KsamplerPlus,
"FL_KsamplerBasic": FL_KsamplerBasic,
"FL_FractalKSampler": FL_FractalKSampler,
"FL_UpscaleModel": FL_UpscaleModel,
"FL_SaveCSV": FL_SaveCSV,
"FL_KSamplerXYZPlot": FL_KSamplerXYZPlot,
"FL_SamplerStrings": FL_SamplerStrings,
"FL_SchedulerStrings": FL_SchedulerStrings,
"FL_ImageCaptionLayoutPDF": FL_ImageCaptionLayoutPDF,
"FL_Dalle3": FL_Dalle3,
"FL_SaveImages": FL_SaveImages,
"FL_LoadImage": FL_LoadImage,
"FL_PDFLoader": FL_PDFLoader,
"FL_PDFToImages": FL_PDFToImages,
"FL_PDFSaver": FL_PDFSaver,
"FL_ImagesToPDF": FL_ImagesToPDF,
"FL_PDFMerger": FL_PDFMerger,
"FL_PDFTextExtractor": FL_PDFTextExtractor,
"FL_PDFImageExtractor": FL_PDFImageExtractor,
"FL_BulkPDFLoader": FL_BulkPDFLoader,
"FL_SaveAndDisplayImage": FL_SaveAndDisplayImage,
"FL_OllamaCaptioner": FL_OllamaCaptioner,
"FL_ImageAdjuster": FL_ImageAdjuster,
"FL_CaptionSaver_V2": FL_CaptionSaver_V2,
"FL_PathTypeChecker": FL_PathTypeChecker,
"FL_SaveWebPImage(SaveImage)": FL_SaveWebPImage,
"FL_MadLibGenerator": FL_MadLibGenerator,
"FL_Math": FL_Math,
"FL_ImageSlicer": FL_ImageSlicer,
"FL_HF_UploaderAbsolute": FL_HF_UploaderAbsolute,
"FL_ImageListToImageBatch": FL_ImageListToImageBatch,
"FL_ImageBatchToImageList": FL_ImageBatchToImageList,
"FL_ImageBatchToGrid": FL_ImageBatchToGrid,
"FL_ApplyMask": FL_ApplyMask,
"FL_ProResVideo": FL_ProResVideo,
"FL_Padding": FL_Padding,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"FL_ImageRandomizer": "FL Image Randomizer",
"FL_ImageCaptionSaver": "FL Image Caption Saver",
"FL_ImageDimensionDisplay": "FL Image Size",
"FL_CodeNode": "FL Code Node",
"FL_ImagePixelator": "FL Image Pixelator",
"FL_DirectoryCrawl": "FL Directory Crawl",
"FL_Ascii": "FL Ascii",
"FL_Glitch": "FL Glitch",
"FL_Ripple": "FL Ripple",
"FL_PixelSort": "FL PixelSort",
"FL_HexagonalPattern": "FL Hexagonal Pattern",
"FL_NFTGenerator": "FL NFT Generator",
"FL_HalftonePattern": "FL Halftone",
"FL_RandomNumber": "FL Random Number",
"FL_PromptSelector": "FL Prompt Selector",
"FL_Shadertoy": "FL Shadertoy",
"FL_PixelArtShader": "FL Pixel Art",
"FL_InfiniteZoom": "FL Infinite Zoom",
"FL_PaperDrawn": "FL Paper Drawn",
"FL_ImageNotes": "FL Image Notes",
"FL_ImageCollage": "FL Image Collage",
"FL_KsamplerSettings": "FL KSampler Settings",
"FL_RetroEffect": "FL Retro Effect",
"FL_InpaintCrop": "FL Inpaint Crop",
"FL_Inpaint_Stitch": "FL Inpaint Stitch",
"FL_SDUltimate_Slices": "FL SDUltimate Slices",
"FL_BatchAlign": "FL Batch Align",
"FL_VideoCropMask": "FL Video CropMask",
"FL_VideoRecompose": "FL Video Recompose",
"FL_SeparateMaskComponents": "FL Separate Mask Components",
"FL_PasteOnCanvas": "FL Paste On Canvas",
"FL_BulletHellGame": "FL BulletHell Game",
"FL_TetrisGame": "FL Tetris Game",
"FL_Dither": "FL Dither",
"FL_SystemCheck": "FL System Check",
"FL_ColorPicker": "FL Color Picker",
"FL_GradGenerator": "FL Grad Generator",
"FL_MirrorAndAppendCaptions": "FL Mirror And Append Captions",
"FL_ImageCaptionLayout": "FL Image Caption Layout",
"FL_HFHubModelUploader": "FL HFHub Model Uploader",
"FL_ZipDirectory": "FL Zip Directory",
"FL_ZipSave": "FL_ZipSave",
"FL_GPT_Vision": "FL GPT Captions",
"FL_TimeLine": "FL Time Line",
"FL_SimpleGPTVision": "FL Simple GPT Vision",
"FL_SendToDiscordWebhook": "FL Kytra Discord Webhook",
"FL_HF_Character": "FL HF Character",
"FL_CaptionToCSV": "FL Caption To CSV",
"FL_KsamplerPlus": "FL KSampler Plus",
"FL_KsamplerBasic": "FL KSampler Basic",
"FL_FractalKSampler": "FL Fractal KSampler",
"FL_UpscaleModel": "FL Upscale Model",
"FL_SaveCSV": "FL Save CSV",
"FL_KSamplerXYZPlot": "FL KSampler XYZ Plot",
"FL_SamplerStrings": "FL Sampler String XYZ",
"FL_SchedulerStrings": "FL Scheduler String XYZ",
"FL_ImageCaptionLayoutPDF": "FL Image Caption Layout PDF",
"FL_Dalle3": "FL Dalle 3",
"FL_SaveImages": "FL Save Images",
"FL_LoadImage": "FL Load Image",
"FL_PDFLoader": "FL PDF Loader",
"FL_PDFToImages": "FL PDF To Images",
"FL_PDFSaver": "FL PDF Saver",
"FL_ImagesToPDF": "FL Images To PDF",
"FL_PDFMerger": "FL PDF Merger",
"FL_PDFTextExtractor": "FL PDF Text Extractor",
"FL_PDFImageExtractor": "FL PDF Image Extractor",
"FL_BulkPDFLoader": "FL Bulk PDF Loader",
"FL_SaveAndDisplayImage": "FL Save And Display Image",
"FL_OllamaCaptioner": "FL Ollama Captioner by Cosmic",
"FL_ImageAdjuster": "FL Image Adjuster",
"FL_CaptionSaver_V2": "FL Caption Saver V2",
"FL_PathTypeChecker": "FL Path Type Checker",
"FL_SaveWebPImage(SaveImage)": "FL Save WebP Image",
"FL_MadLibGenerator": "FL MadLib Generator",
"FL_Math": "FL Math",
"FL_ImageSlicer": "FL Image Slicer",
"FL_HF_UploaderAbsolute": "FL HF Uploader Absolute",
"FL_ImageListToImageBatch": "FL Image List To Image Batch",
"FL_ImageBatchToImageList": "FL Image Batch To Image List",
"FL_ImageBatchToGrid": "FL Image Batch To Grid",
"FL_ApplyMask": "FL Apply Mask",
"FL_ProResVideo": "FL ProRes Video",
"FL_Padding": "FL Padding",
}
ascii_art = """
███╗ ███╗ █████╗ ██████╗██╗ ██╗██╗███╗ ██╗███████╗
████╗ ████║██╔══██╗██╔════╝██║ ██║██║████╗ ██║██╔════╝
██╔████╔██║███████║██║ ███████║██║██╔██╗ ██║█████╗
██║╚██╔╝██║██╔══██║██║ ██╔══██║██║██║╚██╗██║██╔══╝
██║ ╚═╝ ██║██║ ██║╚██████╗██║ ██║██║██║ ╚████║███████╗
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚══════╝
██████╗ ███████╗██╗ ██╗ ██╗███████╗██╗ ██████╗ ███╗ ██╗███████╗
██╔══██╗██╔════╝██║ ██║ ██║██╔════╝██║██╔═══██╗████╗ ██║██╔════╝
██║ ██║█████╗ ██║ ██║ ██║███████╗██║██║ ██║██╔██╗ ██║███████╗
██║ ██║██╔══╝ ██║ ██║ ██║╚════██║██║██║ ██║██║╚██╗██║╚════██║
██████╔╝███████╗███████╗╚██████╔╝███████║██║╚██████╔╝██║ ╚████║███████║
╚═════╝ ╚══════╝╚══════╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝
"""
print(ascii_art)
WEB_DIRECTORY = "./web"
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]