# 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 man and a woman lying side by side
,
their hands gently resting on a large Bitcoin coin between them
.
"
"The scene is softly lit
,
emphasizing the closeness between the two individuals
.
"
"The man and woman are dressed in casual
,
comfortable clothing
,
with a serene expression on their faces
.
"
"The Bitcoin coin is prominently placed in the center
,
symbolizing a shared connection or bond
.
"
"The background is minimalistic
,
with soft gradients and subtle textures
,
allowing the focus to remain on the couple and the Bitcoin coin
.
"
)
# Configuration settings
tile_mode = "none" # Disable tiling generation
clip_guidance_scale = 15 # Strengthen focus on the couple and the Bitcoin coin
clip_guidance_dropout = 0
.
04 # Slight variations for natural lighting effects
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 = (
"Man and woman lying side by side::1
.
6 | Hands resting on Bitcoin coin::1
.
7 | "
"Soft lighting::1
.
6 | Casual
,
comfortable clothing::1
.
5 | Serene expressions::1
.
6 | "
"Minimalistic background::1
.
5"
) # Weight for enhancing key elements
cross_attention_strength = 1
.
0 # Maximum detail for focus on the subjects and coin
symmetry = "none" # No symmetry to maintain a natural
,
intimate pose
symmetry_loss_weight = 0
.
1 # Minimal impact of symmetry
reference_image = None # No reference image needed
color_match_strength = 0
.
85 # Harmonious color blending
perlin_noise_scale = 0
.
2 # Low Perlin noise for subtle texture
fractal_noise = False # Disable fractal noise
depth_map = None # No depth map needed
parallax_effect = Fals
INFO
Checkpoint & LoRA

Checkpoint
SeaArt Infinity
#SeaArt Infinity
0 comment
0
0
0