Midjourney Style and SREF Codes | Professor Bear AI Art Series
Every image in this series is generated with Midjourney using Style Reference and Personalization codes, and this episode breaks down what each one does and how to combine them.
Getting a consistent look out of Midjourney used to mean a lot of trial and error, retyping prompts and hoping the vibe landed close to what came before. Style Reference codes and Personalization profiles change that, and after a year spent generating thousands of these codes, testing, tweaking, and discarding most of them, Professor Bear walks through exactly what they are and how to use them.
What Style Reference (SREF) actually does
Think of SREF as borrowing the vibe of an image without copying it directly. You are telling Midjourney "I like these colors, this lighting, these textures" and applying that energy to a new image. The advantage over uploading a reference image every time is that once you have a code, you just paste it into future prompts. No re-uploading, no re-selecting a source image.
Finding new styles with sref random
Typing --sref random has Midjourney pull a surprise style from its own library. Once it finishes generating, you get a code you can save and reuse indefinitely. Running --sref random repeatedly is a genuine way to discover new styles you would not have thought to search for on your own, closer to hunting for something unexpected than searching for something specific.
Controlling strength with --sw
The --sw parameter, set anywhere from 0 to 1000, controls how strongly a style reference influences the final image. Higher numbers push the style to dominate the result, while lower numbers add just a hint of it without overwhelming the rest of the prompt.
Personalization profiles
Personalization works differently from SREF. Instead of borrowing from an existing image, you teach Midjourney your own taste by ranking image pairs and building moodboards. You can maintain separate profiles for different aesthetics, such as fantasy, hyperreal photography, or Art Deco, each with its own code. Adding a profile's code to a prompt with --p tells Midjourney exactly what look you are going for, and like style reference, the strength of that influence can be controlled through the stylize setting.
Combining SREF and Personalization
The most powerful results come from mixing a Style Reference code with a Personalization profile in the same prompt. That combination pulls from an established, tested style while also layering in your own trained taste, effectively blending two distinct influences into one image. This combined method is what has been refined across the thousands of codes built up over the past year, and it produces a noticeably more consistent look, which also carries over well into AI video projects that need visual continuity across multiple generated frames.
Key takeaways
- SREF codes let you borrow the color, lighting, and texture of a reference image without re-uploading it in every prompt.
--sref randomgenerates a surprise style code from Midjourney's library, which you can save and reuse.- The
--swparameter, from 0 to 1000, controls how dominant a style reference is in the final image. - Personalization profiles are trained by ranking image pairs and building moodboards, and are applied to prompts with
--p. - Combining a Style Reference code with a Personalization profile in one prompt produces the most consistent, refined results.
- Consistent styling from these codes also helps maintain visual continuity across AI video projects.
Who this is for
This is for Midjourney users who want to move past one-off prompting and build a repeatable visual identity for their projects, whether for still images or AI video. It is part of Professor Bear's ongoing AI Art series from Humanitarians AI, with new codes shared regularly on the channel.
Full transcript(auto-generated, with timestamps)
[0:00]Hey, every image in this video is generated with a personalization code or SRF code or a combo using MidJourney. In this series, I'll show each style in a YouTube short with the codes in the description of the video. Basically, if you like a code, try it. So, um, today we're going to get into something that honestly will change the way you use MidJourney forever. We're talking about style reference codes and personalization profiles, two tools that I have absolutely obsessed over. Now, here's the thing. Over the last year, I have created not hundreds, not even just a lot. I'm talking thousands of these codes. Yeah, thousands. I've tested
[0:41]Them, tweaked them, thrown some away, kept the best, and I'm going to be sharing them right here on my channel, so you can skip the trial and error, and just plug them in. These codes also allow you to get a much more consistent look for AI video. All right, let's start with style reference or S R EF. Think of it like borrowing the vibe of an image, not copying it. You're just saying, "Hey, I like the colors, the lighting, the texture. Give me that energy in my new image." The cool part, you don't need to upload the same reference every time. You just paste the
[1:16]Code. Done. If you type SRF random midjourney grabs a surprise style from its own secret stash and when it's done you get a code. Save it. Use it forever. And me? I've run surf random over and over just to find new gems. It's like hunting for rare Pokémon but for art styles. Oh, and you can totally dial up or down how strong that style is with SW and a number from 0 to 1,000. Big number, the style takes over. Small number, just a hint. Now personalization profiles. You teach midjourney your taste by ranking image pairs, making mood boards, basically saying, "Yep, I love this." Nope, not that. It learns.
[2:07]You can have a profile for fantasy, another for hyperreal photography, another for I don't know, art deco, Hello Kitty, if that is what you like. Each profile gets its own code. Add it to your prompt with double dashp and boom, midjourney knows the look you want. And yeah, you can control how strong that is with the stylized setting, too. But here's where the magic really happens. You mix a style reference with your personalization profile in the same prompt. Now you're pulling from an established style and your own taste. It's like having two famous artists drawing the same picture. That's the method I've been refining with my thousands of codes. And every
[2:51]Week I'll be dropping more of them for you to try, remix, and make your own. So play with them. Mix them with your personalization profiles. And if you want access to the full library I've built, hit subscribe, ring that bell. This is Professor Bear and I'll see you in the next one.
More videos
2:08Bridging the Pixel Gap in Browser Automation.
2:23How One Narrow Safety Rule Can Make an AI Less Safe Everywhere Else.
2:04Why splitting a chunk from its document makes it retrieve for the wrong question
4:20Three You Can Take Back. One You Can't.
2:21Why a 50-turn agent pays for the same screenshot 35 times unless it caches the pixels
1:53