banner_image ×
SeaArt AI Enterprise Version

A close up of a washing machine and a small white object

from PIL import Image, ImageDraw, ImageFont

# Define the dimensions of the image
width = 600
height = 800

# Define the background color of the image
background_color = (255, 255, 255)

# Define the font size and font family
font_size = 40
font_family = "arial.ttf"

# Define the text to be displayed on the image
text = "Aviso Legal"

# Define the color of the text
text_color = (0, 0, 0)

# Create a new image with the specified dimensions and background color
image = Image.new("RGB", (width, height), background_color)

# Create a new drawing object for the image
draw = ImageDraw.Draw(image)

# Load the font
font = ImageFont.truetype(font_family, font_size)

# Calculate the size of the text
text_width, text_height = draw.textsize(text, font=font)

# Calculate the position of the text
x = (width - text_width) / 2
y = (height - text_height) / 2

# Draw the text on the image
draw.text((x, y), text, fill=text_color, font=font)

# Save the image to a file
image.save("aviso_legal.png")
chatIcon
Want to know my deep secrets?
Create AI Character
image
avatar
D
darlan jackson
Generation Data
Records
Prompts
Copy
from PIL import Image , ImageDraw , ImageFont # Define the dimensions of the image width = 600 height = 800 # Define the background color of the image background_color = (255 , 255 , 255) # Define the font size and font family font_size = 40 font_family = "arial . ttf" # Define the text to be displayed on the image text = "Aviso Legal" # Define the color of the text text_color = (0 , 0 , 0) # Create a new image with the specified dimensions and background color image = Image . new("RGB" , (width , height) , background_color) # Create a new drawing object for the image draw = ImageDraw . Draw(image) # Load the font font = ImageFont . truetype(font_family , font_size) # Calculate the size of the text text_width , text_height = draw . textsize(text , font=font) # Calculate the position of the text x = (width - text_width) / 2 y = (height - text_height) / 2 # Draw the text on the image draw . text((x , y) , text , fill=text_color , font=font) # Save the image to a file image . save("aviso_legal . png")
INFO
Prompts
from PIL import Image, ImageDraw, ImageFont # Define the dimensions of the image width = 600 height = 800 # Define the background color of the image background_color = (255, 255, 255) # Define the font size and font family font_size = 40 font_family = "arial.ttf" # Define the text to be displayed on the image text = "Aviso Legal" # Define the color of the text text_color = (0, 0, 0) # Create a new image with the specified dimensions and background color image = Image.new("RGB", (width, height), background_color) # Create a new drawing object for the image draw = ImageDraw.Draw(image) # Load the font font = ImageFont.truetype(font_family, font_size) # Calculate the size of the text text_width, text_height = draw.textsize(text, font=font) # Calculate the position of the text x = (width - text_width) / 2 y = (height - text_height) / 2 # Draw the text on the image draw.text((x, y), text, fill=text_color, font=font) # Save the image to a file image.save("aviso_legal.png")
CFG Scale
Steps
0
Sampler
Seed
0
Scheduler
Image Size
1344 X 768
Model
Generate
Size
1344X768
Date
Nov 2, 2023
Mode
Studio
Type
upscale
0 comment
0
0
0

SeaArt Swift AI Apps

ai_video_generationimg
AI Video Generation

Unleash your imagination and let AI create visual wonders for you

face_swap_titleimg
Face Swap Online Free

Create funny or realistic face swap videos & photos in a snap

ghibli_filter_h1img
Studio Ghibli Filter

Transform any photo into unique Ghibli-style art in just one click.

ai_eraserimg
AI Eraser

Easily remove unwanted objects, watermarks, or people from your photos.

DisneyFilter_top_titleimg
Disney Filter

Instantly transform your photos into Disney characters.

gender_swapimg
Gender Swap

Swap genders in photos and videos with SeaArt's AI gender swapper. Enjoy fun and realistic transformations effortlessly, free online!

Explore More AI Apps 

Explore Related

ControlNet
logo
English
Application
Create Image AI Characters Swift AI Model Training Canvas AI Apps Workflow
About
Studio Rankings AI Chat AI Blog AI News
Help
Guides Customer Service
Get App
icon
Download on the
APP Store
icon
GET IT ON
Google Play
Follow Us
iconiconiconiconiconiconiconicon
© 2025 SeaArt, Inc.
Copyright Policy
Terms
Privacy 特定商取引法 資金決済法に基づく表示
More