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 a prompt for a Bitcoin meme
prompt_bitcoin_atm = (
"A humorous scene of a Bitcoin ATM malfunctioning, printing out a pile of Bitcoin bills and a note saying 'Sorry, now you have more Bitcoin than expected!' "
"The ATM is cartoonish with exaggerated features, and the background is a light-hearted, playful setting."
)
# Generate the image
image_bitcoin_atm = pipe(prompt=prompt_bitcoin_atm).images[0]
image_bitcoin_atm.save("bitcoin_atm_malfunction.png")
print("Saved image: bitcoin_atm_malfunction.png")](https://image.cdn2.seaart.me/2024-08-30/cr928ode878c73eqckug-1/729376c10ce4789929797dff91cc77fa_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 a prompt for a Bitcoin meme prompt_bitcoin_atm = ( "A humorous scene of a Bitcoin ATM malfunctioning, printing out a pile of Bitcoin bills and a note saying 'Sorry, now you have more Bitcoin than expected!' " "The ATM is cartoonish with exaggerated features, and the background is a light-hearted, playful setting." ) # Generate the image image_bitcoin_atm = pipe(prompt=prompt_bitcoin_atm).images[0] image_bitcoin_atm.save("bitcoin_atm_malfunction.png") print("Saved image: bitcoin_atm_malfunction.png")
Prompts
Copier les Paramètres
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 a prompt for a Bitcoin meme
prompt_bitcoin_atm = (
"A humorous scene of a Bitcoin ATM malfunctioning
,
printing out a pile of Bitcoin bills and a note saying 'Sorry
,
now you have more Bitcoin than expected
!
' "
"The ATM is cartoonish with exaggerated features
,
and the background is a light-hearted
,
playful setting
.
"
)
# Generate the image
image_bitcoin_atm = pipe(prompt=prompt_bitcoin_atm)
.
images[0]
image_bitcoin_atm
.
save("bitcoin_atm_malfunction
.
png")
print("Saved image: bitcoin_atm_malfunction
.
png")
Info
Checkpoint & LoRA

Checkpoint
SeaArt Infinity
#Dessin animé
#SeaArt Infinity
0 commentaire(s)
0
4
0