This project is a desktop GUI application built with DelphiFMX for Python. It leverages the Replicate API to generate AI-enhanced interior design and remodel suggestions from a text prompt and a user-uploaded room image.
- Easy-to-use Interface: Upload an image of your room, enter a design prompt, and get AI-generated remodel suggestions.
- Text Prompt Based Design: Provide specific instructions for how you want your room to look.
- Real-time Status Updates: The app provides feedback on the process and updates once the image remodeling is complete.
- Uses Replicate's Model: The app integrates with the adirik/interior-design model on Replicate to process your room image based on the provided design prompt.
- DelphiFMX for Python: For building the desktop GUI.
- Replicate API: For handling AI image generation and remodel processes.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/ai-interior-design-remodel.git cd ai-interior-design-remodel
-
Set up Python environment: Make sure you have Python 3.7+ installed. Then, install the required dependencies:
pip install delphifmx replicate
-
Set your Replicate API token: You will need a Replicate API key. Sign up at Replicate and get your API key. Then, set it in your environment:
export REPLICATE_API_TOKEN='your_replicate_api_key'
-
Run the Application: Simply run the Python script:
python interior_design.py
- Enter a Text Prompt: Enter a prompt that describes how you would like to redesign the room (e.g., "modern living room with minimal furniture and white walls").
- Upload an Image: Click on the "Select Image" button to upload an image of your room.
- Wait for Processing: The app will process the image based on your prompt and display the result. The status bar will keep you informed during the process.
- "Scandinavian style living room with natural light, wood furniture, and cozy rugs."
Feel free to fork this repository and submit pull requests. We welcome contributions to improve the functionality, user interface, and performance of the application.
This project is licensed under the MIT License. See the LICENSE file for details.
- Thanks to the Replicate team for providing a robust API for AI-based image processing.
- Special thanks to the DelphiFMX for Python team for the amazing cross-platform desktop application framework.