Skip to content

Commit 5167231

Browse files
committed
Version 1.1.0 Push - Video Sampler & Styler
### 10/27/24 - 12:00 pm (GMT-5) ### UPDATES: - Video Sampler node is available but still experimental. - Styler node has LoRAs integrated, chain up to 3 - Resolution selection on the Latent Chooser - Condensed model name fields on Model Loader - Support for Flux Lite; select model_type = UNET - CLIP Attention fields on Prompt node condensed to single preset drop down - Minor bug fixes for wider compatibility COMING SOON: - Control Net support! (~1-3 days) - Video Sampler Tuning & Presets (~2-5 days) - Custom message instructions and presets for LLM prompt models, including for negative prompts (~3-7 days) - Inpainting/Outpainting (~5-9 days) - Image Composer (~7-13 days) * PLEASE MESSAGE YOUR BUG REPORTS ON DISCORD, PATREON, OR BY SUBMITTING AN ISSUE ON GITHUB. MERGE/PULL REQUESTS WILL BE DELETED.
1 parent a220ae1 commit 5167231

26 files changed

+912
-308
lines changed

FS_Assets.py

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,50 @@
11
# Project: FlowState Assets
22
# Description: Paths to assets needed by nodes.
3-
# Version: 1.0.0
43
# Author: Johnathan Chivington
54
# Contact: [email protected] | youtube.com/@flowstateeng
65

76

7+
##
8+
# OUTSIDE IMPORTS
9+
##
10+
from .FS_Utils import *
11+
12+
13+
14+
##
15+
# OUTSIDE IMPORTS
16+
##
817
import os
18+
import folder_paths
919

1020

1121
##
1222
# ASSETS
1323
##
1424
WEB_DIRECTORY = './web'
1525
FONT_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'fonts/ShareTechMono-Regular.ttf')
26+
27+
28+
UNET_LIST_PATH = None
29+
try:
30+
UNET_LIST_PATH = folder_paths.get_filename_list('diffusion_models')
31+
except ImportError:
32+
UNET_LIST_PATH = None
33+
34+
if UNET_LIST_PATH == None:
35+
try:
36+
UNET_LIST_PATH = folder_paths.get_filename_list('unet')
37+
except ImportError:
38+
UNET_LIST_PATH = None
39+
40+
print(f' - Setting UNET_LIST_PATH to: {UNET_LIST_PATH}')
41+
42+
43+
NF4_LIST_PATH = folder_paths.get_filename_list('checkpoints')
44+
CKPT_LIST_PATH = folder_paths.get_filename_list('checkpoints')
45+
CLIP_LIST_PATH = folder_paths.get_filename_list('clip')
46+
VAE_LIST_PATH = get_vae_list()
47+
CONTROL_NET_LIST_PATH = folder_paths.get_filename_list('controlnet')
48+
LORA_LIST_PATH = folder_paths.get_filename_list('loras')
49+
ALL_MODEL_LIST_PATHS = UNET_LIST_PATH + CKPT_LIST_PATH
50+

FS_Constants.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# Project: FlowState Constants
2+
# Description: Global constants for all nodes.
3+
# Author: Johnathan Chivington
4+
# Contact: [email protected] | youtube.com/@flowstateeng
5+
6+
7+
##
8+
# OUTSIDE IMPORTS
9+
##
110
import os, folder_paths
211

312
##

FS_Mappings.py

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# Project: FlowState Node Mappings
2+
# Description: Node mappings for ComfyUI registry.
3+
# Author: Johnathan Chivington
4+
# Contact: [email protected] | youtube.com/@flowstateeng
5+
6+
7+
##
8+
# FS IMPORTS
9+
##
110
from .FS_Nodes import *
211

312

@@ -11,21 +20,23 @@
1120
# MAPPINGS
1221
##
1322
NODE_CLASS_MAPPINGS = {
14-
'FlowStateFVDSampler': FlowStateFVDSampler,
23+
'FlowStateUnifiedVideoSampler': FlowStateUnifiedVideoSampler,
1524
'FlowStateUnifiedSampler': FlowStateUnifiedSampler,
1625
'FlowStateUnifiedModelLoader': FlowStateUnifiedModelLoader,
17-
'FlowStatePromptLLM': FlowStatePromptLLM,
18-
'FlowStatePromptLLMOutput': FlowStatePromptLLMOutput,
19-
'FlowStateLatentChooser': FlowStateLatentChooser
26+
'FlowStateUnifiedPrompt': FlowStateUnifiedPrompt,
27+
'FlowStatePromptOutput': FlowStatePromptOutput,
28+
'FlowStateLatentChooser': FlowStateLatentChooser,
29+
'FlowStateUnifiedStyler': FlowStateUnifiedStyler
2030
}
2131

2232
NODE_DISPLAY_NAME_MAPPINGS = {
23-
'FlowStateFVDSampler': 'FlowState FVD Sampler',
33+
'FlowStateUnifiedVideoSampler': 'FlowState Unified Video Sampler',
2434
'FlowStateUnifiedSampler': 'FlowState Unified Sampler',
2535
'FlowStateUnifiedModelLoader': 'FlowState Unified Model Loader',
26-
'FlowStatePromptLLM': 'FlowState LLM Prompt',
27-
'FlowStatePromptLLMOutput': 'FlowState LLM Prompt Output',
28-
'FlowStateLatentChooser': 'FlowState Latent Chooser'
36+
'FlowStateUnifiedPrompt': 'FlowState Unified Prompt',
37+
'FlowStatePromptOutput': 'FlowState Prompt Output',
38+
'FlowStateLatentChooser': 'FlowState Latent Chooser',
39+
'FlowStateUnifiedStyler': 'FlowState Unified Styler'
2940
}
3041

3142

FS_Nodes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Project: FlowState Nodes
22
# Description: A collection of custom nodes to solve problems I couldn't find existing nodes for.
3-
# Version: 1.0.0
43
# Author: Johnathan Chivington
54
# Contact: [email protected] | youtube.com/@flowstateeng
65

@@ -15,11 +14,12 @@
1514
##
1615
# NODES
1716
##
18-
from .FlowStateFVDSampler import *
17+
from .FlowStateUnifiedVideoSampler import *
1918
from .FlowStateUnifiedSampler import *
20-
from .FlowStateLLMPrompt import *
19+
from .FlowStateUnifiedPrompt import *
2120
from .FlowStateUnifiedModelLoader import *
2221
from .FlowStateLatentChooser import *
22+
from .FlowStateUnifiedStyler import *
2323

2424

2525
##

0 commit comments

Comments
 (0)