Introducing nai_smea & higher Image Generation Resolutions!

Anlatan
4 min readFeb 21, 2023

Today we’re excited to announce a new set of NovelAIDiffusion Image Generation Samplers: nai_smea & nai_smea_dyn — The Hi-res connoisseurs’ choice as well as Higher Resolution Limits!

First, the image resolution limit has been expanded to 2048 pixels x 1536 pixels!

We’ve also added new options to the Resolution dropdowns:
LARGE+
Portrait (1024x1536)
Landscape (1536x1024)
Square (1472x1472)

WALLPAPER
Portrait (1088x1920)
Landscape (1920x1088)

The following adjustments were made to the pre-existing options
Large Portrait 512x1024 -> 832x1280
Large Landscape 1024x512 -> 1280x832

We highly recommend using our newest samplers, nai_smea & nai_smea_dyn, for larger images:

What is nai smea?
Sinusoidal Multipass Euler Ancestral (smea) is a new sampler we have developed with the goal of improving overall coherency and quality, especially at higher resolutions. Based on the Euler ancestral sampler, we create a new sine-based schedule that interpolates between multiple passes of the regular diffusion model as sampling progresses. This approach ensures that SD attends to both local and global features. Oftentimes when sampling at higher resolutions with the conventional samplers, SD can produce repeats of the same subjects or bizarre anatomy, this is largely due to poor global attention at higher resolutions, and smea aims to solve that.

nai_smea & nai_smea_dyn are perfect for higher resolutions!

Twins & triplets begone! Nai_smea is meant to alleviate repeats and anatomical oddities.

Difference between nai_smea & nai_smea_dyn

The differences between the two new samplers are most obvious when higher image resolutions are used. nai_smea_dyn focuses less time on lower generations and begins to shine dynamically in the mid to high range of a generation. We’ve noticed slightly more refined compositions. Ultimately, the effectiveness of each sampler will depend on the specific use case and image resolution.

Pricing:
Why is nai smea more expensive?
Nai_smea runs multiple passes of the unet during each step, it costs slightly more than the other samplers based on the increased compute cost. The increase is relative to the increased amount of time it takes the GPU to process a request.

Auto nai_smea Option

We’ve even added a nifty option to Auto Apply nai_smea for images over 1024x1024 and above pixels. You can toggle this setting as needed — so you still have the option to experiment to your heart’s content with other samplers!

Tips:
The nai-smea & nai_smea_dyn sampler generations vary between the different Step and Scale counts.

The nai_smea & nai_smea_dyn sampler Scale values can go much higher before becoming unpredictable. You may want to increase the Scale value if you are generating at higher resolutions.

If you have a particularly short prompt that seemingly performs badly please try copy-pasting it into the prompt field repeatedly. We’ve noted that this can solve issues during testing.

Sometimes the sampler may focus on different aspects of your prompt that differ from the previous defaults:
You can alleviate this with emphasis and de-emphasizing aspects of your prompt.

We recommend experimentation to find your preferred values with the new samplers!

Some images were generated with an in-testing model.

Get ready to see your world in stunning detail, and let your imagination run wild with the endless possibilities of nai_smea and higher resolutions!
We can’t wait to see what new masterpieces you create.

--

--

novelai.net Driven by AI, painlessly construct unique stories, thrilling tales, seductive romances, or just fool around. Anything goes!