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 prompt for Mezo Bull
prompt_bull = (
"A funny scene where a bull is depicted as a fashion model at a market runway, wearing a Bitcoin-themed suit and tie. "
"The bull is strutting confidently, and the background is a chaotic yet humorous fashion show, blending crypto and high fashion."
)
# Generate the image
image_bull = pipe(prompt=prompt_bull).images[0]
image_bull.save("mezo_bull.png")
print("Saved image: mezo_bull.png")](https://image.cdn2.seaart.me/2024-08-30/cr9251te878c73aot5q0-2/a209d39a59f5d63ff056e5e3c906db34_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 prompt for Mezo Bull prompt_bull = ( "A funny scene where a bull is depicted as a fashion model at a market runway, wearing a Bitcoin-themed suit and tie. " "The bull is strutting confidently, and the background is a chaotic yet humorous fashion show, blending crypto and high fashion." ) # Generate the image image_bull = pipe(prompt=prompt_bull).images[0] image_bull.save("mezo_bull.png") print("Saved image: mezo_bull.png")
プロンプト
プロンプトをコピー
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 prompt for Mezo Bull
prompt_bull = (
"A funny scene where a bull is depicted as a fashion model at a market runway
,
wearing a Bitcoin-themed suit and tie
.
"
"The bull is strutting confidently
,
and the background is a chaotic yet humorous fashion show
,
blending crypto and high fashion
.
"
)
# Generate the image
image_bull = pipe(prompt=prompt_bull)
.
images[0]
image_bull
.
save("mezo_bull
.
png")
print("Saved image: mezo_bull
.
png")
情報
Checkpoint & LoRA

Checkpoint
SeaArt Infinity
#ホラー
#ファーリー
#SeaArt Infinity
コメント:0件
0
8
0