Could iris.c get features like inpainting/outpainting/LoRA/ and supporting other models?
This is really great, like a dream come true!! Thanks a lot for developing this! A C-only image generation program that has true good support for Macs! I know there are other open source image generation codes, some of them really huge, with tons of features, but their code is not C, and is overly complex, and their Mac support tends to be poor.
I'm wondering if you see it feasible to add more features, but in a controlled way, I mean, not making it grow like the huge alternatives available, but instead keeping it simple as it is now.
For example, would inpainting and outpainting be feasible? And LoRA? Or other models like Stable Diffusion?
Anyway, your code is great as it is, and I thank you for creating it. I'm just saying that if you add some features like the ones I mention, then your code would be the only image generation code I'd need.
Thanks a lot!
This is the proper job of a helper script or program that calls iris.c as the backend, not iris itself, imo.
My current workflow is:
Make your image with iris. Open your output image in gimp, crop out the section you want to change, save it as 'delme.png'. Try to make width and height multiples of 16.
Run iris with the -i delme.png image and specify what you want to change, specify -o delme2.png and give matching -W and -H. Try to make output resolution identical to input, or at least multiples of 16.
Load delme2.gimp into GIMP.
Paste the image over original image, select 'to new layer'.
Use erase tool or faded borders to help integrate the output to your input.
I note that iris.c with flux.2-klein 4b fails to recreate input colors properly by default - tends to blow-out highlights and oversaturate, over-plastify edited regions.
iris should also be usable in a Krita-AI workflow.
Moebius: a new 0.2B model that promises to be on-par with flux. 🤯