CoolFace
Apppublic

K2-k2/VibeCraft-AI

sourceHugging Facemitupdated 5mo agoView on Hugging Face
0likes
App README

๐Ÿ“ธ VibeCraft AI: AI-Powered Social Media Engineering

VibeCraft AI is a professional-grade multimodal application designed to bridge the gap between visual content and high-engagement social media copy. By leveraging Google's Gemini 2.5 Flash model, the app analyzes images and crafts three distinct caption variations based on user-selected "vibes."

๐Ÿš€ Key Features

  • โ€”Multimodal Analysis: Deep image understanding to extract context, mood, and visual elements.
  • โ€”Vibe Selection: Tailor content for different niches (Gen-Z, Professional, Aesthetic, Savage, etc.).
  • โ€”Triple Draft Output: Provides three unique variations for every image to ensure creative variety.
  • โ€”Professional UI: A mobile-responsive, sleek interface built with Streamlit and custom CSS/JS.
  • โ€”One-Click Copy: Integrated JavaScript clipboard functionality for seamless content migration.

๐Ÿ› ๏ธ Tech Stack

  • โ€”Core Engine: Python 3.10+
  • โ€”LLM: Google Gemini 2.5 Flash (Generative AI)
  • โ€”Frontend: Streamlit
  • โ€”Custom Styling: CSS Flexbox (for responsive branding) & JavaScript (for clipboard API).
  • โ€”Image Processing: Pillow (PIL)

๐Ÿ“– How It Works

  1. 1.Image Input: User uploads a visual asset (JPG/PNG).
  2. 2.Vibe Definition: User selects a target brand voice from the sidebar.
  3. 3.Contextual Analysis: The Gemini 2.5 Flash model processes the image and user prompt simultaneously.
  4. 4.Creative Synthesis: The AI generates three structured drafts, each with a unique "Feel" header.
  5. 5.Clipboard Export: User copies their preferred draft using the custom-built JS button.

โš™๏ธ Installation & Setup

If you want to run this locally:-

  1. 1.Clone the repository:
bash
   git clone [https://huggingface.co/spaces/K2-k2/VibeCraft-AI](https://huggingface.co/spaces/K2-k2/VibeCraft-AI)

2. Install dependencies:

pip install -r requirements.txt

  1. 1.Set up your environment variable: Create a .env file or export GOOGLEAPIKEY_N.
  1. 1.Run the app:
bash
   streamlit run app.py

# Developed with โค๏ธ by Kesar Agarwal 

   

   
   


Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference