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
yieldcrv#
“Add a dog in my arms”

I’ll keep you posted how well this works for dating apps

sschueller3 replies#
I am not a fan of software such as this putting in an arbitrarily "safety" feature which can only be disabled via undocumented environment variable. At least make it a flag documented for people who don't have an issue with nudity. There isn't even an indication that there is a "safety" issue, you just get a blank image and are wondering if your GPU/model or install is corrupted.

This isn't running on a website that is open to everyone or can be easily run by a novice.
Anyone capable of installing and running this is also able to read code and remove such a feature. There is no reason to hide this nor to not document it.
Also the amount of nudity you get is also highly dependent on which model you use.

sandworm1014 replies#
Nudity isnt really the core issue. It is about illegal content. Nudity is the over-protective, over-inclusive bandaid solution to prevent this thing from being used to generate the very illegal material that will trigger authorities.
sschueller1 reply#
Then instead of just presenting me with a blank image tell me why it's blank. Or add the word "nude" to the default negative filter which by default doesn't have that in it.

The default is:

   negative-prompt:"Ugly, duplication, duplicates, mutilation, deformed, mutilated, mutation, twisted body, disfigured, bad anatomy, out of frame, extra fingers, mutated hands, poorly drawn hands, extra limbs, malformed limbs, missing arms, extra arms, missing legs, extra legs, mutated hands, extra hands, fused fingers, missing fingers, extra fingers, long neck, small head, closed eyes, rolling eyes, weird eyes, smudged face, blurred face, poorly drawn face, mutation, mutilation, cloned face, strange mouth, grainy, blurred, blurry, writing, calligraphy, signature, text, watermark, bad art,"
sandworm1011 reply#
Sure, if this was a commercial product i would also scream about feedback. But as this is a free side project im not going to criticize decisions on what they think they need to do to avoid unnecesary drama. I credit them for making the bypass relatively simple.

Continue this thread — 1 reply

Siira#
Is any AI generated image even illegal, assuming originality and difference from training set?
babarock2 replies#
Genuinely curious what type of content would be considered illegal here.

- the tool is drawing original content. - the tool is executing on my laptop. - the output image is not shared with anyone.
In a way, whatever this tool can do, MS Paint could (theoretically) do.
Or am I misunderstanding the whole thing?

sandworm1016 replies#
Nope. It is illegal if you do it on ms paint too. Images of naked kids (real or fiction) + transmitted over internet (ie state lines) = bad bad day for all involved.

Continue this thread — 6 replies

wongarsu1 reply#
There's a great wikipedia page on this very topic [1]. In some countries like Germany fictional porn isn't considered porn, while other countries like Australia or France consider the possession of drawings of naked minors a crime worthy of jail sentences. And then there's the US where having the images on a computer is fine, as long as they aren't sent over the internet and the computer never crosses state lines.

In general it's a topic people are careful about because the legal situation is complex, and in many countries associated with the potential of heavy jail sentences.
1: https://en.wikipedia.org/wiki/Legal_status_of_fictional_porn...

Continue this thread — 1 reply

Zuiii1 reply#
Then society shouldn't tolerate knifes either.

Banning an entire class of activity because someone somewhere might abuse it is a ridiculous irrational way to reason about things.
The question is simple: Will the thing mostly be used for bad or good? Unless you think the vast majority of humanity are pedophiles then these features should be allowed.
Think of the children was never a valid argument and isn't a valid one today. I truly hope this utterly stupid and brain-dead way of thinking never escapes the AI community and infect other fields.

seanw444#
Agreed. This was an inevitable use case for AI imagery from the get-go. No way around it. Even if one dev/trainer goes out of their way to make certain that it can't be used for that purpose, another model will be trained that can. So the only three solutions are:

A. Get over it.
B. Ban the tool in its entirety.
C. Waste tons of governmental resources, spy on people more, and operate in legal grey-area to hunt down people that produce that kind of stuff with these models.
The correct answer seems obvious to me.

bryced#
The console output tells you what happened.
kaapipo#
Can you tell which env variable to set?
social_quotient1 reply#
Slightly off topic.

I’ve been looking for an easier way to replace the text in these ai generated images. I found Facebook is working on it with their TextStyleBrush - https://ai.facebook.com/blog/ai-can-now-emulate-text-style-i... but have been unable to find something released or usable yet. Anyone aware of other efforts?

johndough#
The authors of TextStyleBrush cite SRNet, which is available at https://github.com/youdao-ai/SRNet but probably has worse quality. I don't know of others, but I have not looked very hard either.
TeMPOraL1 reply#
> Here are some examples of transformations it can make: Golden gate bridge:

I'm on mobile so can't try this myself now. Can it add a Klingon bird of prey flying under the Golden Gate Bridge, and will "add a Klingon bird of prey flying under the Golden Gate Bridge" prompt/command be enough?

wongarsu#
No. At least not with the Stable Diffusion 1.5 checkpoint used in the colab notebook. It seems to only have a very vague idea of what a Klingon bird of prey is. The best I could get in ~30 images was [1], and that's with slight prompt tweaks and a negative prompt to discourage falcons and eagles.

1: https://i.imgur.com/gDj2Kn4.png

Load more comments