Character Reference Tool: First Impressions (Patreon)
Content
Hello, people! After some weeks of playing with reference style, it is time to meet the new Midjourney tool - character reference/coherence!
Before some of you get excited, let me tell you that it doesn't work like face swap or Stable Diffusion models. If you use Stable Diffusion, you know that you can get 20 pictures of Lady Gaga or Baba Yaga and create a small file that faithfully reproduces your character.
So apparently Midjourney doesn't work like that... :(
But it's still can do interesting things
First, if you want to see a GREAT WAY of learning about it, the Niji team published a manga explaining how the tool works using the tool itself! (seriously, it's better than my explanation).
(read from left to right, it's a manga)
In any case, it works this way:
It is similar to the "Style Reference" feature, except instead of matching a reference style it tries to make the character match a "Character Reference" image.
Type --cref URL after your prompt with a URL to an image of a character
You can use --cw to modify reference 'strength' from 100 to 0
strength 100 (--cw 100) is default and uses the face, hair, and clothes
At strength 0 (--cw 0) it'll just focus on face (good for changing outfits / hair etc)
So far so good. But it has some limitations:
It works best when using characters made from Midjourney images.
It's not designed for real people/photos. (I think this is the biggest disappointment for many)
It works similarly to regular image prompts except it 'focuses' on the character traits. (I see this as a limitation)
Not very precise. It won't reproduce details like freckles.
Images not generated by MJ
Let's see how char reference works with images generated by Midjourney itself.
First, with humans:
cool teacher, a male redhead, 35 year old, mustache, t-shirt, denim pants, white background, in the style of Pixar --v 6.0
I'll be honest: I think this tool could work better. But some of the results were interesting, at least...
male redhead, 35 year old, mustache, at the garden of flowers --cref https://s.mj.run/BXH5JhCQfe0 --cw 100 --v 6.0
male redhead, 35 year old, mustache, wearing labcoat, black pants, boots, playing golf at night , in the style of Artgerm --cref https://s.mj.run/BXH5JhCQfe0 --cw 100 --v 6.0
male redhead, 35 year old, mustache, dressed as an angel, angel wings, flying , on the sky, golden hour anime style --cref https://s.mj.run/BXH5JhCQfe0 --cw 100 --v 6.0
-- CW 100 is the best way of getting face consistency. I am not sure if it makes too much difference with clothes to be honest.
I also tried a penguin, this is the original image:
a funny Penguin wearing tropical shirt and bermuda shorts, white background, by Liniers --v 6.0
Unfortunately, the results were not very good. When I used almost the same prompt I got closer, but there are still many differences.
a funny Penguin wearing tropical shirt and bermuda shorts, drinking coconut , at the pub , by Liniers --v 6.0 --cref https://s.mj.run/_9ieWCjlyW4 --cw 100
With a character not generated by MJ
The first image of this post was made with a dataset of Jean Grey wearing her classic "Marvel Girl" costume from the 1960s. You can check out my images here if you want. I think the results were acceptable on the first try!
a redhead woman wearing yellow mask, green dress, black belt, yellow boots, with fire around her, flying on the space, in the style of Alex Ross --ar 3:1 --cref [URL ] --v 6.0 --cw 100
Of course, let's see with real people! (Only two tests, but I promise more)
With Real People
So I imagined that one picture would not work. It's not enough because it's not merely a face swap. However, if you use Francis D's picture as your reference, you can get a result which is not perfect, but it's not so bad:
man wearing plaid shirt, eating ice cream at the carnival, by David Lachapelle --cref https://s.mj.run/gURXPe1p7RU --v 6.0
Then I decided to use many images of the same person, namely, Brazilian singer Ivete Sangalo. My dataset is here. I am not totally satisfied but I see some potential.
45yo latina woman in dress, portrait, medium shot, realistic photography, cinestill 800t, --cref [URL] --cw 100 --v 6.0
45yo latina woman in dress, watercolor portrait, medium shot, realistic painting,pastel colors , --cref [URL] --cw 100
In Conclusion
I think cref is a bit below what most of us were imagining, but better than the Midjourney team announced. The new tool might disappoint those who wanted total control of its characters and subjects, but it's still more control. I believe more images can bring more consistency, but this is a talk for our next post.
For now, enjoy and do a lot of tests!
Files