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 and playful prompt
prompts = {
"cooking_for_bitcoin_whale_anime": (
"An anime-style illustration featuring a beautiful young woman with large, expressive eyes, "
"wearing a casual yet slightly revealing home outfit, cooking for a large, smug-looking whale that sits at a cozy kitchen table. "
"The whale, with a shiny gold Bitcoin chain around its neck, has a content and self-satisfied expression. "
"The woman, with a playful smile and a slight blush on her cheeks, is feeding the whale with a spoon, leaning forward seductively. "
"Her hair is tied up in a cute, messy bun with a ribbon, adding to her charm. "
"The kitchen is warmly lit, featuring soft colors and a welcoming atmosphere typical of slice-of-life anime settings. "
"In the background, a sleek shark with a Bitcoin symbol on its fin observes the scene, reflecting the competitive nature of the Bitcoin market. "
"The overall scene captures the light-hearted and humorous dynamic between the characters, with a distinct anime aesthetic."
)
}
# 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/cr9dqv5e878c73c77igg-1/273573280fd7e3c5376cd599007cb3ad_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 and playful prompt prompts = { "cooking_for_bitcoin_whale_anime": ( "An anime-style illustration featuring a beautiful young woman with large, expressive eyes, " "wearing a casual yet slightly revealing home outfit, cooking for a large, smug-looking whale that sits at a cozy kitchen table. " "The whale, with a shiny gold Bitcoin chain around its neck, has a content and self-satisfied expression. " "The woman, with a playful smile and a slight blush on her cheeks, is feeding the whale with a spoon, leaning forward seductively. " "Her hair is tied up in a cute, messy bun with a ribbon, adding to her charm. " "The kitchen is warmly lit, featuring soft colors and a welcoming atmosphere typical of slice-of-life anime settings. " "In the background, a sleek shark with a Bitcoin symbol on its fin observes the scene, reflecting the competitive nature of the Bitcoin market. " "The overall scene captures the light-hearted and humorous dynamic between the characters, with a distinct anime aesthetic." ) } # 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
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 and playful prompt
prompts = {
"cooking_for_bitcoin_whale_anime": (
"An anime-style illustration featuring a beautiful young woman with large
,
expressive eyes
,
"
"wearing a casual yet slightly revealing home outfit
,
cooking for a large
,
smug-looking whale that sits at a cozy kitchen table
.
"
"The whale
,
with a shiny gold Bitcoin chain around its neck
,
has a content and self-satisfied expression
.
"
"The woman
,
with a playful smile and a slight blush on her cheeks
,
is feeding the whale with a spoon
,
leaning forward seductively
.
"
"Her hair is tied up in a cute
,
messy bun with a ribbon
,
adding to her charm
.
"
"The kitchen is warmly lit
,
featuring soft colors and a welcoming atmosphere typical of slice-of-life anime settings
.
"
"In the background
,
a sleek shark with a Bitcoin symbol on its fin observes the scene
,
reflecting the competitive nature of the Bitcoin market
.
"
"The overall scene captures the light-hearted and humorous dynamic between the characters
,
with a distinct anime aesthetic
.
"
)
}
# 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
#Anime
#Anime Bishoujo
#SeaArt Infinity
0 comment
0
2
0