Show HN: AI OmniGen – AI Image Generator with Consistent Visuals

167 points
1/21/1970
9 days ago
by lcorinst

Comments


ed

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.

9 days ago

nairoz

> 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

8 days ago

yieldcrv

Pretty cool, comfy ui and community is too cumbersome for me and still results in too much throwaway content

8 days ago

lelandfe

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.

9 days ago

YetAnotherNick

8 days ago

cubefox

Same, I left running for half an hour but nothing happened.

8 days ago

bob_1200

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

8 days ago

Citizen_Lame

Left it running 1 hour nothing happens. Maybe this is a social experiment.

8 days ago

grvbck

Left it running overnight. Set output to 512x512 in an attempt to speed things up. Nothing.

8 days ago

freilanzer

Second attempt, no output no matter how long it's left running.

8 days ago

bob_1200

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/

8 days ago

lelandfe

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.

8 days ago

zamadatix

Seems far more likely it's a transient unhandled exception which isn't bubbling up to let the frontend know.

8 days ago

phromo

On an A100 running 512x512 takes roughly 20s for one image+text input (50 iterations)

8 days ago

[deleted]
8 days ago

littlestymaar

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

8 days ago

sswz

[dead]

8 days ago

ilaksh

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.

9 days ago

freilanzer

Well, at the moment it seems it's not working at all.

8 days ago

sswz

Using a single model to unify all image generation tasks, including many computer vision tasks and visual language reasoning, could transform future image generation models. Although some capabilities, like text-to-image, aren't perfect, it's a significant advancement. The model's ability to integrate so many tasks with strong instruction-following skills is impressive. I'm excited about the broad impact OmniGen could have on future research.

8 days ago

block_dagger

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.

8 days ago

101008

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?

8 days ago

ncoronges

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

8 days ago

101008

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.

8 days ago

spaceman_2020

The easiest flux api I’ve seen is with Fal.ai

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

8 days ago

handfuloflight

If you have GPUs on your server that can handle it.

8 days ago

[deleted]
8 days ago

haccount

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.

8 days ago

KerryJones

Love this idea -- you have a typo in tools "Satble Diffusion"

9 days ago

gremlinsinc

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.

8 days ago

wwwtyro

With consistent representation of characters, are we now on the precipice of a Cambrian explosion of manga/graphic novels/comics?

9 days ago

Multicomp

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).

8 days ago

jowday

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.

8 days ago

haccount

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.

8 days ago

fullstackwife

not yet, still can't generate transparent images

8 days ago

Vt71fcAqt7

From the controlnet author:

Transparent Image Layer Diffusion using Latent Transparency

https://arxiv.org/abs/2402.17113

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

8 days ago

derefr

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.

8 days ago

empath75

it seems like there's a lot of potential for abuse if you can get it to generate ai images of real people reliably.

9 days ago

hnbad

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.

8 days ago

CamperBob2

Eh, once it's ubiquitous, nobody will care.

8 days ago

cubefox

Once fakes in politics are ubiquitous, people will stop trusting the real evidence.

8 days ago

CamperBob2

That appears to have already happened, no AI required.

7 days ago

cubefox

The trust in video evidence certainly can be much lower than it is now.

7 days ago

CamperBob2

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.

7 days ago

cubefox

> 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.

6 days ago

oatsandsugar

I mean, I struggle even getting Dall-E to iterate on one image without changing everything, so this is pretty cool

9 days ago

anyi09881

Curious what's the actual cost for each edit? Will this infra always be reliable?

9 days ago

CamperBob2

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.

8 days ago

hyuuu

could you elaborate on the multi modal aspect of this model?

5 days ago

jay_1999

[dead]

8 days ago

sunny-sunny

[dead]

8 days ago

545999961

[dead]

7 days ago

convolution8

[dead]

6 days ago

toast12345

[flagged]

6 days ago

toast12345

[flagged]

6 days ago

kazishariar

[flagged]

9 days ago

illumanaughty

We've been manipulating photos as long as we've been taking them.

9 days ago

handfuloflight

Art is what you can get away with. (Andy Warhol)

8 days ago