Generating Consistent Characters in the Midjourney Web Interface

I’ve been using Midjourney to generate consistent characters for almost a year now. When I first posted about the character reference feature, Midjourney was only available through Discord. That process still works, but we have some other options now with the web interface. You don’t need to copy and paste URLs or remember the syntax of –cref on the web. In this post, I’ll explain the process for generating consistent characters in Midjourney with the web interface and share some tips for getting better results.

Generating Consistent Characters in the Midjourney Web Interface. 8 images of a character Latina woman in different poses and settings.

Click any image in this post to expand it.

Generate the initial character reference image

To get started, you need an initial reference image for your character. Type your prompt in the field at the top of the page.

Here’s my prompt for this example:

Editorial photo, Latina woman, mid 50s, glasses, green blouse, working on a computer in a modern office

I typically follow this structure for my prompts:

  • Type of image: For training images, I find that “Editorial photo” is generally a good style. You can prompt for other styles (vector illustration, ink and watercolor, colored pencil sketch, minimalist line drawing, Pixar style, minimalist flat vector illustration, high precision photo, studio photo, etc.)
  • Character demographics and role: I described who I want, noting gender, race, and age. You can include a job description here too, which is useful if the character needs more specialized clothes.
  • Clothes and hair: In this example, I only described the clothes of glasses and a green blouse. You could add more details here, but simpler clothes are easier to keep consistent than more complex clothes.
  • Setting, action, emotions: Describe the setting and action. If you want any colors or objects in the background, include those here too. I sometimes include “blurred background” to keep the focus on the character.

You don’t have to follow that structure strictly, but I generally get good results with this pattern. Midjourney works better with shorter and simpler prompts than with very long and complex prompts. It also ignores filler words, so stick with phrases rather than long sentences and paragraphs.

Tip: If you don’t note the race and gender you want for a character, Midjourney (and other AI image generators) will usually default to whatever race and gender is most stereotypical. You need to be deliberate to counter the bias in the tools and the data they’re trained on.

These are the four initial options Midjourney generated.

Four image results in the Midjourney web interface.

In hindsight, I probably should have regenerated to get something with a less patterned shirt. Solid colors are easiest to replicate across multiple images, and the texture of this shirt is obviously different when you compare the images side by side. It would still probably be close enough for a training scenario, but it might be problematic for other uses.

Edit if needed

Most of the time, I either pick the option I like the best, or I regenerate until I get something I’m happy with. But in this instance, I decided to do a little editing. I like the image on the far right, but her hand has too many fingers. Midjourney does pretty well with hands overall, but you have to watch for these issues.

A hand with too many fingers generated in Midjourney.

When you click to expand and view a single image, you can access the Creation Actions menu on the right. Select Editor to change part of the image.

Creation Actions menu in Midjourney.

By default, the editor starts with an erase brush so you can remove the portion of the image you want to change. Err on the side of erasing too much rather than too little to give it space to adjust.

Editing to erase a hand in Midjourney.

I didn’t need to edit the prompt for this image, but you can do that on this screen as well. After I submitted, I had four new options to choose from.

Four character images in Midjourney after regenerating to correct an error in the hand.

Use the best image as a character reference

Once you have an image you’re happy with, use that as a character reference to generate more images.

  1. Open the reference image so you can access the Creation Actions menu.
  2. Click Prompt to copy the prompt (which you can then edit).
  3. Click Image to use the image as a reference.
The image icon means this is an image prompt, not a character reference.

By default, Midjourney uses it as an image prompt, meaning it uses the composition, colors, and other details. This is signified by the image icon in the lower right corner.

It’s very easy to miss this!

Character reference, style reference, and image prompt icons.

Instead of using the default image prompt, you need to change it to the Character reference option. Hover over the icon to access the three options: Character Reference, Style Reference, and Image Prompt. Select the Character Reference option.

These icons and settings are a little tricky to find. Hopefully a future version of Midjourney will make this easier.

Edit the prompt for the differences you want. For my first variation, I wanted to show her working rather than looking at the camera. I used the same basic prompt, but I changed the action at the end

Editorial photo, Latina woman, mid 50s, glasses, green blouse, working on a computer in a modern office, looking at the monitor, typing
Four variations of images of the Latina character typing at a computer.

Click the “Use” button to generate additional consistent character images

Once you generate one variation with the right settings, it’s faster to generate additional images of the same character. Click the Use button on the right side to use the same prompt and character reference image again. This copies the prompt and image to the top so you can edit it.

The "Use" button in Midjourney

This time, I went for talking and gesturing with her hands.

Four images of the same character talking

Adjust the character weight to change clothes and hair

If you want to change the clothes and hair while keeping the facial characteristics consistent, use the character weight –cw property. The character weight is set to 100 by default, but you can turn it down to as low as 0. I used –cw 20 to change her shirt color in these images. You can see more variation in her hair as well.

Variations of character images in a maroon shirt talking in front of a whiteboard.

Tip: In these examples, I ended up with more variations looking directly at the camera than I really wanted. I think the problem is the pose in my original reference image. Try starting with a reference image in a more natural pose or using another pose as the reference image.

Variations of character images in a light blue t-shirt reading a book and cooking a meal.

Character generation fails

Just like searching for stock images means you have to wade through images that don’t meet your needs, sometimes Midjourney has images that don’t work. I tried getting an image of her pouring coffee in the office break room, but I wasn’t happy with any of the results. Even just showing her holding a cup of coffee ended up with a bunch of weird results–poor hand positions and unrealistic grips, cups the wrong size, bad hands, etc.

If I really needed this image for a project, I would have found an image reference with the right pose to include in the prompt. Since this is just for a blog post, I gave up on that prompt and switched to something else.

Images of the character pouring or drinking coffee, most of which have some sort of AI-generated flaw in them.

Try a white background to focus on expressions

Another option for creating character images is to put them on a white background. If you want to focus on the face and generating different expressions and emotions, this can be very effective. A solid color background makes it easier to place characters in a scene with other characters (something that is still tricky to do within Midjourney–but it can be done in other image editing tools and can potentially be done in other AI tools).

In this example, some of the images don’t look as much like the original character as others. Several of these could potentially work in a training scenario though.

Images of a Black man on a white background with different expressions and emotions.

Further reading

Midjourney has additional information in their documentation about how to use character references.

Check out my previous posts on generating images with Midjourney.

Leave a Comment

Your email address will not be published. Required fields are marked *