Import torch from diffusers import StableDiffusionPipeline
![import torch
from diffusers import StableDiffusionPipeline
# Configurar la semilla para resultados consistentes
torch.manual_seed(42)
# Cargar el modelo
pipeline = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4")
# Prompt detallado
prompt = ("A young woman with long straight light brown hair, smiling and looking at the camera. "
"She is standing with one hand on her hip, vistiendo una camiseta blanca sin mangas con tirantes delgados y estampados coloridos. "
"Lleva minifalda ajustada de color negro, pearl colored high heel slippers. "
"The background shows a light door and a dark brown tiled floor, con una pared azul claro a la izquierda.")
# Generar la imagen
image = pipeline(prompt).images[0]
# Guardar la imagen
image.save("output.png")](https://image.cdn2.seaart.me/2024-06-01/cpdbj45e878c73aljp00/f66706b8a64b13a12c8b470947d12bf9a272f961_high.webp)
import torch from diffusers import StableDiffusionPipeline # Configurar la semilla para resultados consistentes torch.manual_seed(42) # Cargar el modelo pipeline = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4") # Prompt detallado prompt = ("A young woman with long straight light brown hair, smiling and looking at the camera. " "She is standing with one hand on her hip, vistiendo una camiseta blanca sin mangas con tirantes delgados y estampados coloridos. " "Lleva minifalda ajustada de color negro, pearl colored high heel slippers. " "The background shows a light door and a dark brown tiled floor, con una pared azul claro a la izquierda.") # Generar la imagen image = pipeline(prompt).images[0] # Guardar la imagen image.save("output.png")
Generation Data
Protokolle
Prompts
Prompts kopieren
import torch
from diffusers import StableDiffusionPipeline
# Configurar la semilla para resultados consistentes
torch
.
manual_seed(42)
# Cargar el modelo
pipeline = StableDiffusionPipeline
.
from_pretrained("CompVis/stable-diffusion-v1-4")
# Prompt detallado
prompt = ("A young woman with long straight light brown hair
,
smiling and looking at the camera
.
"
"She is standing with one hand on her hip
,
vistiendo una camiseta blanca sin mangas con tirantes delgados y estampados coloridos
.
"
"Lleva minifalda ajustada de color negro
,
pearl colored high heel slippers
.
"
"The background shows a light door and a dark brown tiled floor
,
con una pared azul claro a la izquierda
.
")
# Generar la imagen
image = pipeline(prompt)
.
images[0]
# Guardar la imagen
image
.
save("output
.
png")
Info
Checkpoint & LoRA

Checkpoint
epiCRealism
#Realistisch
0 Kommentar(e)
0
24
0