This program edits an image from an instruction, on your GPU. It uses OmniGen2 with the EditScore7B-v1.1 LoRA: OmniGen2 after more training with the EditScore-7B reward model. Download the program for your computer. Each file that you download contains the weights. The program does not connect to other computers.
Apple silicon · 16.3 GB
Download for macOSApple did not notarize this program. Unzip the file. Remove the quarantine flag one time. Then start the program:
cd omnigen2-editscore-macos-arm64 xattr -dr com.apple.quarantine . ./omnigen2-editscore
x86-64 · NVIDIA · 19.0 GB
Download for WindowsUnzip the file. Start omnigen2-editscore.cmd.
x86-64 · NVIDIA · 20.0 GB
Download for Linuxmkdir omnigen2-editscore tar xf omnigen2-editscore-linux-x86_64.tar -C omnigen2-editscore cd omnigen2-editscore ./omnigen2-editscore
In each desktop program · 15.9 GB
The folder w of each desktop program contains the weights: OmniGen2 from chibifire/omnigen2-base-df5dca8a in BF16, and the LoRA from OmniGen2-EditScore7B-v1.1. The program does not download files.
All checksums: SHA256SUMS. The files are in chibifire/omnigen2-editscore-desktop.
Start the program with no option. The first start unpacks the Python environment into the folder env. Then the program loads the model and opens the edit page in your browser. Give an image and an instruction, then click Edit. The page and the edit stay on this computer.
Edit one image and save the result as a PNG file.
omnigen2-editscore --image in.png \ --prompt "Change the background to a classroom." \ --out edit.png
| --steps N | Steps of the sampler (default 50) |
| --seed N | Seed of the noise (default 0) |
| --max-side N | Longest side of the result in pixels (default 1024) |
| --no-lora | Use OmniGen2 without the LoRA, to compare |
| --device | auto, cuda, mps or cpu |

Input

OmniGen2 without the LoRA (--no-lora). The bed changed to a desk.

With the EditScore7B-v1.1 LoRA. Only the background changed.
Linux package, NVIDIA RTX 3090, 50 steps, seed 0, 672 × 1024 pixels, approximately 2 minutes for each edit. The input image is from the OmniGen2 repository.