Skip to content

This project generates AI-powered artwork with Stability AI’s Stable Diffusion model from the prompt provided by the user . Users can customize T-shirts with these designs, place orders, and track deliveries seamlessly.

Notifications You must be signed in to change notification settings

Guru-1205/Tweeshirt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

🎨 Tweet-to-Tee: AI-Driven Personalized Apparel

📌 Overview

Hey everyone, Gc here! 👋

This project blends social media analytics, AI image generation, and user customization to create unique T-shirts featuring viral tweets. By leveraging official Twitter APIs, we analyze likes, retweets, and comments to identify the most engaging tweet. The selected tweet is then transformed into a stunning AI-generated image using Stability AI’s Stable Diffusion Model.

Users can personalize their T-shirts by selecting size and color while the system handles order processing, shipping, and tracking to ensure a smooth experience from tweet selection to doorstep delivery. 🚀

🎯 Features

Social Media Analysis – Fetches trending tweets via official Twitter APIs 📊
AI Image Generation – Transforms tweets into eye-catching visuals using Stability AI 🎨
User Customization – Allows selection of T-shirt size & color 👕
Order Processing – Captures user details for seamless fulfillment 📦
Delivery Tracking – Sends real-time tracking updates to customers 📩

📖 How It Works

1️⃣ Fetch and analyze trending tweets based on engagement metrics.
2️⃣ Identify the most popular tweet and generate an image using Stability AI.
3️⃣ Users select T-shirt size & color for customization.
4️⃣ Collect shipping details and process the order.
5️⃣ Generate tracking details and notify the customer upon dispatch.

🔧 Tech Stack

  • Backend: Node.js, Express.js 🌐
  • Frontend: Next.js ⚡
  • AI Model: Stability AI – Stable Diffusion 🖼️
  • Database: MongoDB (for order & user data) 📂
  • API Integration: Twitter API (for tweet retrieval) 🔗

🚀 Installation & Setup

Prerequisites

  • Node.js (v16+) & npm/yarn
  • MongoDB (for storing user data)
  • API Keys for Twitter API & Stability AI

Steps

1️⃣ Clone the repository:

git clone [https://github.com/your-username/tweet-to-tshirt.git](https://github.com/Guru-1205/Tweeshirt.git)
cd tweet-to-tshirt

2️⃣ Install dependencies:

npm install

3️⃣ Set up environment variables (.env file):

STABILITY_AI_KEY=your_ai_key

4️⃣ Start the server:

npm run dev

📸 Example Workflow

1️⃣ User enters a trending tweet.
2️⃣ AI generates an image based on the tweet.
3️⃣ User customizes their T-shirt (size, color).
4️⃣ Order is processed and shipped.
5️⃣ User receives tracking details.

📬 Contact & Contributions

🙌 Contributions are welcome! Want to improve the project? Feel free to submit a pull request.

📧 Email: [email protected]
💻 GitHub: Guru-1205

Happy coding! 🚀

Cheers, Gc 🎉

About

This project generates AI-powered artwork with Stability AI’s Stable Diffusion model from the prompt provided by the user . Users can customize T-shirts with these designs, place orders, and track deliveries seamlessly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published