An AI-powered application that transforms a single uploaded photo into four distinct, professional profile images using Google’s Gemini AI. Perfect for creating professional headshots for LinkedIn, corporate websites, and social media platforms.
ai-profile-picture-stylist/
├── src/
│ ├── App.tsx # Main application component
│ ├── components/
│ │ ├── Header.tsx # Application header
│ │ ├── Footer.tsx # Application footer
│ │ ├── ImageUploader.tsx # File upload component
│ │ ├── ImageGrid.tsx # Generated images display
│ │ ├── Loader.tsx # Loading animation
│ │ ├── StyleCard.tsx # Individual style image card
│ │ └── icons/ # Icon components
│ ├── services/
│ │ └── geminiService.ts # Google Gemini AI integration
│ ├── constants.ts # Application constants
│ └── types.ts # TypeScript type definitions
├── deployment/
│ ├── Dockerfile # Docker configuration
│ ├── cloudbuild.yaml # Google Cloud Build
│ └── deploy.sh # Deployment script
├── package.json
├── tsconfig.json
├── vite.config.ts
├── index.html
├── index.tsx
└── README.md
git clone https://github.com/lyven81/ai-project.git
cd ai-project/projects/ai-profile-picture-stylist
npm install
.env.local file in the root directory:
VITE_GEMINI_API_KEY=your_gemini_api_key_here
npm run dev
http://localhost:5173The application integrates with Google’s Gemini AI through:
The project includes deployment configurations for:
# Build and deploy using Google Cloud Build
gcloud builds submit --config deployment/cloudbuild.yaml
# Or use the deployment script
chmod +x deployment/deploy.sh
./deployment/deploy.sh
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is part of the AI Project Portfolio. See the main repository for licensing information.
For issues, questions, or contributions, please visit the main AI Project repository.