Preliminary home planning is usually manual and fragmented: land details, room layout, parking and cost are handled separately by architects, draftsmen and contractors, so every change in requirements forces redrawing and recalculation. This paper presents DreamHome AI, a web-based home construction plan designer that brings requirement validation, 2D floor-plan generation, parking planning and construction cost estimation into one workflow. A constraint-based algorithm validates the user’s inputs, a rule-based spatial allocation algorithm arranges the rooms within the plot, and geometric checks test room dimensions, plot boundaries and overlapping placements. Cost is estimated from the built-up area and a city-specific construction rate. The application is implemented with a Next.js and TypeScript frontend, a Python FastAPI backend and a PostgreSQL database. A worked example for a 30 ft × 40 ft east-facing plot produces a two-floor, three-bedroom layout and a cost estimate for three quality tiers. The generated plans and estimates are preliminary and must be reviewed by qualified professionals before construction.
Introduction
DreamHome AI is a web-based application designed to simplify and automate the preliminary house-planning process. Traditionally, homeowners depend on architects or contractors to create floor plans and calculate construction costs separately, making the process time-consuming and difficult to modify.
The proposed system integrates land assessment, house requirements, 2D floor-plan generation, parking allocation, and construction cost estimation into a single platform. Users enter details such as plot dimensions, facing direction, number of floors, room requirements, and parking needs. The system validates these inputs and automatically generates a suitable floor plan and estimated construction cost.
The system uses a rule-based and constraint-based planning engine to arrange rooms according to planning principles while ensuring that rooms fit within the available space, do not overlap, meet minimum size requirements, and remain accessible. Parking is also planned based on available space and road access.
Construction cost is calculated using the built-up area, selected city's construction rate per square foot, and additional expenses. The formula is:
C=A×r+EC=A×r+E
DreamHome AI follows a three-layer architecture:
Frontend: Next.js, TypeScript, and Tailwind CSS for the user interface.
Backend: Python FastAPI for authentication, validation, planning, and cost estimation.
Database: PostgreSQL for storing user accounts, projects, requirements, floor plans, and cost estimates.
Compared with the traditional process, DreamHome AI reduces manual effort, simplifies modifications, integrates parking and cost estimation, and allows users to save and regenerate their projects.
The main contribution of this project is providing an integrated platform that connects house requirements, automatic floor-plan generation, parking planning, geometric validation, and preliminary construction cost estimation.
However, the system is limited to preliminary residential planning. It does not generate certified architectural drawings or include structural design, electrical and plumbing plans, government approval drawings, detailed material estimation, or 3D modelling. It is also important to note that DreamHome AI uses predefined rules and constraints rather than a trained machine-learning model.
Conclusion
DreamHome AI integrates land measurement, house requirements, room configuration, floor-plan generation, 2D visualization, parking planning and cost estimation in a single web application. Rule-based and constraint-based logic turns user requirements into a structured plan, and an area-based, city-specific estimate gives an early view of the budget, reducing manual effort in preliminary planning. Future work includes machine-learning models to improve floor-plan generation, cost estimation using regional material prices and labour costs, multilingual support for Indian regional languages, better optimisation of room and parking layout, support for more plot sizes and residential requirements, and stronger project management and report generation.
References
[1] S. Russell and P. Norvig, Artificial Intelligence: A Modern Approach, 4th ed. Hoboken, NJ, USA: Pearson, 2020.
[2] I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning. Cambridge, MA, USA: MIT Press, 2016.
[3] A. Géron, Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 3rd ed. Sebastopol, CA, USA: O’Reilly Media, 2022.
[4] R. Szeliski, Computer Vision: Algorithms and Applications, 2nd ed. Cham, Switzerland: Springer, 2022.
[5] C. Eastman, P. Teicholz, R. Sacks, and K. Liston, BIM Handbook: A Guide to Building Information Modeling for Owners, Managers, Designers, Engineers and Contractors, 2nd ed. Hoboken, NJ, USA: Wiley, 2011.
[6] F. D. K. Ching, Building Construction Illustrated, 5th ed. Hoboken, NJ, USA: Wiley, 2014.
[7] FastAPI documentation. [Online]. Available: https://fastapi.tiangolo.com/
[8] Next.js documentation. [Online]. Available: https://nextjs.org/docs
[9] PostgreSQL Global Development Group, “PostgreSQL documentation.” [Online]. Available: https://www.postgresql.org/docs/
[10] SQLAlchemy 2.0 documentation. [Online]. Available: https://docs.sqlalchemy.org/en/20/
[11] Bureau of Indian Standards, National Building Code of India 2016. New Delhi, India: BIS, 2016.