The evolution of AI technologies like Stable Diffusion(https://arxiv.org/abs/2112.10752) has revolutionized visual design. Now, with "Interior-Stable-Diffusion," this technology is tailored for interior design, enabling rapid generation, style modification, and object replacement in interior spaces. This application empowers designers to visualize and refine spaces with unprecedented speed and precision, transforming ideas into reality in moments.
Using Stable Diffusion, this app can make desirable images with three main function:
- General generation: Utilize the text2img pipeline to create detailed interior images from textual descriptions.
- Fixing style: Utilize the Controlnet Canny echnique to maintain the original image’s edges while introducing a new style based on the canny edge map.
- Replacing object: using ControlnetInpaintPipeline to seamlessly replace objects within specified masked areas of an image.
Prompt: A living room with a TV, wooden floor, a sofa, a nice glass table and a flower in the table
Prompt: A large modern kitchen with light grey, brown and white, large kitchen cabinets
Change: A black table
Change: A colorful violet chandelier, darker ceiling.
Prompt: a fridge
Prompt: a luxury liquor cabinet
python3 -m venv .env
source .env/bin/activate
git clone https://github.com/Trgtuan10/Interior-stable-difusion.git
cd Interior-stable-difusion
pip install -r requirements.txt
mkdir checkpoints
cd checkpoints
wget https://civitai.com/api/download/models/128713 -O Interior.safetensors
wget https://civitai.com/api/download/models/195419 -O Interior_lora.safetensors
cd App_demo
streamlit run streamlit_app