{"id":29484032,"url":"https://github.com/jonigl/ai-home-redesign","last_synced_at":"2025-07-26T16:37:24.199Z","repository":{"id":283396455,"uuid":"951607224","full_name":"jonigl/ai-home-redesign","owner":"jonigl","description":"AI Home Redesign is a web application that transforms photos of your rooms into different interior design styles using Google's Gemini Flash 2.0 Image Generation API (Experimental).","archived":false,"fork":false,"pushed_at":"2025-06-30T15:12:14.000Z","size":5431,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T16:22:19.334Z","etag":null,"topics":["ai","ai-image-generation","gemini","gemini-image-gen","vite"],"latest_commit_sha":null,"homepage":"https://jonigl.github.io/ai-home-redesign/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonigl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-20T00:30:20.000Z","updated_at":"2025-06-30T15:12:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"92509ef1-ea02-4737-8c37-48ed4bec7829","html_url":"https://github.com/jonigl/ai-home-redesign","commit_stats":null,"previous_names":["jonigl/ai-home-redesign"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonigl/ai-home-redesign","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonigl%2Fai-home-redesign","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonigl%2Fai-home-redesign/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonigl%2Fai-home-redesign/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonigl%2Fai-home-redesign/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonigl","download_url":"https://codeload.github.com/jonigl/ai-home-redesign/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonigl%2Fai-home-redesign/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265402687,"owners_count":23759215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","ai-image-generation","gemini","gemini-image-gen","vite"],"created_at":"2025-07-15T04:20:46.792Z","updated_at":"2025-07-15T04:20:49.229Z","avatar_url":"https://github.com/jonigl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏠 AI Home Redesign\n\n[![Deploy static content to Pages](https://github.com/jonigl/ai-home-redesign/actions/workflows/github-page-deploy.yml/badge.svg)](https://github.com/jonigl/ai-home-redesign/actions/workflows/github-page-deploy.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) \n\nAI Home Redesign is a web application that transforms photos of your rooms into different interior design styles using Google's Gemini Flash 2.0 Image Generation API (Experimental).\n\n## 🔗 Live Demo\n\n**Try it now:** [https://jonigl.github.io/ai-home-redesign/](https://jonigl.github.io/ai-home-redesign/)\n\n![AI Home Redesign Demo](misc/ai-home-redesign-cover.gif)\n\n## ✨ Features\n\n- 🖼️ Upload room photos via drag-and-drop or file selection\n- 🎨 Transform rooms into different design styles with one click\n- 🔍 Choose from a variety of pre-defined interior design styles\n- ✏️ Add custom instructions to further personalize your room transformation\n- 📱 Responsive design for desktop and mobile devices\n- 🌓 Light and dark mode\n- 💾 Download transformed images\n- 📤 Share your designs on social media platforms\n\n## 🚀 Getting Started\n\nYou can use the application directly in your browser at [https://jonigl.github.io/ai-home-redesign/](https://jonigl.github.io/ai-home-redesign/) or set up your own local instance following the instructions below.\n\n### Prerequisites\n\n- Node.js (version 20 or above)\n- Google Gemini API key\n\n### Installation\n\n1. Clone the repository:\n```\ngit clone https://github.com/jonigl/ai-home-redesign.git\ncd ai-home-redesign\n```\n\n2. Install the dependencies:\n```\npnpm install\n```\n\n3. Start the development server:\n```\npnpm run dev\n```\n\n4. Open your browser and navigate to `http://localhost:5173`\n\n## 🔑 Getting Your Google Gemini API Key\n\nThis application requires a Google Gemini API key to function properly. Follow these steps to get your own API key:\n\n1. Visit [Google AI Studio](https://makersuite.google.com/)\n2. Sign in with your Google account\n3. Go to \"Get API key\" in the menu\n4. Create a new API key or use an existing one\n5. Copy the API key\n\nFor more detailed instructions, visit: https://ai.google.dev/gemini-api/docs/api-key\n\n## 📖 How to Use\n\n1. **Set Up Your API Key**:\n   - Click the settings icon in the top-right corner\n   - Paste your Google Gemini API key\n   - Click \"Save API Key\"\n\n2. **Upload Your Room Photo**:\n   - Drag and drop an image onto the upload area, or click to select a file\n   - Supported formats: JPG, PNG, WebP (max 10MB)\n\n3. **Choose a Style**:\n   - Select one of the predefined interior design styles from the style selector\n\n4. **Add Custom Instructions** (Optional):\n   - Enter any specific details or changes you'd like to see in the redesigned room\n\n5. **Transform Your Room**:\n   - Click the \"Transform Room\" button\n   - Wait for the AI to process your image (this may take a few seconds)\n\n6. **View and Save the Result**:\n   - Download the transformed image\n   - Share it on social media if desired\n\n7. **Chain Transformations** (Optional):\n   - Check \"Use last generated\" to apply a new transformation to the previously generated image\n\n## 🛠️ Technologies\n\n- **Frontend**: React, TypeScript, TailwindCSS\n- **AI**: Google Gemini Flash 2.0 Image Generation API\n- **UI Components**: shadcn/ui\n- **State Management**: React Context\n- **Notifications**: Sonner\n\n## 🔄 API Usage\n\nThis application uses the experimental Gemini Flash 2.0 Image Generation API, which:\n- Transforms room images into new design styles\n- Processes input images and generates redesigned versions\n- Returns base64-encoded image data\n\nLearn more about the Gemini 2.0 Flash Image Generation: [Google Developers Blog](https://developers.googleblog.com/en/experiment-with-gemini-20-flash-native-image-generation/)\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## 👏 Acknowledgements\n\n- [Google Gemini API](https://ai.google.dev/) for the image transformation capabilities\n- [vite](https://vitejs.dev/) for the build tool\n- [React](https://reactjs.org/) for the frontend framework\n- [TypeScript](https://www.typescriptlang.org/) for static typing\n- [shadcn/ui](https://ui.shadcn.com/) for UI components\n- [MagicUI](https://magicui.design/) for magic UI components\n- [TailwindCSS](https://tailwindcss.com/) for styling\n- [Lucide](https://lucide.dev/) for icons\n- [twemoji](https://github.com/twitter/twemoji) for emojis\n- [Sonner](https://sonner.io/) for notifications\n- [GitHub Copilot](https://copilot.github.com/) for code suggestions\n- [bolt.new](https://bolt.new/) for quick project setup\n- All the developers and designers who have contributed to the libraries and tools used in this project\n\n---\n\nMade with ❤️ by [jonigl](https://github.com/jonigl)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonigl%2Fai-home-redesign","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonigl%2Fai-home-redesign","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonigl%2Fai-home-redesign/lists"}