# Import necessary libraries from stable_diffusion import StableDiffusionPipelin


# 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 couple wrapped in silk sheets, with the Bitcoin logo subtly appearing as a pattern on the fabric. " "The scene is intimate and luxurious, with the soft silk sheets enveloping the couple, creating a sense of closeness and warmth. " "The Bitcoin logo is woven into the fabric, blending seamlessly with the silk, and is visible without being overly prominent. " "The lighting is soft, enhancing the smooth texture of the silk and the gentle expressions of the couple. " "The background is blurred to keep the focus on the couple and the detailed silk pattern, creating a serene and elegant mood." ) # Configuration settings tile_mode = "none" # Disable tiling generation clip_guidance_scale = 15 # Strengthen adherence to the prompt clip_guidance_dropout = 0.05 # Subtle 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 = ( "Couple wrapped in silk sheets::1.7 | Bitcoin logo subtly patterned on fabric::1.6 | " "Intimate and luxurious atmosphere::1.7 | Soft, flattering lighting::1.6 | " "Focus on couple and silk texture::1.6 | Serene and elegant mood::1.7" ) # Weight for enhancing key elements cross_attention_strength = 1.0 # Maximum detail for the couple and the silk symmetry = "none" # No symmetry to maintain natural positioning symmetry_loss_weight = 0.1 # Minimal impact of symmetry reference_image = None # No reference image needed color_match_strength = 0.85 # Harmonious blending perlin_noise_scale = 0.1 # Low Perlin noise for subtle texture fractal_noise = False # Disable fractal noise depth_map = N
Подсказки
Копировать подсказки
# 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 couple wrapped in silk sheets
,
with the Bitcoin logo subtly appearing as a pattern on the fabric
.
"
"The scene is intimate and luxurious
,
with the soft silk sheets enveloping the couple
,
creating a sense of closeness and warmth
.
"
"The Bitcoin logo is woven into the fabric
,
blending seamlessly with the silk
,
and is visible without being overly prominent
.
"
"The lighting is soft
,
enhancing the smooth texture of the silk and the gentle expressions of the couple
.
"
"The background is blurred to keep the focus on the couple and the detailed silk pattern
,
creating a serene and elegant mood
.
"
)
# Configuration settings
tile_mode = "none" # Disable tiling generation
clip_guidance_scale = 15 # Strengthen adherence to the prompt
clip_guidance_dropout = 0
.
05 # Subtle 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 = (
"Couple wrapped in silk sheets::1
.
7 | Bitcoin logo subtly patterned on fabric::1
.
6 | "
"Intimate and luxurious atmosphere::1
.
7 | Soft
,
flattering lighting::1
.
6 | "
"Focus on couple and silk texture::1
.
6 | Serene and elegant mood::1
.
7"
) # Weight for enhancing key elements
cross_attention_strength = 1
.
0 # Maximum detail for the couple and the silk
symmetry = "none" # No symmetry to maintain natural positioning
symmetry_loss_weight = 0
.
1 # Minimal impact of symmetry
reference_image = None # No reference image needed
color_match_strength = 0
.
85 # Harmonious blending
perlin_noise_scale = 0
.
1 # Low Perlin noise for subtle texture
fractal_noise = False # Disable fractal noise
depth_map = N
Информация
Checkpoint & LoRA

Checkpoint
SeaArt Infinity
#SeaArt Infinity
0 комментариев
0
0
0