News for hackers. Stuff that matters.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by ed on Wednesday October 30, 2024 @03:21PM (#41999115)
Elegant architecture, trained from scratch, excels at image editing. This looks very interesting!

From https://arxiv.org/html/2409.11340v1

> Unlike popular diffusion models, OmniGen features a very concise structure, comprising only two main components: a VAE and a transformer model, without any additional encoders.

> OmniGen supports arbitrarily interleaved text and image inputs as conditions to guide image generation, rather than text-only or image-only conditions.

> Additionally, we incorporate several classic computer vision tasks such as human pose estimation, edge detection, and image deblurring, thereby extending the model’s capability boundaries and enhancing its proficiency in complex image generation tasks.

This enables prompts for edits like: "|image_1| Put a smile face on the note." or "The canny edge of the generated picture should look like: |image_1|"

> To train a robust unified model, we construct the first large-scale unified image generation dataset X2I, which unifies various tasks into one format.

Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by nairoz on Wednesday October 30, 2024 @06:32PM (#42001246)
> trained from scratch

Not exactly. They mention starting from the VAE from Stable Diffusion XL and the Transformer from Phi3.

Looks like these LLMs can really be used for anything

Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by yieldcrv on Wednesday October 30, 2024 @10:52PM (#42003004)
Pretty cool, comfy ui and community is too cumbersome for me and still results in too much throwaway content
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by ilaksh on Wednesday October 30, 2024 @03:24PM (#41999161)
I think this type of capability will make a lot of image generation stuff obsolete eventually. In a year or two, 75%+ of what people do with ComfyUI workflows might be built into models.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by freilanzer on Thursday October 31, 2024 @08:32AM (#42006228)
Well, at the moment it seems it's not working at all.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by lelandfe on Wednesday October 30, 2024 @03:48PM (#41999412)
I left all the defaults as is, uploaded a small image, typed in "cafe," and 15 minutes later I am still waiting on this finishing.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by cubefox on Wednesday October 30, 2024 @09:39PM (#42002564)
Same, I left running for half an hour but nothing happened.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by bob_1200 on Wednesday October 30, 2024 @10:33PM (#42002878)
The author updated their code a couple of days ago, and it runs smoothly on my end, producing results in about one minute. https://github.com/VectorSpaceLab/OmniGen
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by Citizen_Lame on Thursday October 31, 2024 @04:48AM (#42004671)
Left it running 1 hour nothing happens. Maybe this is a social experiment.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by grvbck on Thursday October 31, 2024 @08:04AM (#42005977)
Left it running overnight. Set output to 512x512 in an attempt to speed things up. Nothing.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by freilanzer on Thursday October 31, 2024 @08:31AM (#42006225)
Second attempt, no output no matter how long it's left running.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by bob_1200 on Thursday October 31, 2024 @10:11AM (#42007112)
I think there might be an issue with this website; it doesn't seem to be their official site. It's recommended to use the official code and demo: https://vectorspacelab.github.io/OmniGen/
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by lelandfe on Thursday October 31, 2024 @10:22AM (#42007202)
Demo: https://huggingface.co/spaces/Shitao/OmniGen

Took a few minutes to load, some assets download at less than 1kbps. The first 3 times I got a "Connection error" after 30s. The 4th time has now been running for 5m.

Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by zamadatix on Thursday October 31, 2024 @11:48AM (#42008059)
Seems far more likely it's a transient unhandled exception which isn't bubbling up to let the frontend know.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by phromo on Thursday October 31, 2024 @03:26PM (#42010526)
On an A100 running 512x512 takes roughly 20s for one image+text input (50 iterations)
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by YetAnotherNick on Thursday October 31, 2024 @12:27PM (#42008457)
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by kazishariar on Wednesday October 30, 2024 @02:54PM (#41998850)
Hrmm, so this is how it's gonna be moving forward then? Use a smidgen of truth, to tell the whole falsehood, and nuttin' but the falsehoods. Sheesh- but, at least the subject is real? And that's that- nuttin' else doh.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by illumanaughty on Wednesday October 30, 2024 @03:56PM (#41999495)
We've been manipulating photos as long as we've been taking them.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by handfuloflight on Wednesday October 30, 2024 @09:51PM (#42002639)
Art is what you can get away with. (Andy Warhol)
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by oatsandsugar on Wednesday October 30, 2024 @01:12PM (#41997671)
I mean, I struggle even getting Dall-E to iterate on one image without changing everything, so this is pretty cool
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by empath75 on Wednesday October 30, 2024 @02:52PM (#41998823)
it seems like there's a lot of potential for abuse if you can get it to generate ai images of real people reliably.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by hnbad on Thursday October 31, 2024 @06:24AM (#42005308)
We literally already had AI fake porn of Taylor Swift making the rounds a while ago. Prepare for women in public positions to face that kind of bullshit more frequently.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by CamperBob2 on Thursday October 31, 2024 @09:23AM (#42006660)
Eh, once it's ubiquitous, nobody will care.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by cubefox on Thursday October 31, 2024 @10:23AM (#42007212)
Once fakes in politics are ubiquitous, people will stop trusting the real evidence.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by CamperBob2 on Friday November 01, 2024 @11:21AM (#42017786)
That appears to have already happened, no AI required.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by cubefox on Friday November 01, 2024 @01:28PM (#42019388)
The trust in video evidence certainly can be much lower than it is now.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by CamperBob2 on Friday November 01, 2024 @03:20PM (#42020560)
It's more an issue of indifference than trust. For instance, you can show Trump supporters any number of legitimate videos that depict Trump and his associates saying, doing, and promising all kinds of outrageous, offensive, and destructive things, and they won't care in the slightest. It's not that they don't trust the video, it's that they've been programmed not to care. The leader cannot fail.

That's the ultimate purpose of disinformation -- it's not to make you believe false things, it's to make you believe nothing.

So yes, AI fakery will contribute to that phenomenon on behalf of numerous bad actors, but it was always going to happen anyway. You don't need Hinton and Sutskever on your side if you have Aisles and Murdoch.

Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by cubefox on Saturday November 02, 2024 @08:50AM (#42026097)
> So yes, AI fakery will contribute to that phenomenon on behalf of numerous bad actors, but it was always going to happen anyway.

That's like saying: "Yes, crime might increase, but we will always have crime anyway." What will happen anyway is irrelevant precisely because it happens anyway. What's relevant is the expected increase in media distrust once everything might be a fake.

Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by anyi09881 on Wednesday October 30, 2024 @04:46PM (#42000078)
Curious what's the actual cost for each edit? Will this infra always be reliable?
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by CamperBob2 on Wednesday October 30, 2024 @07:34PM (#42001773)
I was able to clone the repo and run it locally, even on a Windows machine, with only minimal Python dependency grief. Takes about a minute to create or edit an image on a 4090.

It's pretty impressive so far. Image quality isn't mind-blowing, but the multi-modal aspects are almost disturbingly powerful.

Not a lot of guardrails, either.

Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by hyuuu on Sunday November 03, 2024 @04:47AM (#42032128)
could you elaborate on the multi modal aspect of this model?
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by KerryJones on Wednesday October 30, 2024 @04:46PM (#42000081)
Love this idea -- you have a typo in tools "Satble Diffusion"
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by wwwtyro on Wednesday October 30, 2024 @05:23PM (#42000520)
With consistent representation of characters, are we now on the precipice of a Cambrian explosion of manga/graphic novels/comics?
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by Multicomp on Wednesday October 30, 2024 @06:50PM (#42001389)
I sure hope so - at the very least I will use it for tabletop illustrations instead of having to describe a party's scenario result - I can give them a character-accurate image showing their success (or epic lack thereof).
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by fullstackwife on Wednesday October 30, 2024 @05:26PM (#42000556)
not yet, still can't generate transparent images
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by derefr on Wednesday October 30, 2024 @06:06PM (#42000981)
Why do you need that? For manga specifically, generate in greyscale and convert luminance to alpha; then composite; then color.

Or, if you need solid regions that overlap and mask out other regions, then generate objects over a chroma-keyable flat background.

Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by Vt71fcAqt7 on Wednesday October 30, 2024 @06:27PM (#42001207)
From the controlnet author:

Transparent Image Layer Diffusion using Latent Transparency

https://arxiv.org/abs/2402.17113

https://github.com/lllyasviel/sd-forge-layerdiffuse

Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by haccount on Thursday October 31, 2024 @02:43AM (#42004078)
I would say we already had one of those. There's more hand crafted human made content available than anyone cares to read.

While this will enable a certain degree of more spam it will more importantly, on the positive side of things, democratize the creative process to those who want to tell a story in images but lack the skill and resources to churn it out traditionally.

Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by jowday on Thursday October 31, 2024 @08:31AM (#42006224)
It’s not really consistent - or anymore consistent than, say, SDXL with IP adapter. Even in their example images the character they’ve input comes out wearing different clothes.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by block_dagger on Wednesday October 30, 2024 @06:35PM (#42001259)
This looks promising. I love how you can reference uploaded images with markup - this is exactly what the field needs more of. After spending the last two weeks generating thousands of album cover images using DALL-E and being generally disappointed with the results (especially with the variations feature of DALL-E 2), I'm excited to give this a try.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by 101008 on Wednesday October 30, 2024 @06:42PM (#42001319)
I am working on a API to generate avatars/profile pics based on a prompt. I tried looking for train my own model bt I think it's a titanic task and impossible to do it myself. Is my best solution use an external API and then crop the face for what was generated?
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by ncoronges on Wednesday October 30, 2024 @07:02PM (#42001492)
The simplest commercial product for finetuning your own model is probably Adobe firefly, although there’s no API access support yet. But there are cheap and only slightly more involved options like Replicate or Civit.ai. Replicate has solid API support.

Check out:

https://replicate.com/blog/fine-tune-flux

Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by 101008 on Wednesday October 30, 2024 @09:48PM (#42002614)
Is it Flux 1 possible to download and deploy to my own server? (And make a simple API on top of it?) I don't need fine tuning.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by spaceman_2020 on Thursday October 31, 2024 @12:13AM (#42003435)
The easiest flux api I’ve seen is with Fal.ai

It is expensive though- Flux dev images are like $0.035/image

Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by handfuloflight on Wednesday October 30, 2024 @09:50PM (#42002632)
If you have GPUs on your server that can handle it.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by haccount on Thursday October 31, 2024 @02:50AM (#42004110)
You can use a few controlnet templates and then whatever model you like and consistently get the posture correct. The diffusion plugin for Krita is a great playground for exploring this.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by bob_1200 on Wednesday October 30, 2024 @10:35PM (#42002891)
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by littlestymaar on Thursday October 31, 2024 @03:35AM (#42004295)
Cool they even released the weights![1] didn't expect that from the tone of the release post to be honest.

[1]: https://huggingface.co/Shitao/OmniGen-v1

Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by gremlinsinc on Thursday October 31, 2024 @02:43AM (#42004081)
Anyone know how it handles Text? That's kind of my deal breaker, I like Ideogram for it's ability to do really cool fonts, etc.
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by toast12345 on Saturday November 02, 2024 @10:42AM (#42026670)
sexy girl naked
Re:Show HN: AI OmniGen – AI Image Generator with Consistent ... by toast12345 on Saturday November 02, 2024 @10:42AM (#42026671)
sexy naked girl