Skip to content

AI Interior Designer using Stable Diffusion – Generate interior design concepts from text prompts. Powered by Stability AI.

License

Notifications You must be signed in to change notification settings

KarthikNot/ai-interior-designer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Interior Designer

📜 Please read the license and use this project responsibly.

🌟 Model Description 🤖

📚 Model Sources

For research purposes, we highly recommend our generative-models GitHub repository, which implements the most popular diffusion frameworks for both training and inference. New functionalities, such as distillation, will be added over time. Additionally, Clipdrop provides free SDXL inference.

SDXL utilizes an ensemble of expert pipelines for latent diffusion. Initially, the base model generates (noisy) latents, which are then refined using a specialized model (available here) designed for final denoising steps. The base model can also function as a standalone module.

Alternatively, a two-stage pipeline can be employed: First, the base model generates latents of the desired output size. In the second step, a specialized high-resolution model applies a technique called SDEdit (also known as "img2img") to the latents generated in the first step, using the same prompt. This technique is slightly slower, as it requires more function evaluations.

Source code is available at Source Code GitHub.

Pipeline Diagram

📊 Model Evaluation

Model Comparison

The chart above illustrates user preferences for SDXL (with and without refinement) compared to SDXL 0.9 and Stable Diffusion versions 1.5 and 2.1. The SDXL base model significantly outperforms previous variants, and when combined with the refinement module, it achieves the best overall performance.

🛠️ How to Set Up This Project

This guide will help you set up the project's environment seamlessly.

1. Install Python 🐍

If you haven't installed Python yet, visit the official download page: Python Download Guide and follow the instructions for your operating system (Windows, macOS, or Linux).

2. Create a Virtual Environment

  1. Creating a virtual environment:

    • In the terminal, run this command:
    python -m venv venv
  2. Activate the virtual environment:

    • To activate the virtual environment, use:
    .\venv\Scripts\activate

3. Clone the Repository 📥

  1. Open your Git client or terminal.
  2. Navigate to the directory where you want to clone the repository.
  3. Run the following command, replacing <repository_url> with the actual URL of the project's repository:
git clone <repository_url>

3. Install required Dependencies 📦

  1. Open terminal/cmd.
  2. Navigate to repo directory
  3. Run the following command to install dependencies from requirements.txt:
pip install -r requirements.txt

4. Add the Together.ai API KEY 📦

  1. Create a .env file.
  2. add a env variable "TOGETHER_API_KEY" in the .env file.
    Example of a sample API KEY
TOGETHER_API_KEY = "<API_KEY>"

4. Host the project Locally 🌐

  • After installing the required dependencies, run the following command to start the project locally:
streamlit run ./src/server.py

About

AI Interior Designer using Stable Diffusion – Generate interior design concepts from text prompts. Powered by Stability AI.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages