Tags:

Introduction
After years of using Stable Diffusion XL, many people are trying Anima and LLM based models for the first time. They are running into a problem that they didn’t know wasn’t a feature of using generative models.
Artist mixing, that is, using two or more artist in a prompt, is a consequence of the nature of CLIP based models like Stable Diffusion XL. CLIP treats each token somewhat independently, while LLM based models, like Anima, treats prompts similar to natural language with each token having a relationship to each other.
When tokens are treated independently, the artist tokens are given similar importance in the prompt, which allows the tokens to blend together. In an LLM model, the meaning of the prompt is given the most importance. On top of that, the order of the prompt is very important. If you use two or more artist, more than likely the first or the one that has the most trained data will dominate the image style.
So does this mean we will have to say goodbye to any artist mixing with the newer models? Well, there might be a solution using a old method.
It’s called Prompt Editing.
Prompt Editing allows you to swap tokens while your image is sampling steps. Basically, this will allow us to swap out artist tags during the image generation process. This should, in theory, allow us to mix artist styles with fine precision.
For this to work I am using Forge Neo. I don’t know if it works in Comfy or any other tool.
The three artist/styles we will be testing our mixing with are harada takehito, orion (orionproject), and minaba hideo. The base will be Anima Preview 3 with my lora MeMaAni as a sort of quality control. (don’t worry, the artist influence will still be visible)
Base Settings
Let’s first start with an image of just the lora with no artist.

<lora:MeMaAni_P3_V1:1>, masterpiece, newest, best quality, very aesthetic, 1girl, blurry, blurry background, bouquet, bridal veil, bride, choppy bangs, closed mouth, collarbone, dress, earrings, hair between eyes, holding, holding bouquet, jewelry, light blush, long hair, long sidelocks, looking at viewer, necklace, off-shoulder dress, off shoulder, purple eyes, purple hair, sidelocks, smile, solo, straight-on, veil, very long hair, wedding dress,
Method: DPM2
Schedule: Beta
Steps: 25
Seed: 2831270654
Now, let’s see the artist so you can get an idea of what each one looks like.
harada takehito

orion (orionproject)

minaba hideo

Mixing – harada + orion
Okay, now that we’ve established each style, let’s try and mix two with the traditional method of simply listing the images. Here is harada takehito and orion (orionproject).

Humm….not bad, but it looks more like orion than harada. What if I wanted more harada? Let’s try decreasing orion’s weight by 0.5.

That didn’t change much….
Let’s try a different approach. We will use the Prompt Editing feature called [from:to:when]. Artist 1 will change into artist 2 at X percentage of sampling steps. In our example below, will we have harada change into orion at 50% of sampling steps.

Now that looks a lot more like harada. That is because I used him as my starting style. Now let’s insert more orion by changing the percentage of when the swapping happens from 50% to 25%.

As you can see, The base composition from harada doesn’t change, but the style shifted strongly towards orion since it spent the most time present during the sampling process. Now let’s change the base artists, we’ll make orion the base with a 25% sampling swap.

Would you look at that, it looks a lot more like harada, but with some unique influences from orion.
Now let’s try something really wild. We’re going to introduce both artist at 25% of the process using [to:when] as well as Alternating Words [tag 1|tag 2].
[to:when] adds a tag to the prompt at a specific step or percentage. Alternating Words simply swaps between multiple tags every step. Since we’ll be starting with no artist, the default style will be the base.
In order to do this, I’ll have to nest [tag 1|tag 2] into [to:when], like so : [[harada|orion]:0.25]
Yes, you can nest Prompt Editing into each other, which is why it’s such a powerful feature.

The process went like this: Base–>25% reached –> swapping between harada and orion the remaining steps.
Mixing – minaba + harada + orion
Now let’s try mixing all 3 artist using the traditional method of just listing them all.

It’s kind of hard to tell where the influence of each artist is present.
Now let’s try mixing all three artist with minaba as the base, followed by orion popping in and out at 30%/60% and then finishing it off with harada from 60% to 100%. It will function something like this.
[remove minaba::30%] [[add orion:30%]remove::60%] [add harada:60%]
This is the result.

This is the same 3 artist used in the traditional mix from the image before this one, but with much different results. You can swap, change, rearrange the artists and numbers however you like.
You don’t have to limit this to artist, you can manipulate any tag in the prompt like this, but unfortunately, this doesn’t work with loras.



