A close up of a person standing in a street with a city in the background

Prompts
Copy
from PIL import Image
,
ImageDraw
,
ImageFont
# Criando uma imagem com fundo preto
width
,
height = 500
,
200
image = Image
.
new("RGB"
,
(width
,
height)
,
"black")
# Carregando a fonte
font_path = "caminho/para/sua/fonte
.
ttf" # Substitua pelo caminho da sua fonte
font_size = 60
font = ImageFont
.
truetype(font_path
,
font_size)
# Escrevendo a frase "Tokyo Ghoul" em branco
text = "Tokyo Ghoul"
text_width
,
text_height = font
.
getsize(text)
x = (width - text_width) // 2
y = (height - text_height) // 2
draw = ImageDraw
.
Draw(image)
draw
.
text((x
,
y)
,
text
,
font=font
,
fill="white")
# Salvando a imagem
image
.
save("tokyo_ghoul
.
png")
INFO
Checkpoint & LoRA

Checkpoint
epiCRealism
#Realistic
#Photography
0 comment
0
0
0