Skip to content

MuhammadShahzeb123/Instagram-Post-Generator

Repository files navigation

Gemini Post Generator

Gemini is a Python-based tool that generates social media posts using Google's GenerativeAI. The tool provides a streamlined interface to create engaging Facebook posts with customizable templates.

Features

  • Google GenerativeAI Integration: Utilizes the power of Google GenerativeAI to generate creative and engaging social media posts.

  • Flexible Templates: Offers two customizable templates for generating Facebook posts, allowing you to tailor the content to your specific topic.

  • Image Integration: Retrieves relevant images from Unsplash to complement your generated post.

  • Text Overlay on Images: Enhances generated images by overlaying text at specified positions with customizable settings.

Installation

  1. Clone the Repository:

    git clone https://github.com/MuhammadShahzeb123/Instagram-Post-Generator.git
    cd Instagram-Post-Generator
  2. Install Python: Ensure that you have Python installed on your system. If not, you can download it from python.org.

  3. Install Dependencies:

    pip install -r requirements.txt
  4. API Key Configuration: Obtain your Google GenerativeAI API key from Google Maker Suite and replace YOU_API_KEY in functions.py with your actual API key.

  5. Unsplash API Key: Replace YOUR_UNSPLASH_API_KEY in functions.py with your Unsplash API key.

Usage

  1. Run the application using:

    streamlit run app.py
  2. Enter a topic and click the "Get the Post" button to generate a Facebook post.

  3. Adjust the sliders and color picker to overlay text on the generated image.

  4. View the final output and the post text.

Examples

Here's an example usage of Gemini to create a Facebook post:

python app.py

About

You can specifically create Instagram using this tool. This will help you automatically generate the Post according to the Niche without even you thinking about it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages