top of page



Danger Girl X Box Logo

Real girls, shaped by real experiences, form the heart of the DangerVerse: a mature, neo-noir cinematic universe teeming with captivating narratives and danger.


Maximize Your Workflow Efficiency: Pre-Planning with Stable Diffusion's XYZ Plot Image Grid

Updated: Aug 13

Redhead with  green eyes and an xyz tattoo

Successful AI creations hinge not only on talent, but also on the effective use of sophisticated tools. Among them, the XYZ Plot of Stable Diffusion shines bright. This tool streamlines your creative process, offering a tangible roadmap for your AI visual generation.

How do you use XYZ plot in Stable Diffusion?

The XYZ plot, found in the 'Script' dropdown menu within the A1111 Web UI, enables the creation of a grid, comprised of images set using various parameters. This allows for a comprehensive exploration of diverse outputs simultaneously, utilizing differing settings. Consider the XYZ Plot as a creative compass. It allows you to map out an array of AI-generated image variations, providing a clearer direction for your project. Much like a filmmaker drafting an outline of scenes, the XYZ Plot serves as a strategic blueprint, presenting a matrix of potential image outcomes based on diverse parameters. For a thorough and detailed guide on how to utilize the XYZ plot in Stable Diffusion, continue reading. This will provide a comprehensive breakdown.

The Pre-Production Stage

The real strength of the XYZ Plot lies in its efficiency. Instead of laboring over each parameter individually, this tool enables a simultaneous generation of myriad possibilities. It's about working smart: saving time, conserving energy, and making deliberate creative decisions.

This guide will take you through the nuts and bolts of using the XYZ Plot within Stable Diffusion. The goal is to make it an integral part of your pre-production process, enabling you to work smarter and elevate your AI creations.

Let the training begin!

Table of Contents:


  1. The Role of the XYZ Plot

  2. Accessing the XYZ Plot a. Step 1: Accessing the XYZ Plot b. Step 2: XYZ Type Selection c. Step 3: XYZ Values d. Step 4: Generation

  3. Understanding the XYZ Plot Options

  4. XYZ Plot Walkthrough a. In the XYZ type fields, we select 3 of these: 1. Consistent Seed Values 2. Use Steps in Sections or Increments 3. CFG Scale 4. Sampler b. Easy Guide - Recreate My Results in Simple Steps c. Entering Prompts under 'txtimg' Section d. Settings for Image Prompt e. Final Output of X/Y/Z Plot Image Grid f. To Download the Grid b. Exploring Variations with the Image Matrix

  5. Analyzing the Image Matrix a. Make More Informed Choices

  6. Why Experimentation Matters a. Understand Your Parameters

  7. Conclusion a. More Efficient Workflow

  8. Upcoming Tutorials and Guides

Extreme close up of a woman's eyes

The Role Stable Diffusion's XYZ Plot

The XYZ Plot serves a critical role in the AI creative process, acting as an indispensable tool for visualizing multiple image variations. Much like an explorer uses a map to understand the terrain and plan the best route, an AI artist employs the XYZ Plot to navigate the vast landscape of potential image outcomes.

The beauty of the XYZ Plot is its ability to streamline your creative exploration. Rather than manually testing each parameter one by one, this tool generates a grid of images based on your chosen parameters. This not only saves significant time and computational resources, but it also provides a visual catalog of options, from which you can select the most compelling results.

In essence, the XYZ Plot allows for strategic pre-planning, taking much of the guesswork out of AI image generation. It transforms an often time-consuming trial-and-error process into a manageable, efficient exploration, ensuring that your valuable time and effort are focused on creating the best possible AI art.

Accessing the XYZ Plot

Where to find XYZ Plot in Scripts Automatic1111
Located in the "Scripts" drop down menu at the bottom of the Web UI

To truly appreciate the power of the XYZ Plot, let's take a step-by-step walk through its interface and usage:

Step 1: Accessing the XYZ Plot

The journey begins within the Stable Diffusion's Automatic1111 Web UI.

In the "Scripts" drop-down menu select the "X/Y/Z plot" script. This is your portal into the comprehensive exploration that the XYZ Plot offers.

Step 2: XYZ Type Selection

Once inside, you'll see the X, Y, and Z type fields. These represent the three parameters you'd like to explore simultaneously. Each selection offers a rich variety of options, including 'Seed', 'Steps', 'CFG Scale', 'Sampler', and more.

Step 3: XYZ Values

To the right of each XYZ type field, you'll find the corresponding values. These will depend on the parameter chosen in the previous step.

For instance, if you've selected 'Steps' as a type, you'll input the values of the steps you're interested in examining.

If 'Sampler' is your choice, you'll choose from a drop-down list of samplers.

Step 4: Generation

With your parameters and values set, it's time for the magic to happen. The XYZ Plot will generate an image matrix that represents all possible combinations of your selected parameters and values. The result is a powerful visual catalog, providing an at-a-glance overview of your image variations.

Remember, the XYZ Plot isn't just a tool for exploration, it's a strategic pre-planning mechanism that maximizes your workflow efficiency. By helping you understand the potential outcomes before you dive into the image generation process, it saves time, reduces computational load, and ensures that you're putting your effort where it matters most – creating captivating AI art.

  • If you have additional extensions installed, such as ADetailer and ControlNet, you'll see even more choices. Your selection here should align with the parameters you're interested in exploring. Tutorials for ADetailer and ControlNet Coming Soon.


Understanding the XYZ Plot Options

Having taken you through accessing the XYZ Plot and how to select and assign values to your chosen parameters, let's dive deeper into understanding the various options at your disposal.

For instance, there's a yellow square on the far right of the Z values. If you've selected 'Sampler' as a type, clicking on this square will select all the sampler types available and select it too. This applies to all types that have different subsections of parameters.

Each Sampler Type you come across represents a distinct way the AI will manipulate your image during the generation process. The variations can be subtle or more pronounced, and each one offers a unique touch to the final output. You might find some samplers are more suited to specific artistic intentions than others, reinforcing the importance of familiarizing yourself with the available options.

Exploring these additional options opens up a new level of flexibility and customization.. However, like most artistic tools, they are best understood through practice and experimentation. So, don't be afraid to play around with different XYZ types and values, and observe their effects on your image matrix.

As you experiment, you'll start to understand how each option alters your outputs, enabling you to make more informed decisions and refine your artwork further.

XYZ Plot Walkthrough

In the previous sections, we've covered the core elements of the XYZ Plot - the what, the why, and the how. Now, let's walk through an example to put these concepts into practice.

Let's say we want to explore how different seed values influence our image, while also playing with the number of steps taken in the image generation process and the configuration scale.

In the XYZ type fields, we select 3 of these at a time:

  • Nothing

  • Seed

  • Var.seed

  • Steps

  • Hires steps

  • CFG Scale


  • Prompt order

  • Sampler

  • Checkpoint name

  • Negative Guidance minimum sigma sigma

  • Churn Sigma min

  • Sigma max sigma noise

  • Eta Clip skip

  • Denoising

  • Hires upscaler

  • VAE Styles

  • UniPC Order

  • Face restore Token merging ratio

  • Token Merging ratio high-res

We'll focus on the combinations I use most frequently within the X/Y/Z Plot: Steps, CFG Scale, and Sampler. While many other options exist and new tools are continually added, testing them for optimal results is key. I encourage you to explore these further on your own.


1. Consistent Seed Values

Typically, when focusing on assessing image quality, I prefer not to change the 'Seed' parameter too frequently. The reason being, varying the seed can significantly alter the image, making it more challenging to directly compare the impact of other variables. Instead, I find it most effective to maintain a consistent seed number while testing different variables. This approach provides a more controlled environment for split testing and allows for a clear evaluation of how each parameter modification affects the final output.

2. Use Steps in Sections or Increments

The 'Steps' parameter in the XYZ Plot ranges from 1 to 150, representing the iterations the model goes through to render an image. Testing this full range can be demanding on your GPU and might not necessarily improve image quality. Therefore, it's often recommended to test in increments or phases. Remember, higher step counts may not always yield better results - they could introduce noise or artifacts. Conversely, a step count of 1 can lead to underdeveloped images. It's about finding a balance that fits your artistic vision and hardware capabilities.

3. CFG Scale

The 'CFG', short for Classifier Free Guidance, operates as a scale between 1 and 30. It acts as the steering wheel for your prompts, controlling how strictly Stable Diffusion adheres to your text prompt in both text-to-image and image-to-image tasks. A higher CFG scale means the AI holds tighter to your input prompt, while a lower value provides more room for the AI to interpret your prompt loosely. The optimal value depends entirely on your specific project and artistic intent.

After inputting our parameters and their corresponding values, we click 'Generate'. The XYZ Plot then creates an image matrix showcasing all possible combinations of these values.

In the image matrix, we can immediately see how each parameter influences our image output. As we vary the seed, we observe the overall structure and composition of the image changing. Modifying the steps alters the level of detail in the image, while playing with the CFG scale results in changes in color saturation and contrast.

4. Sampler

'Sampling Method' in Automatic1111 steers how your AI constructs visuals from your prompts, akin to a blueprint shaping a building's design. I use different samplers on the XYZ plot, providing a visual demo of each blueprint's result. Once I find a sampler that fits my vision, I consistently use it for the rest of my image generation process.

  • Related - In Depth Explanation of all the Sampling Methods.


Easy Guide - Recreate My Results in Simple Steps

Even if you don't have my Nvidia 3090 GTX card, just scale down my steps by half. To replicate my work, download the final version of the Juggernaut Model.

  1. Download: Juggernaut Model (The Final Version)

  2. Download vae-ft-mse-840000-ema-pruned.ckpt

  3. Stable Diffusion checkpoint - Switch to the juggernaut_final.safesensors Model

  4. SD VAE - Switch to vae-ft-mse-840000-ema-pruned.ckpt

Entering Prompts under 'txtimg' Section


mugshot of adult star, natural skin texture, blue eyes, (red hair translucency)+, sss Tom Bagshaw, Zdzislaw Beksinski, Yoshitaka Amano, Raffaello Ossola, Martin Wittfooth, Luigi Spano, Vladimir Kush :: stunning interpretive visual

​Negative Prompts:

(worst quality, low quality, normal quality, lowres, low details, oversaturated, undersaturated, overexposed, underexposed, grayscale, bw, bad photo, bad photography, bad art)++++, (watermark, signature, text font, username, error, logo, words, letters, digits, autograph, trademark, name)+, (blur, blurry, grainy), morbid, ugly, asymmetrical, mutated malformed, mutilated, poorly lit, bad shadow, draft, cropped, out of frame, cut off, censored, jpeg artifacts, out of focus, glitch, duplicate, (airbrushed, cartoon, anime, semi-realistic, cgi, render, blender, digital art, manga, amateur)++, (3D ,3D Game, 3D Game Scene, 3D Character), (bad hands, bad anatomy, bad body, bad face, bad teeth, bad arms, bad legs, deformities)++

Settings for Image Prompt

Settings for Image Prompt

​Height x Width

512 x 512




X/Y/Z plot

​X type - CFG Scale

X values - 5, 10, 15, 20, 25, 30

Y type - Steps

Y values - 20, 30, 40, 50, 60, 70, 80, 100

​Z type - Sampler

Z values - Eula a, Heun

​Draw Legend - Must be checked to see info

Grid margins (px) - 2

Final Output of X/Y/Z Plot Image Grid

XYZ Plot Image Grid of Red Head Portrait in Eula A and Heun Samplers
Click on this image to see the Full Size.

To Download the Grid

1. Select the image grid to make the 'save' button visible on the top left.

The Disk save icon in  automatic1111
After Clicking Image Grid, The Black Screen will appear.

2. The 'download' button will appear beneath the 'send extras' button.

Download Button
Click 'Download' and the Grid will be Downloaded to your Download Folder

Exploring Variations with the Image Matrix

The XYZ Plot's magic lies in its ability to reveal all these variations in one glance. By spending time studying the image matrix, we begin to understand how changing our parameters influences the final output. As a result, we gain a deeper understanding of the creative possibilities within Stable Diffusion and how to better direct our art generation process.

As you gain more experience and continue experimenting, this walkthrough will start to feel like second nature. You'll begin to intuitively understand how different parameters interact, which ones drive the most significant changes, and how to leverage the XYZ Plot tool to create the most compelling image.

Analyzing the Image Matrix

The Image Matrix generated by the XYZ Plot is a rich visual summary of your image possibilities. This grid serves as a map, each cell containing a unique combination of your chosen parameters and their values.

Understanding and interpreting this Image Matrix is straightforward. The X, Y, and Z axes correspond to the three parameters you chose during setup. Each cell in the grid represents a unique combination of those parameters.

Make More Informed Choices

By examining the images in the grid, you can see how altering the parameters changes the output. You might notice that varying one parameter produces a more dramatic effect than another, or that certain combinations yield particularly interesting results. These insights allow you to make more informed choices when generating new images.

Take your time to study the Image Matrix carefully. Look for patterns and trends in the images. Which combinations yield the most appealing results? Which don't work quite as well? Use these observations to refine your approach.

Remember, the Image Matrix isn't just a visual spectacle – it's a powerful tool that lets you peer into the potential of your AI art before committing time and computational resources to its creation. It's all about helping you work smarter, not harder, in your journey to create mesmerizing AI artwork.

Why Experimentation Matters

Experimentation is at the heart of any creative endeavor, and this is especially true when working with scripts like the XYZ Plot in Stable Diffusion. With an incredible variety of parameters at your disposal, the potential for unique and innovative art is massive. However, finding the combinations that yield the most captivating results often requires a process of trial and error.

The XYZ Plot is a powerful tool for this type of experimentation. It allows you to rapidly test different parameter combinations and immediately see their impact on the generated images. It's like having a crystal ball that shows you the potential outcomes before you dive deep into generating the images.

Understand Your Parameters

Experimenting with the XYZ Plot helps you gain a deeper understanding of the interaction between parameters. You'll start noticing how certain values drastically change the output, while others have a more subtle effect. This knowledge is valuable as it influence you to make more informed decisions in your creative process.

Play around, try out different combinations, and let your curiosity guide you. After all, the greatest discoveries often happen when we venture off the beaten path.

Extreme Close up of a woman's lips


Using the power of Stable Diffusion's XYZ Plot tool can transform the way you approach AI image generation. By providing a comprehensive grid of image variations, it not only saves valuable time but also opens up a realm of possibilities for experimentation and discovery.

Remember, this tool is all about exploration and understanding the nuances of different parameter combinations. It allows you to refine your AI art process, enabling you to produce desired results with increased efficiency and precision. As you familiarize yourself with the tool, you'll start to notice patterns and develop a deeper understanding of how to manipulate parameters to create the artwork you envision.

More Efficient Workflow

In the end, the XYZ Plot in Stable Diffusion isn't just about making your workflow more efficient. It's about expanding your creative horizons and giving you the power to push the boundaries of what's possible in AI-generated art.

So don't hesitate. Learn to use the XYZ plot, experiment with parameters, analyze the image matrices, and above all, have fun with what open-source AI technology has to offer.

Upcoming Tutorials and Guides

​With the wealth of options and parameters Stable Diffusion presents, there's always more to learn and experiment with. This guide is your foundation, your first step into a larger world of AI production. But we're not stopping here. In the upcoming tutorials and guides, we plan to go deeper in the rabbit hole and unravel the myriad possibilities Stable Diffusion offers. We'll provide you with additional insights on features like ControlNet, ADetailer, Checkpoint Merger, and many more. Whether you're just starting out or you're a seasoned AI artist looking for new techniques and perspectives, we have got you covered. Our aim is to ensure that you get the most out of your AI art creation learning, armed with all the knowledge you need to push your content to its limits. Stay tuned, keep experimenting, and above all, continue creating! We'll be back soon with more AI art tutorials and guides designed to level up your skills and broaden your creative horizons.


Got a question or Requests? Leave a comment below to let me know if this information becomes outdated. I will do my best to keep this blog updated as time goes on.

Stay up to date with what's happening with Stability AI and Stable Diffusion.


Learning Stable Diffusion 101:

Learn how to use Stable Diffusion and much more. Visit the link below-

1,116 views0 comments

Are you an influential force seeking powerful collaborations? Or perhaps an emerging athlete, eager to etch your story?

Polaroids raining on a fitness model in white lingerie.jpg

Thanks for subscribing!