SuperAPI AI Directory

StylePile

A helper script for AUTOMATIC1111/stable-diffusion-webui. Basically a mix and match to quickly get different results without wasting a lot of time writing prompts.

Open website

About this tool

StylePile is a prompt generation assistance extension for AUTOMATIC1111/stable-diffusion-webui and its compatible forks, mainly used to mix and match prompt elements that influence the style of generated results. Its name comes from this purpose. By default, these elements are arranged in a specific order and assigned strength values, causing the generated results to evolve gradually. The author generated thousands of images for each major image type and adjusted the keywords to make the results match expectations as much as possible.

Main capabilities:

  • Provides dropdown options for image type, visual style, artist, mood, color, view, etc., allowing different styles to be quickly combined.
  • Visual styles are based on classic and modern painting, art, and design movements, can have a strong impact on the final result, and their influence strength can be adjusted with a slider.
  • The artist options currently provide 135 artists, 55 art styles, and 25 moods, with preview images.
  • Supports advanced workflows: use [X] and [R] variables in prompts. [X] takes values in order from the "Sequential prompts" text area, and [R] takes random values from the "Random prompts" text area, making it easy to batch-generate many different results.
  • The "Focus on" option at the bottom can add many elements to the prompt with one click, significantly affecting the final result; there are currently not many presets.

How to use:

  • Installation: copy the repository address https://github.com/some9000/StylePile , in SDUI's Extensions tab select Install from URL, and paste the URL into the extension git repository address field. If it fails, you can click the green Code button to download the ZIP, extract it, and place it in the stable-diffusion-webui\extensions\StylePile folder, ensuring that it contains the scripts and StylePile folders.
  • Important: if an older version was previously installed, you need to delete the StylePile.py file and the StylePile folder from the scripts directory to avoid conflicts.
  • After installation, it can be found in the Scripts dropdown menu in txt2img and img2img.
  • Basic workflow: first conceive the subject, then mix and match style elements through the dropdown menus. For example, selecting the Painting image type will mostly produce a painterly feel; Mood affects the overall look; Colors changes the color tone; View attempts to change the viewing angle, but the author points out that View is the least reliable keyword.
  • The strength preset is 1.3, which the author considers the golden ratio for obtaining good results. You can freely mix and match; classic painting styles and 3D effects influencing each other may be interesting, and photography paired with brighter, more artistic styles may also work well. Sometimes increasing CFG scale to 15, 20, or higher helps push the style more strongly.
  • In advanced workflows, Batch count iterates through the prompts, and Batch size sets how many copies are generated for a given prompt. If the seed is not random, it will increase stepwise with the batch; random elements are still selected randomly.

Applicable scenarios:

  • When you want to quickly explore different artistic styles and reduce the time spent manually writing and searching for style keywords.
  • When you need to batch-generate many style variations for inspiration exploration or learning Stable Diffusion.
  • When using img2img together with the Focus option to quickly adjust the style of an existing image.

Limitations and notes:

  • The author explicitly states that this is not a magic tool that can overcome all the difficulties of Stable Diffusion, and some results may be unsatisfactory.
  • Not all adjustments apply to all prompts; for example, Robots adjustments do not work well with knight prompts.
  • Visual style strength above 1.5 may start to become chaotic.
  • The manual is currently incomplete and does not explain the variable functions, but the author believes these functions should be self-explanatory.
  • Requires AUTOMATIC1111/stable-diffusion-webui or a compatible fork environment.