# Import necessary libraries from stable_diffusion import StableDiffusionPipelin

Generation Data
Records
Prompts
Copy
# Import necessary libraries
from stable_diffusion import StableDiffusionPipeline
import torch
from PIL import Image
# Configure Stable Diffusion
pipe = StableDiffusionPipeline
.
from_pretrained("stable-diffusion-v1-4")
# Define the prompt
prompt = (
"A private party scene with an elegant and luxurious atmosphere
.
The setting includes a sophisticated
,
high-end venue with dim
,
ambient lighting and tasteful decorations
.
"
"In the midst of the party
,
an organizer and their partner find a private moment for intimacy
.
They are depicted in an intimate 69 position
,
showing passion and connection
.
"
"Around them
,
the party continues with guests engaged in lively discussions and celebrations
.
The overall mood captures the contrast between the intimate moment and the festive atmosphere of the party
.
"
)
# Configuration settings
tile_mode = "none" # Disable tiling generation
clip_guidance_scale = 18 # Strong adherence to the prompt
clip_guidance_dropout = 0
.
05 # Slight variations for realism
hr_scale = 3
.
0 # High-resolution scaling for detailed textures
hr_upscaler = "R-ESRGAN" # High-quality upscaling
latent_shift = torch
.
randn(1
,
4
,
64
,
64) * 0
.
02 # Subtle latent space adjustments
prompt_weighting = (
"Private party scene with luxurious atmosphere::1
.
8 | Elegant venue with dim ambient lighting::1
.
7 | "
"Organizer and partner in intimate 69 position::1
.
9 | Guests engaged in lively discussions::1
.
7 | "
"Contrast between intimate moment and festive atmosphere::1
.
8"
) # Weight for enhancing key elements
cross_attention_strength = 1
.
0 # Maximum detail on interactions and elements
symmetry = "none" # No symmetry to reflect natural scenes
symmetry_loss_weight = 0
.
1 # Minimal impact of symmetry
reference_image = None # No reference image needed
color_match_strength = 0
.
85 # Harmonious blending of colors
perlin_noise_scale = 0
.
1 # Low Perlin noise for smooth textures
fractal_noise = False # Disable fractal noise
depth_map = None # No depth map n
INFO
Checkpoint & LoRA

Checkpoint
SeaArt Infinity
#Realistic
#SeaArt Infinity
0 comment
0
0
0