Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release new nodes for remove background etc. #15

Merged
merged 3 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 47 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,75 @@
# BizyAir


- [2024/07/11] 🌩️ We release new nodes, featuring removing image background, photo-quality image generation, and animation super-resolution capabilities.
- [2024/07/10] 🌩️ We release nodes that support Kolors and LLM(large language models).

BizyAir is a collection of [ComfyUI](https://github.com/comfyanonymous/ComfyUI) nodes that help you overcome environmental and hardware limitations, allowing you to more easily generate high-quality content with ComfyUI.

![](./docs/docs/kolors/imgs/bizyair_kolors_img2img.png)
![](./docs/docs/getting-started/imgs/text2img.gif)

![](./docs/docs/getting-started/imgs/llm_api_node.png)
![](./docs/docs/getting-started/imgs/llmnode.gif)

## Table of Contents

- [Features](#features)
- [Installation](#installation)
- [Examples](#examples)
- [Usage](#usage)


## Features

Run ComfyUI anywhere, anytime, without worrying about the environment or hardware requirements.

## Installation

You can install BizyAir through several methods: using the ComfyUI Manager, the Comfy CLI, downloading the standalone package for Windows, or by cloning the BizyAir repository into the custom_nodes subdirectory of ComfyUI.

### Method 1: Install via ComfyUI Manager

Assuming your ComfyUI already has the ComfyUI Manager installed, search for BizyAir as shown in the image below. Click "Install" to complete the installation.
![ComfyUI_Manager_BizyAir_Search_Screenshot](./docs/docs/getting-started/imgs/ComfyUI_Manager_BizyAir_Search_Screenshot.png)


### Method 2: Install via git clone

You can install BizyAir by downloading the BizyAir repository to the custom_nodes subdirectory of ComfyUI by using git clone.

```bash
cd /path/to/ComfyUI/custom_nodes && \
git clone https://github.com/siliconflow/BizyAir.git
```

Then, restart ComfyUI. There are some workflow examples in the [examples](./examples) directory.
Then, restart ComfyUI.

### Method 3: Install via Comfy CLI

- Prerequisites
- Ensure `pip install comfy-cli` is installed.
- Installing ComfyUI `comfy install`

To install the `BizyAir`, use the following command:

```shell
comfy node install bizyair
```


### Method 4: Download windows portable ComfyUI

For NA/EU users:

https://github.com/siliconflow/ComfyUI/releases/tag/latest

For CN users:

https://bizy-air.oss-cn-beijing.aliyuncs.com/new_ComfyUI_windows_portable_nvidia_cu121_or_cpu.7z


## Examples

There are some workflow examples in the [examples](./examples) directory.


## Usage
Expand Down
6 changes: 3 additions & 3 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

WEB_DIRECTORY = "./js"

# from . import supernode
from . import supernode

# NODE_CLASS_MAPPINGS.update(**supernode.NODE_CLASS_MAPPINGS)
# NODE_DISPLAY_NAME_MAPPINGS.update(**supernode.NODE_DISPLAY_NAME_MAPPINGS)
NODE_CLASS_MAPPINGS.update(**supernode.NODE_CLASS_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(**supernode.NODE_DISPLAY_NAME_MAPPINGS)

from . import llm

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/docs/getting-started/imgs/howtosetkey.png
Binary file not shown.
Binary file removed docs/docs/getting-started/imgs/llm_api_node.png
Binary file not shown.
Binary file added docs/docs/getting-started/imgs/llmnode.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/getting-started/imgs/text2img.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions docs/docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

BizyAir is a set of ComfyUI nodes that allows you to skip the time-consuming process of downloading models and setting up requirements, enabling you to run ComfyUI workflows directly without being constrained by environmental limitations.

You can choose any of the following methods to install BizyAir
You can choose any of the following methods to install BizyAir

## Method 1: Install via ComfyUI Manager
### Method 1: Install via ComfyUI Manager

Assuming your ComfyUI already has the ComfyUI Manager installed, search for BizyAir as shown in the image below. Click "Install" to complete the installation.
![ComfyUI_Manager_BizyAir_Search_Screenshot](./imgs/ComfyUI_Manager_BizyAir_Search_Screenshot.png)


## Method 2: Install via git clone
### Method 2: Install via git clone

You can install BizyAir by downloading the BizyAir repository to the custom_nodes subdirectory of ComfyUI by using git clone.

```bash
cd /path/to/ComfyUI && \
cd /path/to/ComfyUI/custom_nodes && \
git clone https://github.com/siliconflow/BizyAir.git
```

Expand All @@ -26,7 +26,7 @@ Then, restart ComfyUI.
- Prerequisites
- Ensure `pip install comfy-cli` is installed.
- Installing ComfyUI `comfy install`

To install the `BizyAir`, use the following command:

```shell
Expand Down
11 changes: 6 additions & 5 deletions docs/docs/getting-started/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@

For the first use, you need to set your API key using "Set SiliconCloud API Key". Add the "Set SiliconCloud API Key" node and run it(click "Queue Prompt" button). The key changes to "**********", indicating successful operation.

![](./imgs/howtosetkey.png)
![](./imgs/how-to-set-key.gif)

You **should** then remove this node.

## 2. Using BizyAir Nodes

All BizyAir nodes are under the "☁️BizyAir" category. Taking "☁️BizyAir SiliconCloud LLM API" node as an example, it can assist you by leveraging a LLM (large language model) to refine prompts, translate, or perform any other tasks you want it to do.
All BizyAir nodes are under the "☁️BizyAir" category.

Here is a simple example of using the Kolors nodes.

![](./imgs/llm_api_node.png)
![](./imgs/text2img.gif)

or you can use [Kolors](../kolors/introduce.md) nodes to generate images.
or you can use LLM to refine your prompt.

![](../kolors/imgs/bizyair_kolors_txt2img.png)
![](./imgs/llmnode.gif)
Binary file added docs/docs/others/imgs/remove-background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions docs/docs/others/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## ☁️BizyAir Anime Image Super Resolution

This node helps you enhance the resolution of your input cartoon images. You can choose to upscale them by 2x or 4x.

## ☁️BizyAir Remove Image Background

This node helps you remove the background, resulting in a transparent-background image.

![](./imgs/remove-background.png)

## ☁️BizyAir Generate Photorealistic Images

This node can help you generate photo-style images with very simple prompts.


1 change: 1 addition & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ nav:
- Installation: getting-started/installation.md
- Quick Start: getting-started/quick-start.md
- Kolors: kolors/introduce.md
- Others: others/index.md
# - Controlnet Preprocessing:
# - Line Extraction: controlnet-preprocessing/line-extraction.md
# - T2I Adapter: controlnet-preprocessing/t2i-adapter.md
Expand Down
139 changes: 139 additions & 0 deletions examples/bizyair_anime_image_super_resolution_workflow.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"last_node_id": 35,
"last_link_id": 47,
"nodes": [
{
"id": 34,
"type": "BizyAirSuperResolution",
"pos": [
2158,
623
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 46
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
47
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BizyAirSuperResolution"
},
"widgets_values": [
"2x"
]
},
{
"id": 33,
"type": "LoadImage",
"pos": [
1830,
614
],
"size": [
315,
314
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
46
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"葫芦娃吐火.webp",
"image"
]
},
{
"id": 35,
"type": "PreviewImage",
"pos": [
2165,
721
],
"size": [
321.3333740234375,
364.0000305175781
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 47
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
}
],
"links": [
[
46,
33,
0,
34,
0,
"IMAGE"
],
[
47,
34,
0,
35,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": {
"0": -918,
"1": -317.33331298828125
}
}
},
"version": 0.4
}
Loading