https://github.com/mo230761/InsertAnything-ComfyUI-official
https://github.com/mo230761/InsertAnything-ComfyUI-official
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mo230761/InsertAnything-ComfyUI-official
- Owner: mo230761
- Created: 2025-06-03T10:00:23.000Z (16 days ago)
- Default Branch: main
- Last Pushed: 2025-06-03T12:41:44.000Z (16 days ago)
- Last Synced: 2025-06-03T22:43:26.810Z (15 days ago)
- Language: Python
- Size: 9.77 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-comfyui - **ComfyUI-Text-Translation** - wensong/insert-anything). (All Workflows Sorted by GitHub Stars)
README
This repository provides the official ComfyUI workflow for [Insert Anything](https://github.com/song-wensong/insert-anything).
## 🔧 Installation
We offer two methods for installing InsertAnything-ComfyUI.
### Prerequisites
Please first install [ComfyUI](https://github.com/comfyanonymous/ComfyUI/tree/master) with the following commands:
```shell
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
pip install -r requirements.txt
```### ComfyUI-Manager
1. Install [ComfyUI-Manager](https://github.com/ltdrdata/ComfyUI-Manager) with the following commands:
```shell
cd custom_nodes
git clone https://github.com/ltdrdata/ComfyUI-Manager
```2. Launch ComfyUI:
```shell
cd .. # Make sure you are in the ComfyUI root directory
python main.py
```
3. Open the `ComfyUI Manager`, select `Install via Git URL`, input the URL:```shell
https://github.com/mo230761/InsertAnything-ComfyUI-official.git
```4. Move the `InsertAnything.json` file into your local ComfyUI's user/default/workflows directory.
### Manual Installation
1. Clone this repository into the `custom_nodes` directory inside ComfyUI:```shell
cd custom_nodes
git clone https://github.com/mo230761/InsertAnything-ComfyUI-official.git
```
2. Move the `InsertAnything.json` file into your local ComfyUI's user/default/workflows directory3. Launch ComfyUI:
```shell
cd .. # Make sure you are in the ComfyUI root directory
python main.py
```## 🚀 Usage Examples
Using this [workflow](workflows/InsertAnything.json), the source image and ref_image are cropped and scaled to a standard size of 768*768 to generate the image.
The effect is shown in the figure below.

The Insert Anything LoRA still performs well at larger resolutions. Therefore, to avoid image quality loss caused by processing images to 768*768, you can also use this [workflow](`workflows/InsertAnything_noscaling.json`) to only crop the image for generation. In this case, you can set the image resolution more freely.
The effect is shown in the figure below.
