Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Kittensx authored Dec 10, 2024
1 parent 64ed6b8 commit e9c51cd
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 0 deletions.
55 changes: 55 additions & 0 deletions example1_grouped.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# **Example 1: Grouped vs Non-Grouped Prompts**

## **Overview**
This example demonstrates the impact of using grouping (`{}`) in prompts versus non-grouped prompts. Grouping treats multiple elements as a cohesive unit, balancing their presence in the generated image, whereas non-grouped prompts process each element independently, leading to varying levels of emphasis.

---

## **Prompt Details**

### **Image 1** (Grouped Prompt)
- **Prompt**: `{snowy mountain, clear lake, dense forest}`
- **Behavior**: Grouping treats all elements (`snowy mountain`, `clear lake`, and `dense forest`) as a cohesive unit.
- **Result**:
- The composition balances the visibility of all three elements.
- Snowy mountains dominate the background, the lake occupies the middle ground, and forests frame the scene evenly.
- Emphasis is distributed equally, creating a harmonious blend.

### **Image 2** (Non-Grouped Prompt)
- **Prompt**: `snowy mountain, clear lake, dense forest`
- **Behavior**: Elements are processed independently without treating them as a single unit.
- **Result**:
- The snowy mountain is prominently displayed in the center.
- The lake appears in the foreground with a less balanced representation of the forest.
- The scene emphasizes the mountain more strongly, reducing focus on other elements.

---

## **Comparison Table**

| **Aspect** | **Grouped (`{}`)** | **Non-Grouped** |
|-----------------------|----------------------------------------------------------|--------------------------------------------------------|
| **Mountain** | Present but balanced with other elements | Dominates the composition, central and visually strong |
| **Lake** | Blends harmoniously with other elements | More prominent in the foreground |
| **Forest** | Framed evenly on the sides, balanced with the mountain | Reduced visibility, primarily on the left |
| **Overall Balance** | Equal representation of all elements | Heavily focused on the mountain |
| **Visual Flow** | Smooth flow between elements | Clear hierarchy with mountain as the focal point |

---

## **How Grouping Affects Composition**

### **1. Grouping (`{}`)**
- Treats all specified elements as equally important.
- Creates a balanced composition where no single element dominates.
- Ensures that the viewer's attention is distributed across the entire image.

### **2. Non-Grouped**
- Processes elements independently, leading to varying levels of emphasis.
- The strongest element (`snowy mountain`) dominates, while others are less prominent.
- Results in a more hierarchical composition, which may focus on one or two elements.

---

## **Conclusion**
Grouping (`{}`) is ideal for creating balanced scenes with equal representation of all elements. In contrast, non-grouped prompts give more weight to dominant elements, leading to less visual harmony but potentially stronger focal points.
Binary file added example_images/01_Grouping/example 1_Grouped.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions example_images/01_Grouping/example 1_Grouped.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{snowy mountain, clear lake, dense forest}
Steps: 30, Sampler: DPM++ 2M, Schedule type: Karras Exponential, CFG scale: 7, Seed: 26067899193, Size: 768x512, Model hash: 7be8cfbcd2, Model: FusionX-Realistic_v3_float16, Denoising strength: 0.7, Clip skip: 2, Hypertile U-Net: True, Hires upscale: 2, Hires steps: 30, Hires upscaler: R-ESRGAN 4x+ Anime6B, Version: v1.10.1, Hashes: {"model": "7be8cfbcd2"}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions example_images/01_Grouping/example 1_UnGrouped.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
snowy mountain, clear lake, dense forest,
Steps: 30, Sampler: DPM++ 2M, Schedule type: Karras Exponential, CFG scale: 7, Seed: 26067899193, Size: 768x512, Model hash: 7be8cfbcd2, Model: FusionX-Realistic_v3_float16, Denoising strength: 0.7, Clip skip: 2, Hypertile U-Net: True, Hires upscale: 2, Hires steps: 30, Hires upscaler: R-ESRGAN 4x+ Anime6B, Version: v1.10.1, Hashes: {"model": "7be8cfbcd2"}

0 comments on commit e9c51cd

Please sign in to comment.