NokiMo
Aitrepreneur
Aitrepreneur

patreon


KONTEXT NEW MULTIMODAL AI IMAGE EDITING KING WORKFLOW!

Edit 04th July: I reuploaded the workflow by adding another lora loading method in the nunchaku model workflow because some loras don't work with the nunchaku lora loader WHILE OTHERS don't work with the normal lora loader...probably has something to do with the trainer the person used to make the lora. So basically only have ONE lora loader enabled and have the other disabled. If one loader is not working, try the other one and vice versa....


Hey everyone! I've just released a new video on "THE NEW MULTIMODAL AI KING!", called "KONTEXT". Simply THE MOST POWERFUL AND INSANE AI IMAGE EDITING MODEL EVER! A brand new 12-BILLION-PARAMETER model from the makers of Flux called “Kontext”. A multimodal model that is able to automatically edits images with incredible precision. The amount of things you can do with this model is just mind blowing AND by using the brand new Nunchaku model, can generate images IN SECONDS!!!… It's just amazing!

You can check out the video right here: https://youtu.be/Lsz3tlbBaqM

I also created a 1-click installer for the Webui for my Patreon supporters for Local AND Runpod, that you can find right here:1-Click INSTALL KONTEXT AI IMAGE EDITING KING ComfyUI WebUI! | Patreon

Here the link to the manual install guide: https://pastebin.com/jTGgsFbA

Down below you will also find the FLUX_KONTEXT_IMAGE_EDITING.json for free for you to use!

As always, supporting me on Patreon allows me to keep creating helpful resources like this for the community. Thank you for your support - now go have some fun😉!



Ps: Sorry for being very quiet again, some of you kinda know the drill by now....it's nothing new...spend a few days in the hospital and was bedridden for a while so thank you all for being patient! 🫶

KONTEXT NEW MULTIMODAL AI IMAGE EDITING KING WORKFLOW!

Comments

I have updated the installers, so you didn't really have to do all of that. That being said, nunchaku nodes are an absolute shitshow to install and maintain correctly, always having to use the special install wheel workflow to update the wheel each time it breaks so yeah I feel you, got a similar issue on my side a few days ago.....

Aitrepreneur

Have you used the updated installers, just updated them 2 days ago

Aitrepreneur

This solution worked for me. (Nunchaku FLUX DiT Loader e Nunchaku FLUX Lora Loader not working) After reinstalling, everything was working fine — but when I tried to install additional nodes, I got errors with both nunchaku loader nodes. Here’s what I did: I deleted the following folders from custom_nodes: ComfyUI-GGUF ComfyUI-KJNodes ComfyUI-Crystools rgthree-comfy ComfyUI-Manager I reinstalled everything using the KONTEXT-MODELS-NODES_INSTALL.bat file. Since I had already downloaded the large model files before, the process was faster — and all the other nodes I had previously updated remained working properly.

Renato Vilarouca

I have now issues when loading the json. I get NunchakuFluxDiTLoader NunchakuFluxLoraLoader are missing, and no matter how much I try to download the missing from the manager, no luck. I downloaded https://www.mediafire.com/file/hxdnzksadv0arg5/install_wheel.json file from that link you provided, it did download successfully, but after opening the ComfyUI still the missing loaders. I can use the FP8 but the Nunphy is missing. Any way to fiy the problem? This happened after I updated the ComFyUI.

TomiTom1234

One thing you can do is once the nunchaku custom node has been installed, you can load this special workflow: https://www.mediafire.com/file/hxdnzksadv0arg5/install_wheel.json/file inside comfyui and then click run (as if you are generating an image), it will then download an install correctly the correct nunchaku wheel. You can then restart comfyui reload the workflow and it will work

Aitrepreneur

I just tried the one click installer and ran into a lot of issues I got them all fixed except these two. NunchakuFluxDiTLoader NunchakuFluxLoraLoader I am not sure exactly where I need to go to get these, which ones to actually download, or where to put them

Cory Fitzgerald

hello sit-this is working with nvidia rtx 3050 8gb?

Kappak Amaru

Depends on the prompt and what you are trying to do, for some thing you need to choose a specific resolution when generating (activate custom resolution)

Aitrepreneur

update comfyui

Aitrepreneur

I'm having some difficulty when using 2 images, I usually just get an output of the two images stiched together in the middle or I loose all the details and it ignores my prompt, I know it's working because when I use 1 image it for the most part does what I ask, and the guide doesn't seem to explain how to use 2 images

Alexander V Morawski

Hello, I used the upgrade batch file for my existing ComfyUI Portable. How do I find the nodes "ReferenceLatent", "FluxKontextImageScale" and "ImageStitch"? I don't find them via comfy manager and "install missing nodes" doesn't find them.

T. Scott Thompson

Well I'm not sure what StabilityMatrix uses to install comfyui, my installers are using the portable version to work between them. One thing you can do, is to make sure that you got at least the nunchaku custom node installed via the manager and then load this special workflow : https://we.tl/t-kdIzCARCa7 To automatically download and install the nunchaku wheel. Just load this inside comfyui and then click run (as if you are generating an image). If it works, great, you can restart comfyui via the manager and reload the workflow.

Aitrepreneur

I have ComfyUI installed on my system already using StabilityMatrix. I can't get the Nunchuka nodes installed for some reason. It keeps failing to install properly but I don't know why. It says I need "NunchakuFluxDitLoader" and "NunchakuFluxLoraLoader". I've tried installing both through the manager a bunch of times but after every restart it still says I need to install them. Any tips?

Sean Rowe

cu129? I wasn't even aware this was available. You are not in trouble What's your GPU? have you followed the instruction here: Just go inside the python embedded folder, click on the folder path, type cmd press enter, this will bring the command prompt window and there type: python.exe -m pip uninstall torch python.exe -s -m pip install --upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128 --->replace cu128 by your cuda version (if you don't know your cuda version just open a new cmd window and type nvcc --version it will then tell you at the end Cuda compilation tools, release 12.8, V12.8.93 or something different like 12.6, in that case just use cu126 instead of cu128)

Aitrepreneur

I tried it, inpainting with Kontext is either not great or kinda useless compared to the Flux fill model that is MADE for inpainting. The whole point of Kontext is that you don't need to do a mask, if you do a mask, might as well use the Flux fill model (which is an amazing model too btw) I will do an updated video on Flux workflow soon though

Aitrepreneur

Obviously

Aitrepreneur

Yes but the quality is the same as flux

Aitrepreneur

I am in trouble. I get the error message "AssertionError: Torch not compiled with CUDA enabled" I found that my CUDA ver. is 12.9 , but when I applied the command "python.exe -s -m pip install --upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu129" An error in red appears that says: "ERROR: Could not find a version that satisfies the requirement torch (from versions: none) ERROR: No matching distribution found for torch" What should I do?

TomiTom1234

Do you plan to add an inpaint flow as well? Seen some others do this with Kontext. Awesome work!

Mikael Svenson

its an image editing model my guy

corey L

Is all the models and files linked in the manual installation safe?

Ech0_Hue

can you use it as text to image?

Mahmoud Alhashim

Why not T2I?

SVT-Fashion-ART

Have you thought about doing a workflow that allows you to do a mask so that you can ensure only what you want changed is changed?

firstname lastname

I disagree, I'm using literally the easiest version possible for most people since it's the portable version, so there is no need to manage incorrect python versions or anything, everything is already contained in the python embedded folder. My videos and installers are always made with complete beginners in mind, using the desktop version is anything but ideal and is less flexible for most beginners users.

Aitrepreneur

probably the resolution?

Aitrepreneur

Have you done a full reinstall of comfyui and done the nunchaku wheels install ?

Aitrepreneur

It's on the page https://www.patreon.com/file?h=133144010&m=493195316

Aitrepreneur

Some information for you: As many influencers that started with Comfy, you might not have noticed that there is a version called ComfyUI Desktop. This version makes it much easier to start with ComfyUI and to install new features. There is no more need to have complicated git pulls etc. It is way easier now. It is only confusing, that many influencers are still teaching complicated ways. In many cases, ComfyUI can even install the model automatically, when starting the workflow for the first time. The draw back is, that ComfyUI Desktop creates some virtual environment automatically, which makes it diffucult to manually install things... Unfortunatly, there arent influencers teaching workarounds for that... so for example, I am still struggling for nunchaku (its not installing). I hope my information was helpful, keep up the good work my friend!

Bobby Boe

He's the one making them for our convenience. Why shouldn't he make some money for his time?

Justin

I had the experimental working fine but I changed something and get arror 'SamplerCustomAdvanced The size of tensor a (768) must match the size of tensor b (128) at non-singleton dimension 2' cannot figure out what needs changing?

gillian

Very Lame that you gatekeep this info and tools behind a paywall

Ragscoon Raccoon

Missing Node Types When loading the graph, the following node types were not found NunchakuFluxDiTLoader NunchakuFluxLoraLoader

Mathilde Leroux

sorry, as iIam new, I could not find FLUX_KONTEXT_IMAGE_EDITING.json

Dattprasad Salunke

Have you done the install from scratch or from an existing install?

Aitrepreneur

NunchakuFluxLoraLoader and NunchakuFluxDiTLoader can't be downloaded for me no mater how many times I try.

Manic

It's on the page. https://www.patreon.com/file?h=133144010&m=493195316

Aitrepreneur

https://huggingface.co/models?sort=likes&search=kontext just look for the 4th most liked one

Aitrepreneur

Great! I've spend the whole week experimenting with different test and flows. Gonna try this one asap. Hope you are ok

rubz

I'm not seeing the FLUX_KONTEXT_IMAGE_EDITING.json is it in this post? amazing work by the way, this is been very confusing trying get an efficient workflow through reddit searching.

Afro_Fail

name of the nsfw lora?

Angelo Messinese

Great stuff, hope you are doing better. Really like your videos.

MonkeyDanceParty


Related Creators