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")
pipe = pipe.to("cuda") # Use GPU if available
# Define the highly detailed and emotive prompt
prompts = {
"sensual_whale_scene": (
"A provocative and detailed digital painting featuring a massive, self-assured whale with a dazzling Bitcoin chain around its neck. "
"The whale has a broad, satisfied smile, exuding an aura of supreme confidence and charm. "
"Mera, the Aqua Woman from Aquaman, is shown in an intense, dominant riding position on top of the whale. "
"Her face is flushed with genuine, ecstatic pleasure, with eyes closed and a broad, satisfied smile, as she grips the Bitcoin chain tightly. "
"The scene emphasizes her intense enjoyment, with exaggerated, realistic details of her blissful expression. "
"In the background, Aquaman is depicted in a dramatic and sorrowful pose, with tears streaming down his face, his expression one of deep anguish and disbelief. "
"The underwater environment is vividly colored and surreal, heightening the emotional and dramatic contrast of the scene."
)
}
# Generate the image for the prompt
for name, prompt in prompts.items():
# Generate the image using the prompt
image = pipe(prompt).images[0]
# Save the generated image
filename = f"{name.lower().replace(' ', '_')}.png"
image.save(filename)
print(f"Saved image: {filename}")
# Optionally, show the generated image
image.show()](https://image.cdn2.seaart.me/2024-08-30/cr93h35e878c73cl7sag-2/766124a73cf0475a2d268904e7b8a1df_high.webp)
Generation Data
Records
Prompts
Copy
from stable_diffusion import StableDiffusionPipeline
import torch
from PIL import Image
# Load the Stable Diffusion model
pipe = StableDiffusionPipeline
.
from_pretrained("stable-diffusion-v1-4")
pipe = pipe
.
to("cuda") # Use GPU if available
# Define the highly detailed and emotive prompt
prompts = {
"sensual_whale_scene": (
"A provocative and detailed digital painting featuring a massive
,
self-assured whale with a dazzling Bitcoin chain around its neck
.
"
"The whale has a broad
,
satisfied smile
,
exuding an aura of supreme confidence and charm
.
"
"Mera
,
the Aqua Woman from Aquaman
,
is shown in an intense
,
dominant riding position on top of the whale
.
"
"Her face is flushed with genuine
,
ecstatic pleasure
,
with eyes closed and a broad
,
satisfied smile
,
as she grips the Bitcoin chain tightly
.
"
"The scene emphasizes her intense enjoyment
,
with exaggerated
,
realistic details of her blissful expression
.
"
"In the background
,
Aquaman is depicted in a dramatic and sorrowful pose
,
with tears streaming down his face
,
his expression one of deep anguish and disbelief
.
"
"The underwater environment is vividly colored and surreal
,
heightening the emotional and dramatic contrast of the scene
.
"
)
}
# Generate the image for the prompt
for name
,
prompt in prompts
.
items():
# Generate the image using the prompt
image = pipe(prompt)
.
images[0]
# Save the generated image
filename = f"{name
.
lower()
.
replace(' '
,
'_')}
.
png"
image
.
save(filename)
print(f"Saved image: {filename}")
# Optionally
,
show the generated image
image
.
show()
INFO
Checkpoint & LoRA

Checkpoint
SeaArt Infinity
#Mythology
#SeaArt Infinity
0 comment
0
1
0