From stable_diffusion import StableDiffusionPipeline import torch from PIL impor

創作參數
記錄
提示詞
復製
from stable_diffusion import StableDiffusionPipeline
import torch
from PIL import Image
# Load the Stable Diffusion model
pipe = StableDiffusionPipeline
.
from_pretrained("stable-diffusion-v1-4")
# Define the prompt with a vibrant and playful interaction and Bitcoin theme
prompt = (
"A vibrant and joyful portrait photograph of a woman standing outdoors amidst dense greenery
.
"
"The subject is centered in the frame
,
smiling broadly and looking directly at the camera
.
"
"She wears a bright neon yellow
,
form-fitting triangle bikini top with thin straps and a matching flowing tulle skirt
.
"
"The skirt is voluminous
,
layered
,
and transparent
,
creating a dynamic
,
ballet-like appearance that spreads outwards
.
"
"Her long
,
wavy blonde hair is styled in loose waves
,
framing her face and cascading down her shoulders
.
"
"Her left arm is extended to the side
,
holding onto the skirt
,
while her right hand holds a part of the lush green foliage surrounding her
.
"
"Several colorful bracelets adorn her right wrist
,
including a Bitcoin-themed bracelet
.
"
"The background consists of various types of bushes and plants in different shades of green
,
creating a natural frame around the subject
.
"
"The lighting is warm and natural
,
illuminating her face and body while casting soft shadows
,
enhancing the vivid colors of her outfit and the surrounding environment
.
"
"The overall atmosphere is lively and playful
,
with high contrast and saturation emphasizing the neon yellow tones against the earthy greens of the foliage
.
"
"Incorporate Bitcoin symbols subtly in the background and her accessories
.
"
)
# Configuration settings
clip_guidance_scale = 18 # Moderate guidance for a lively and playful feel
hr_scale = 3
.
2 # Balanced resolution
hr_upscaler = "R-ESRGAN" # High-quality upscaling
latent_shift = torch
.
randn(1
,
4
,
64
,
64) * 0
.
025 # Slight variation for dynamic feel
prompt_weighting = (
"Vibrant and Joyful::4
.
5 | Bitcoin-Themed Accessories:
信息
模型 & 風格

模型
SeaArt Infinity
#写实
#泳裝
#SeaArt Infinity
共 0 條評論
1
1
0