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 first-person shooter-style prompt
prompts = {
"cooking_for_bitcoin_whale_fps": (
"A first-person shooter-style scene where the player character, shown from a first-person perspective, "
"is holding a futuristic cooking utensil like a weapon, aiming it at a massive, armored whale sitting at a high-tech kitchen table. "
"The whale, wearing a glowing Bitcoin chain, looks imposing and untouchable, with holographic Bitcoin symbols floating around it. "
"The player's view includes a pair of gloved hands holding the utensil, ready to serve the whale while maintaining a combat stance. "
"In the player's peripheral vision, a sleek shark with a Bitcoin symbol on its fin lurks in the shadows, representing a potential threat. "
"The environment is dark and gritty, with neon lights and high-tech gadgets typical of a sci-fi shooter game. "
"The overall atmosphere is intense and immersive, capturing the tension and focus of a first-person shooter."
)
}
# 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/cr9e0kte878c73872fe0-1/3ef0bd66c28ed9b336b9270db6928ac0_high.webp)
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 first-person shooter-style prompt prompts = { "cooking_for_bitcoin_whale_fps": ( "A first-person shooter-style scene where the player character, shown from a first-person perspective, " "is holding a futuristic cooking utensil like a weapon, aiming it at a massive, armored whale sitting at a high-tech kitchen table. " "The whale, wearing a glowing Bitcoin chain, looks imposing and untouchable, with holographic Bitcoin symbols floating around it. " "The player's view includes a pair of gloved hands holding the utensil, ready to serve the whale while maintaining a combat stance. " "In the player's peripheral vision, a sleek shark with a Bitcoin symbol on its fin lurks in the shadows, representing a potential threat. " "The environment is dark and gritty, with neon lights and high-tech gadgets typical of a sci-fi shooter game. " "The overall atmosphere is intense and immersive, capturing the tension and focus of a first-person shooter." ) } # 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()
Generation Data
Protokolle
Prompts
Prompts kopieren
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 first-person shooter-style prompt
prompts = {
"cooking_for_bitcoin_whale_fps": (
"A first-person shooter-style scene where the player character
,
shown from a first-person perspective
,
"
"is holding a futuristic cooking utensil like a weapon
,
aiming it at a massive
,
armored whale sitting at a high-tech kitchen table
.
"
"The whale
,
wearing a glowing Bitcoin chain
,
looks imposing and untouchable
,
with holographic Bitcoin symbols floating around it
.
"
"The player's view includes a pair of gloved hands holding the utensil
,
ready to serve the whale while maintaining a combat stance
.
"
"In the player's peripheral vision
,
a sleek shark with a Bitcoin symbol on its fin lurks in the shadows
,
representing a potential threat
.
"
"The environment is dark and gritty
,
with neon lights and high-tech gadgets typical of a sci-fi shooter game
.
"
"The overall atmosphere is intense and immersive
,
capturing the tension and focus of a first-person shooter
.
"
)
}
# 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
#Science-Fiction
#Cyberpunk
#SeaArt Infinity
0 Kommentar(e)
0
0
0