Skip to content

Commit

Permalink
Add flux1 dev pixel wave (#205)
Browse files Browse the repository at this point in the history
* add support for PixelWave flux

* refine

* refine

* refine
  • Loading branch information
ccssu authored Nov 6, 2024
1 parent 5300f4b commit 7a784a1
Show file tree
Hide file tree
Showing 6 changed files with 750 additions and 2 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/11/06] 🌩️ BizyAir PixelWave Flux.1-dev Text to Image node is released. [PixelWave Flux.1-dev Text to Image](./examples/bizyair_flux_pixelwave_txt2img.json)
- [2024/10/30] 🌩️ BizyAir Segment-Anything nodes has been released. [text_guided_segment-anything](./examples/bizyair_text_guided_segment-anything.json) and [box_point_guided_segment-anything](./examples/bizyair_box_point_guided_segment-anything.json)
- [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)
Expand Down
3 changes: 2 additions & 1 deletion bizyair_example_menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"FLUX-dev Text to Image": "bizyair_flux_dev_workflow.json",
"FLUX-dev Image to Image": "bizyair_flux_img2img_workflow.json",
"FLUX Simple Lora ": "bizyair_flux_simple_lora_workflow.json",
"FLUX PuLID": "bizyair_flux_pulid.json"
"FLUX PuLID": "bizyair_flux_pulid.json",
"PixelWave Flux.1-dev Text to Image": "bizyair_flux_pixelwave_txt2img.json"
},
"ControlNet Union": {
"Generate an image from a line drawing": "bizyair_showcase_interior_design.json",
Expand Down
41 changes: 41 additions & 0 deletions bizyair_extras/nodes_model_advanced.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# ComfyUI/comfy_extras/nodes_model_advanced.py
import nodes
from bizyair import BizyAirBaseNode, BizyAirNodeIO, data_types


Expand All @@ -19,3 +20,43 @@ def INPUT_TYPES(s):
# FUNCTION = "patch"

CATEGORY = "advanced/model"


class ModelSamplingFlux(BizyAirBaseNode):
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"model": (data_types.MODEL,),
"max_shift": (
"FLOAT",
{"default": 1.15, "min": 0.0, "max": 100.0, "step": 0.01},
),
"base_shift": (
"FLOAT",
{"default": 0.5, "min": 0.0, "max": 100.0, "step": 0.01},
),
"width": (
"INT",
{
"default": 1024,
"min": 16,
"max": nodes.MAX_RESOLUTION,
"step": 8,
},
),
"height": (
"INT",
{
"default": 1024,
"min": 16,
"max": nodes.MAX_RESOLUTION,
"step": 8,
},
),
}
}

RETURN_TYPES = (data_types.MODEL,)
# FUNCTION = "patch"
CATEGORY = "advanced/model"
Loading

0 comments on commit 7a784a1

Please sign in to comment.