From PIL import image, imageDraw, imageFont # Create a new img image file
![from PIL import image, imageDraw, imageFont
# Create a new img image file = image.new('RGB', (800, 600), Farbe=(255, 255, 255))
draw = imageDraw.Draw(img)
# Desenhar a shanty town (instance: geometric forms)
draw.rectangle([(50, 300), (750, 600)], fill=(139, 69, 19)) # Cor marrom para a shanty town
# Draw Christ the Redeemer (instance: simple shape)
draw.Polygon([(600, 50), (700, 300), (500, 300)], fill=(255, 255, 255)) # White color for Christ the Redeemer
# Add the teenager
# Example of a drawing of a circle to represent the draw head.ellipse((350, 300, 450, 400), fill=(255, 218, 185)) # cor da pele
# Design the blouse of the Brazilian draw team.rectangle([(350, 400), (450, 500)], fill=(0, 255, 0)) # Green color of the Brazilian flag
# Adicionar Texto
Font = imageFont.truetype("arial.ttf", 30)
draw.Text((50, 50), "Favela Brasileira featuring Cristo Redentor", Font=Font, fill=(0, 0, 0))
# Save img image.save("shanty town_featuring_Christ.png")
# Display the image (optional)
img.show()](https://image.cdn2.seaart.me/2024-07-08/cq5palte878c73e5ed60/44857c174c5850aaf1fae7be625db65a04677319_high.webp)

from PIL import image, imageDraw, imageFont # Create a new img image file = image.new('RGB', (800, 600), Farbe=(255, 255, 255)) draw = imageDraw.Draw(img) # Desenhar a shanty town (instance: geometric forms) draw.rectangle([(50, 300), (750, 600)], fill=(139, 69, 19)) # Cor marrom para a shanty town # Draw Christ the Redeemer (instance: simple shape) draw.Polygon([(600, 50), (700, 300), (500, 300)], fill=(255, 255, 255)) # White color for Christ the Redeemer # Add the teenager # Example of a drawing of a circle to represent the draw head.ellipse((350, 300, 450, 400), fill=(255, 218, 185)) # cor da pele # Design the blouse of the Brazilian draw team.rectangle([(350, 400), (450, 500)], fill=(0, 255, 0)) # Green color of the Brazilian flag # Adicionar Texto Font = imageFont.truetype("arial.ttf", 30) draw.Text((50, 50), "Favela Brasileira featuring Cristo Redentor", Font=Font, fill=(0, 0, 0)) # Save img image.save("shanty town_featuring_Christ.png") # Display the image (optional) img.show()
Prompts
Copy
from PIL import image
,
imageDraw
,
imageFont
# Create a new img image file = image
.
new('RGB'
,
(800
,
600)
,
Farbe=(255
,
255
,
255))
draw = imageDraw
.
Draw(img)
# Desenhar a shanty town (instance: geometric forms)
draw
.
rectangle([(50
,
300)
,
(750
,
600)]
,
fill=(139
,
69
,
19)) # Cor marrom para a shanty town
# Draw Christ the Redeemer (instance: simple shape)
draw
.
Polygon([(600
,
50)
,
(700
,
300)
,
(500
,
300)]
,
fill=(255
,
255
,
255)) # White color for Christ the Redeemer
# Add the teenager
# Example of a drawing of a circle to represent the draw head
.
ellipse((350
,
300
,
450
,
400)
,
fill=(255
,
218
,
185)) # cor da pele
# Design the blouse of the Brazilian draw team
.
rectangle([(350
,
400)
,
(450
,
500)]
,
fill=(0
,
255
,
0)) # Green color of the Brazilian flag
# Adicionar Texto
Font = imageFont
.
truetype("arial
.
ttf"
,
30)
draw
.
Text((50
,
50)
,
"Favela Brasileira featuring Cristo Redentor"
,
Font=Font
,
fill=(0
,
0
,
0))
# Save img image
.
save("shanty town_featuring_Christ
.
png")
# Display the image (optional)
img
.
show()
INFO
Checkpoint & LoRA

Checkpoint
CyberRealistic 2.5D Style
0 comment
0
0
0