Easy Pinterest Automation for Gaining Free Traffic. Python (Pillow) + ChatGPT

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
with over 400 million monthly visitors Pinterest is an excellent source of free traffic for earning money through affiliate marketing to start receiving this traffic you need to create and set up a Pinterest account create an image for a pin for example like this one publish it on Pinterest and add a link to the promoted website repeat repeat repeat the more pins you create the more traffic and money you can get however if you choose to handle everything manually the process will become incredibly lengthy and monotonous what if we automate this process using Python and chat GPT and generate thousands of beautiful images for pins in just a few minutes and today I'll teach you how to do it and even give you the ready to use code for free so even if you're a complete beginner in programming by using the provided code and following the instructions you'll be able to generate thousands of images to earn money on Pinterest if you find this video interesting and useful in the next video I'll teach you how to automatically upload the generated images to Pinterest thus fully automating the process of gaining traffic from Pinterest so don't forget to subscribe and like this video this video will be divided into three parts in the first part we will generate texts for our pins using chat GPT and store them in a spreadsheet next we will prepare backgrounds for our pins using canva in the third part we will write code in pycharm and generate 100 images each for two different niches so let's get started part one generating texts for images in chat GPT to create prompts in chat GPT start by deciding on the theme for your pins this depends on the product you will be promoting for the sake of example let's consider a trending niche in affiliate marketing keto weight loss now we can compose the prompt go to chatgpt and ask it to provide us with 10 themes or pins related to The Chosen topic next ask for 10 ideas for each item on the list then request to pack all the items into a table finally ask for five very short and useful tips for each idea in the same prompt ask to organize the data in a table so that the tips for each idea are displayed in a row after generating the data copy it from the table to Google Sheets in the First Column of the table fill in the missing values and then export the file in CSV format rename the file as data CSV we will need this file for the third step the data collection for 100 pins is complete let's move on to step number two part two preparing backgrounds in canva at this stage all you need to do is go to the canva website and enter Pinterest pins in the template search bar the recommended image size for Pinterest is one thousand by one thousand five hundred pixels two to three aspect ratio so look for templates with this format find a template that suits your niche then proceed to edit it and remove any unnecessary elements leave only the background then save the image in PNG format prepare and save several such images for variety from 5 to 10 should be sufficient we will need them in the next step part three writing code in pycharm if you don't have pycharm installed go to the jetbrains.com website and download the community version of pycharm for your operating system run the downloaded file and follow the standard installation procedure leaving everything as default next create a new project named Pinterest bot in pycharm leave The Interpreter as default and ensure that a new virtual environment is created within the project create two folders data and ready in the data folder we'll store the Pinterest account data for automating pin uploads we will need this in the next video in the ready folder we'll store backgrounds fonts and the final generated images for each individual project next create a folder named keto inside the ready folder in the keto folder create a subfolder named assets inside the assets folder create two more subfolders named BG and fonts move the background files we created in Step 2 into the BG folder if the background is light and the title should be written in dark color on it add black at the beginning of the file names for such backgrounds next go to the Google fonts website and download the Oswald font this font will be used for our titles then find and download the chalkboard sa font this font will be used for the main text of our pins rename the font files as title font and post font respectively and then move them to the fonts folder copy the data CSV file that we prepared in the first stage to the keto project folder great now let's proceed with installing the necessary packages for our work we will need the following libraries pillow the python Imaging Library adds image processing capabilities to your python interpreter pilmoji pillow G is an emoji renderer for pillow to install the packages open the terminal and ensure that your virtual environment is activated then run the following commands make sure to install this version of pillow that will keep the code I provide compatible with future updates of the library next create two python files Constance py and Main py in the constants py file write the following code here we import the path class from the pathlib module and Define constants that hold the absolute path to the project directory as well as the paths to the Assets in ready folders in the main Pi file write the following Imports after the Imports Define the following variables next create a conditional statement if name inside which we call the open data function and pass the folder name of our project as an argument next declare three functions open data git font and create image open data this function takes a folder name argument that we will pass when calling the function in this function we open the data CSV file read its contents and for each row we call the create image function passing the data from the row and the folder name git font this function is used to retrieve the desired font with a specific size create image this is the main function for image generation here we create images using the pillow Library based on the provided row and folder name data and then save the generated images now we can run our code great the images are being generated and saved in the images folder of our project now let's generate images for a new project to do this create a new folder in the ready folder copy the assets folder with backgrounds and fonts into it and place new backgrounds in the BG folder gather the texts for the new project using chat GPT and save them in a data CSV file which you place in the project folder assign the variable project folder the name of the folder with the new project and run the code that's it you can take the ready to use code from the link in the description and start using it or you can modify it according to your needs in the next video we will learn how to automatically upload the generated images to Pinterest to drive free traffic and earn through affiliate marketing don't forget to subscribe and hit the like button
Info
Channel: PYTHON MONEY
Views: 14,521
Rating: undefined out of 5
Keywords: python, chatgpt, ai, pinterest, make money online, how to make money online, pillow, side hustle, making money online
Id: WlsbWajjB4E
Channel Id: undefined
Length: 8min 30sec (510 seconds)
Published: Tue Jun 13 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.