From PIL import Image, ImageDraw, ImageFont # Criar uma nova imagem com fundo b
Generation Info
Records
Prompts
from PIL import Image
,
ImageDraw
,
ImageFont
# Criar uma nova imagem com fundo branco
width
,
height = 800
,
600
background_color = (255
,
255
,
255)
image = Image
.
new("RGB"
,
(width
,
height)
,
background_color)
draw = ImageDraw
.
Draw(image)
# Adicionar uma imagem de Nossa Senhora Aparecida
virgin_mary = Image
.
open("nossa_senhora_aparecida
.
png") # Substitua pelo caminho da imagem
image
.
paste(virgin_mary
,
(width // 4
,
height // 4))
# Add a representation of a city (gray rectangle)
city_color = (169
,
169
,
169)
city_rect = [(0
,
height // 2)
,
(width
,
height)]
draw
.
rectangle(city_rect
,
fill=city_color)
# Adicionar uma figura representando pessoas orando (Blue Circles)
praying_color = (0
,
0
,
255)
draw
.
ellipse([(width // 2 - 50
,
height // 2 - 50)
,
(width // 2 + 50
,
height // 2 + 50)]
,
fill=praying_color)
# Adicionar uma legenda
font = ImageFont
.
load_default()
draw
.
text((width // 2
,
height // 20)
,
"Nossa Senhora Aparecida sobre a cidade orando"
,
font=font
,
fill=(0
,
0
,
0))
# Salvar a imagem resultante
image
.
save("nossa_senhora_aparecida_sobre_cidade_orando
.
png")
Checkpoint & LoRA
Checkpoint
epiCRealism
0 comment
0
1
0
0/400
































