Skip to content

Commit

Permalink
Support sd3.5 txt2img (#179)
Browse files Browse the repository at this point in the history
* Support sd3.5 txt2img

* refien

* refine

* Update nodes_sd3.py
  • Loading branch information
ccssu authored Oct 24, 2024
1 parent e09f9fd commit 38686ed
Show file tree
Hide file tree
Showing 8 changed files with 521 additions and 12 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# BizyAir
- [2024/10/24] 🌩️ BizyAir supports stable Diffusion 3.5. [Stable Diffusion 3.5 Text to Image](./examples/bizyair_sd3_5_txt2img.json)
- [2024/10/21] 🌩️ BizyAir supports VLModels. We add a tutorial for utilizing the VLM node. [AI Assistant](https://siliconflow.github.io/BizyAir/ai-assistants/introduce.html)
- [2024/10/11] 🌩️ BizyAir supports PuLID for Flux. [FLUX PuLID workflow](./examples/bizyair_flux_pulid.json)
- [2024/09/29] 🌩️ BizyAir has support to share your custom LoRAs. [Share Your LoRAs](http://bizyair.siliconflow.cn/model-host/sharemodel.html)
Expand Down
3 changes: 3 additions & 0 deletions bizyair_example_menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"IP Adapter workflow by BizyAir KSampler": "bizyair_showcase_ksampler_ipadapter.json",
"InstantID Basic workflow by BizyAir KSampler": "bizyair_sdxl_InstantID_basic.json"
},
"SD3": {
"SD3.5 Text to Image": "bizyair_sd3_5_txt2img.json"
},
"Kolors": {
"Kolors Text to Image": "bizyair_kolors_txt2img.json",
"Kolors ControlNet Depth": "bizyair_kolors_controlnet.json",
Expand Down
1 change: 1 addition & 0 deletions bizyair_extras/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from .nodes_image_utils import *
from .nodes_ipadapter_plus.nodes_ipadapter_plus import *
from .nodes_kolors_mz import *
from .nodes_sd3 import *
from .nodes_testing_utils import *
from .nodes_ultimatesdupscale import *
from .nodes_upscale_model import *
20 changes: 20 additions & 0 deletions bizyair_extras/nodes_sd3.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# sd3.5
from bizyair import BizyAirBaseNode, BizyAirNodeIO, data_types
from bizyair.path_utils import path_manager as folder_paths


class TripleCLIPLoader(BizyAirBaseNode):
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"clip_name1": (folder_paths.get_filename_list("clip"),),
"clip_name2": (folder_paths.get_filename_list("clip"),),
"clip_name3": (folder_paths.get_filename_list("clip"),),
}
}

RETURN_TYPES = (data_types.CLIP,)
# FUNCTION = "load_clip"

CATEGORY = "advanced/loaders"
Loading

0 comments on commit 38686ed

Please sign in to comment.