Skip to content

eldarhasanov079/ai_insta_post_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ai_insta_post_generator

Instagram ArtBot: DALLE + ChatGPT

Introduction

Instagram ArtBot is an exciting program that combines the power of DALLE for image generation and ChatGPT for post descriptions to create captivating daily Instagram posts automatically. The program generates stunning paintings of Baku, Azerbaijan, as if they were drawn by different famous artists throughout history. Each day, the bot uploads a unique piece of art with an engaging description to your Instagram account, providing your followers with a delightful artistic experience.

How It Works

The Instagram ArtBot utilizes two cutting-edge AI models: DALL-E and ChatGPT, both of which have been pre-trained on vast datasets to understand images and text, respectively.

  1. DALL-E Image Generation: DALL-E, developed by OpenAI, is a powerful generative model capable of creating high-quality images based on textual prompts. The bot takes a textual prompt describing the desired painting style, such as "Van Gogh's Starry Night inspired painting of Baku's cityscape," and generates an impressive artwork accordingly.

  2. ChatGPT Post Descriptions: ChatGPT, another creation by OpenAI, is a language model capable of generating human-like text. After the image is generated, ChatGPT takes over to compose an engaging post description to accompany the artwork. The description could be a historical background on the art style, a fictional story about the depicted scene, or any creative narrative to captivate your audience.

  3. Automatic Instagram Upload: Once the image and post description are ready, the Instagram ArtBot automatically uploads them to your Instagram account at a pre-scheduled time every day. This ensures a steady stream of artistic content without any manual intervention.

Requirements

Before running the Instagram ArtBot, ensure you have the following prerequisites:

  • Python 3.x
  • Instagram Business Account
  • OpenAI API access
  • Necessary Python libraries

Setup and Configuration

  1. Clone this repository to your local machine using:
git clone https://github.com/eldarhasanov079/ai_insta_post_generator.git
  1. Install the required Python libraries by running:
pip install -r "LIBRARY_NAME"
  1. Obtain API keys and access tokens for DALL-E and ChatGPT from their respective platforms. Place these keys in the configuration file (config.py).

  2. Configure your Instagram Business Account with the appropriate credentials in config.py. Make sure you enable automatic posting or provide the necessary permissions for the bot to upload posts.

Usage

To start the Instagram ArtBot, run the following command:

python instagram_artbot.py

The bot will generate a new painting and post a description every day at the scheduled time. You can customize the posting schedule in the Python file.

Possible Use Cases

  1. Art Appreciation: The Instagram ArtBot can serve as an educational tool, introducing your followers to various art styles and their significance. It's an excellent way to share the beauty of art with a wide audience.

  2. Engagement Boost: Regular and unique posts with captivating descriptions can significantly increase engagement on your Instagram account. The bot's automated daily uploads keep your followers excited and coming back for more.

  3. Brand Promotion: If you are an art gallery or an organization promoting the culture of Baku, Azerbaijan, the Instagram ArtBot can be a valuable addition to your online presence. It showcases your brand's creativity and commitment to art.

  4. Creative Inspiration: The generated art pieces can inspire other artists, designers, or photographers to create their unique works based on the styles generated by the bot.

Variations

The Instagram ArtBot can be customized and expanded in various ways to suit your needs:

  1. Art Categories: Instead of focusing on cities, you can train DALL-E on different themes and generate art based on diverse subjects, such as nature, animals, or fictional landscapes.

  2. Multiple Languages: Extend the bot's functionality to support multiple languages in post descriptions, catering to a broader international audience.

  3. User Interaction: Implement a feedback mechanism for users to suggest themes or styles, making the bot more interactive and engaging.

  4. Custom Image Inputs: Allow users to upload their images and use the bot to generate artistic renditions of their pictures.

Remember to comply with the terms of service of the APIs and Instagram when using this bot and avoid any misuse or violation of intellectual property rights.


This README provides an overview of the Instagram ArtBot and its potential applications. Feel free to enhance and modify the code to create a unique and exciting experience for your Instagram followers. Happy generating and posting! 🎨✨

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages