From PIL import Image, ImageDraw, ImageFont # Criar uma nova imagem com fundo b
![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")](https://image.cdn2.seaart.me/2023-12-30/cm89gkle878c73fcn190/71d45ce27e28ef128c1cf77a586984d254df39bf_high.webp)
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")
Generation Data
Records
Prompts
Copy
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")
INFO
Checkpoint & LoRA

Checkpoint
epiCRealism
#Realistic
#Photography
0 comment
0
1
0