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 detailed MMORPG-style prompt
prompts = {
"cooking_for_bitcoin_whale_mmorpg": (
"An MMORPG-style scene set in a fantastical, vibrant world where a majestic, armored whale with a glowing Bitcoin amulet around its neck "
"is sitting in a grand feasting hall. The whale, a powerful NPC, is being served by a beautiful female character in fantasy attire, "
"who is preparing an elaborate meal. She is wearing a mystical outfit with glowing runes, holding a magical spoon as she feeds the whale with a smile. "
"Around the hall, other players in various fantasy-themed armor and robes are watching the scene, some chatting, others crafting, "
"with game-like interface elements such as health bars, chat windows, and quest indicators subtly visible in the background. "
"The environment is rich with detail, featuring stone pillars, flickering torches, and banners with Bitcoin symbols. "
"A sleek shark, another NPC, swims nearby in a water-filled channel that runs through the hall, representing a competing faction or rival. "
"The overall scene is lively and immersive, capturing the communal and interactive essence of an MMORPG."
)
}
# 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-31/cr9e14te878c73874acg-1/833003d167bdfd62896c5560c2301eb2_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 detailed MMORPG-style prompt
prompts = {
"cooking_for_bitcoin_whale_mmorpg": (
"An MMORPG-style scene set in a fantastical
,
vibrant world where a majestic
,
armored whale with a glowing Bitcoin amulet around its neck "
"is sitting in a grand feasting hall
.
The whale
,
a powerful NPC
,
is being served by a beautiful female character in fantasy attire
,
"
"who is preparing an elaborate meal
.
She is wearing a mystical outfit with glowing runes
,
holding a magical spoon as she feeds the whale with a smile
.
"
"Around the hall
,
other players in various fantasy-themed armor and robes are watching the scene
,
some chatting
,
others crafting
,
"
"with game-like interface elements such as health bars
,
chat windows
,
and quest indicators subtly visible in the background
.
"
"The environment is rich with detail
,
featuring stone pillars
,
flickering torches
,
and banners with Bitcoin symbols
.
"
"A sleek shark
,
another NPC
,
swims nearby in a water-filled channel that runs through the hall
,
representing a competing faction or rival
.
"
"The overall scene is lively and immersive
,
capturing the communal and interactive essence of an MMORPG
.
"
)
}
# 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
#SeaArt Infinity
0 comment
0
0
0