Lurker News
This works suprisingly well. Just give it instructions like "make it winter" or "remove the cars" and the photo is altered.

Here are some examples of transformations it can make: Golden gate bridge: https://raw.githubusercontent.com/brycedrennan/imaginAIry/ma... Girl with a pearl earring: https://raw.githubusercontent.com/brycedrennan/imaginAIry/ma...
I integrated this new InstructPix2Pix model into imaginAIry (python library) so it's easy to use for python developers.

Comments (227) 59 threads

Earlier comments
anigbrowl1 reply#
A CUDA supported graphics card with >= 11gb VRAM (and CUDA installed) or an M1 processor.

/Sighs in Intel iMac
Has anyone managed to get an eGPU running under MacOS? I guess I could use Colab but I like the feeling of running things locally.

bryced1 reply#
I'm told Imaginairy secretly does run on Intel Mac. very slowly. I just don't want to be on the hook for support so the reqs are written that way.
anigbrowl#
Ooh, I'll give it a whirl - performance isn't a priority right now. Thanks Bryce.
perfopt1 reply#
How does this work? When I run it on a machine with a GPU (pytorch, CUDA etc installed) I still see it downloading files for each prompt. Is the image being generated on the cloud somewhere or on my local machine? Why the downloads?
bryced3 replies#
Shouldn't be downloads per prompt. Processing happens on your machine. It does download models as needed. A network call per prompt would be a bug.
perfopt1 reply#
OK. I noticed that the images are not accurate when I give my own descriptions. Not sure if this is a limitation of Stable Diffusion. For example, for the text "cat and mouse samurai fight in a forest, watched by a porcupine" I got a cat and a mouse (with a cat's face and tail!!) in a forest sort of fighting. But no - porcupine

Thank you for creating this.

bryced#
yes stable diffusion is not great about handling multiple ideas. New image models coming out soon though.
perfopt2 replies#
I keep seeing this even when the prompt is unchanged

Downloading https://huggingface.co/runwayml/stable-diffusion-v1-5/resolv... from huggingface Loading model /home/hrishi/.cache/huggingface/hub/models--runwayml--stable-diffusion-v1-5/snapshots/889b629140e71758e1e0006e355c331a5744b4bf/v1-5-pruned-emaonly.ckpt onto cuda backend...
followed by a download

bryced1 reply#
That is strange. I'm not sure what would cause that unless it was running in some ephemeral environment. What OS? Can you open a github issue with a screenshot?

Continue this thread — 1 reply

bryced#
Oh I see what you're saying. It's not actually downloading but there is a bug where it's not using the cache properly. will fix
searchableguy#
Is there a way to pre-download all models? I want to create a docker image and cache the models.

Also any way configure the generated file path beyond directory or directly pipe image from the CLI?

WesolyKubeczek#
So, Deckard can ask it to enhance, finally :)
c7b1 reply#
Many thanks to the OP, can't wait to try this out! I have a question I'm hoping to slide in here: I remember there were also solutions for doing things like "take this character and now make it do various things". Does anyone remember what the general term for that was, and some solutions (pretty sure I've seen this on here, apparently forgot to bookmark).

PS: I'm not trying to make a comic book, I'm trying to help a friend solve a far more basic business problem (trying to get clients to pay their bills on time).

bryced1 reply#
dreambooth perhaps?
c7b1 reply#
Dreambooth is what I'm using now, but I think I remember the concept had a specific name, something like 'context transfer' or so (pretty sure that was not the term) and tools that were pretty good at it that came out before Dreambooth. If I could at least remember the term it might be easier to search for them.

Dreambooth is ok at it, but it requires multiple images (you often read 30, but I've actually had decent results with as few as five) to recognize what it's supposed to replicate. I remember there were tools that were more adapted to the workflow "create a humanoid cartoon character with a bunny face", pick one image that you like, and then "now show that same character in scene X, eg teaching in a classroom" or "wearing a cowboy outfit".

cma1 reply#
"textual inversion"

Continue this thread — 1 reply

Load more comments