floor-plan-generation

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Floor Plan Generation

平面图生成

Generate professional floor plans and architectural layouts using each::sense. This skill creates 2D floor plans, 3D visualizations, and interior layouts for residential, commercial, and retail spaces.
借助each::sense生成专业的平面图与建筑布局。该技能可为住宅、商业及零售空间创建2D平面图、3D可视化效果与室内布局。

Features

功能特性

  • Residential Floor Plans: Houses, apartments, condos, and multi-story homes
  • Commercial Layouts: Office spaces, co-working areas, meeting rooms
  • Retail Designs: Store layouts, product placement, customer flow optimization
  • Restaurant Plans: Kitchen layouts, dining areas, bar setups
  • 3D Visualizations: Rendered floor plans with depth and perspective
  • Furniture Arrangements: Interior design with furniture placement
  • Measurements & Annotations: Scaled plans with dimensions
  • 住宅平面图:独栋住宅、公寓、共管公寓及多层住宅
  • 商业空间布局:办公区、联合办公空间、会议室
  • 零售空间设计:店铺布局、产品陈列、顾客动线优化
  • 餐厅方案:厨房布局、用餐区、吧台设置
  • 3D可视化效果:带有深度与透视感的渲染平面图
  • 家具布置:包含家具摆放的室内设计方案
  • 尺寸标注:带精确尺寸的比例平面图

Quick Start

快速开始

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a floor plan for a modern 2-bedroom apartment, approximately 900 sq ft, with open kitchen and living area",
    "mode": "max"
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a floor plan for a modern 2-bedroom apartment, approximately 900 sq ft, with open kitchen and living area",
    "mode": "max"
  }'

Floor Plan Types & Use Cases

平面图类型及应用场景

TypeDescriptionCommon Applications
2D Floor PlanTop-down schematic viewArchitecture, real estate listings
3D Floor PlanIsometric or perspective viewMarketing, client presentations
Furnished PlanLayout with furnitureInterior design, staging
Technical PlanWith measurements and annotationsConstruction, permits
Conceptual PlanQuick sketch styleEarly design phases
类型说明常见应用场景
2D平面图俯视示意图建筑设计、房产挂牌
3D平面图等轴测或透视图营销推广、客户演示
带家具平面图包含家具的布局室内设计、房屋 staging
技术平面图带尺寸标注施工、审批报备
概念平面图快速草图风格早期设计阶段

Use Case Examples

应用场景示例

1. Generate Floor Plan from Description

1. 根据描述生成平面图

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Generate a floor plan for a single-story family home with 3 bedrooms, 2 bathrooms, a large open-concept kitchen and living room, home office, and attached 2-car garage. Modern minimalist style.",
    "mode": "max"
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Generate a floor plan for a single-story family home with 3 bedrooms, 2 bathrooms, a large open-concept kitchen and living room, home office, and attached 2-car garage. Modern minimalist style.",
    "mode": "max"
  }'

2. Apartment Layout Design

2. 公寓布局设计

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Design a studio apartment floor plan, 550 sq ft. Include a sleeping area, kitchenette, bathroom, and living space. Maximize natural light with large windows. Modern urban style with efficient use of space.",
    "mode": "max"
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Design a studio apartment floor plan, 550 sq ft. Include a sleeping area, kitchenette, bathroom, and living space. Maximize natural light with large windows. Modern urban style with efficient use of space.",
    "mode": "max"
  }'

3. House Floor Plan

3. 住宅平面图

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a traditional 2-story house floor plan. Ground floor: entryway, living room, dining room, kitchen, half bath, mudroom. Second floor: master suite with walk-in closet and en-suite, 3 additional bedrooms, 2 full bathrooms, laundry room. Approximately 2,800 sq ft total.",
    "mode": "max"
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a traditional 2-story house floor plan. Ground floor: entryway, living room, dining room, kitchen, half bath, mudroom. Second floor: master suite with walk-in closet and en-suite, 3 additional bedrooms, 2 full bathrooms, laundry room. Approximately 2,800 sq ft total.",
    "mode": "max"
  }'

4. Office Space Plan

4. 办公空间布局

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Design an open office floor plan for a tech startup, 3,000 sq ft. Include: open workspace for 30 employees with standing desk options, 3 private offices, 2 meeting rooms (one for 8, one for 4), a phone booth area, kitchen/break room, reception area, and server room. Modern collaborative workspace aesthetic.",
    "mode": "max"
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Design an open office floor plan for a tech startup, 3,000 sq ft. Include: open workspace for 30 employees with standing desk options, 3 private offices, 2 meeting rooms (one for 8, one for 4), a phone booth area, kitchen/break room, reception area, and server room. Modern collaborative workspace aesthetic.",
    "mode": "max"
  }'

5. Restaurant Layout

5. 餐厅布局

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a floor plan for a 2,500 sq ft casual dining restaurant. Include: main dining area seating 60 guests, bar area with 12 bar stools, commercial kitchen with separate prep and cooking areas, walk-in cooler, restrooms, staff area, and outdoor patio seating for 20. Optimize customer flow and server paths.",
    "mode": "max"
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a floor plan for a 2,500 sq ft casual dining restaurant. Include: main dining area seating 60 guests, bar area with 12 bar stools, commercial kitchen with separate prep and cooking areas, walk-in cooler, restrooms, staff area, and outdoor patio seating for 20. Optimize customer flow and server paths.",
    "mode": "max"
  }'

6. Retail Store Layout

6. 零售店布局

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Design a retail clothing store floor plan, 1,800 sq ft. Include: storefront display windows, main sales floor with clothing racks and display tables, fitting rooms (4 units), checkout counter area, stockroom, and small office. Create a customer journey that maximizes product exposure. Contemporary boutique style.",
    "mode": "max"
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Design a retail clothing store floor plan, 1,800 sq ft. Include: storefront display windows, main sales floor with clothing racks and display tables, fitting rooms (4 units), checkout counter area, stockroom, and small office. Create a customer journey that maximizes product exposure. Contemporary boutique style.",
    "mode": "max"
  }'

7. 3D Floor Plan Visualization

7. 3D平面图可视化

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a 3D isometric floor plan visualization of a luxury penthouse apartment. Show the layout from an elevated angle with visible furniture, textures, and materials. Include living room, dining area, gourmet kitchen, master bedroom, two guest bedrooms, and wraparound terrace. High-end modern interior design with warm lighting.",
    "mode": "max"
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a 3D isometric floor plan visualization of a luxury penthouse apartment. Show the layout from an elevated angle with visible furniture, textures, and materials. Include living room, dining area, gourmet kitchen, master bedroom, two guest bedrooms, and wraparound terrace. High-end modern interior design with warm lighting.",
    "mode": "max"
  }'

8. Furniture Arrangement Plan

8. 家具布置方案

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a furnished floor plan for a 400 sq ft living room. The room is rectangular (20ft x 20ft) with windows on the south wall and entry door on the north wall. Include furniture placement for: sectional sofa, coffee table, TV console, two accent chairs, bookshelf, and floor lamp. Focus on conversation-friendly arrangement with good TV viewing angles.",
    "mode": "max"
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a furnished floor plan for a 400 sq ft living room. The room is rectangular (20ft x 20ft) with windows on the south wall and entry door on the north wall. Include furniture placement for: sectional sofa, coffee table, TV console, two accent chairs, bookshelf, and floor lamp. Focus on conversation-friendly arrangement with good TV viewing angles.",
    "mode": "max"
  }'

9. Multi-Story Floor Plan

9. 多层住宅平面图

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Design a 3-story townhouse floor plan. Basement: home gym, media room, full bathroom, utility room. Ground floor: open living/dining/kitchen, powder room, back patio access. Second floor: master suite with walk-in closet and spa bathroom, two bedrooms with shared bathroom, small home office nook. Show all three levels side by side.",
    "mode": "max"
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Design a 3-story townhouse floor plan. Basement: home gym, media room, full bathroom, utility room. Ground floor: open living/dining/kitchen, powder room, back patio access. Second floor: master suite with walk-in closet and spa bathroom, two bedrooms with shared bathroom, small home office nook. Show all three levels side by side.",
    "mode": "max"
  }'

10. Floor Plan with Measurements

10. 带尺寸标注的平面图

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a technical floor plan with detailed measurements for a 1,200 sq ft 2-bedroom apartment. Show room dimensions, door widths, window placements with sizes, and wall thicknesses. Include: living room (15x18 ft), kitchen (10x12 ft), master bedroom (12x14 ft), second bedroom (10x12 ft), bathroom (8x6 ft), and hallway. Architectural blueprint style with dimension lines.",
    "mode": "max"
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Create a technical floor plan with detailed measurements for a 1,200 sq ft 2-bedroom apartment. Show room dimensions, door widths, window placements with sizes, and wall thicknesses. Include: living room (15x18 ft), kitchen (10x12 ft), master bedroom (12x14 ft), second bedroom (10x12 ft), bathroom (8x6 ft), and hallway. Architectural blueprint style with dimension lines.",
    "mode": "max"
  }'

Best Practices

最佳实践

Floor Plan Specifications

平面图规格

  • Include square footage: Helps AI understand scale and proportions
  • Specify room types: Be explicit about which rooms you need
  • Mention style: Modern, traditional, industrial, minimalist, etc.
  • Consider flow: Describe how spaces should connect
  • 包含面积:帮助AI理解空间规模与比例
  • 明确房间类型:清晰说明所需的各类空间
  • 指定风格:现代风、传统风、工业风、极简风等
  • 考虑动线:描述空间之间的连接方式

Detailed Descriptions

详细描述

  • Functional requirements: Number of occupants, specific use cases
  • Adjacencies: Which rooms should be near each other
  • Special features: Walk-in closets, islands, built-ins
  • Orientation: Window placement, natural light preferences
  • 功能需求:居住人数、具体使用场景
  • 空间关联性:哪些房间需要相邻
  • 特殊功能区:步入式衣帽间、中岛台、嵌入式设施
  • 朝向偏好:窗户位置、自然光需求

Visual Style

视觉风格

  • 2D schematic: Clean lines, architectural symbols
  • 3D rendered: Realistic textures and lighting
  • Sketch style: Conceptual, hand-drawn look
  • Blueprint: Technical with measurements
  • 2D示意图:简洁线条、建筑符号
  • 3D渲染图:真实材质与灯光效果
  • 草图风格:概念性手绘效果
  • 蓝图风格:带尺寸标注的技术图纸

Prompt Tips for Floor Plans

平面图生成提示词技巧

When requesting floor plans, include these details:
  1. Space Type: Residential, commercial, retail, restaurant
  2. Total Area: Square footage or meters
  3. Room List: All rooms and spaces needed
  4. Style: Architectural and interior design style
  5. View Type: 2D top-down, 3D isometric, perspective
  6. Special Requirements: Accessibility, specific features
  7. Level of Detail: Conceptual, furnished, technical
请求生成平面图时,请包含以下细节:
  1. 空间类型:住宅、商业、零售、餐厅
  2. 总面积:平方英尺或平方米
  3. 房间列表:所有需要的空间
  4. 风格:建筑与室内设计风格
  5. 视图类型:2D俯视、3D等轴测、透视视图
  6. 特殊要求:无障碍设计、特定功能区
  7. 详细程度:概念性、带家具、技术级

Example Prompt Structure

提示词结构示例

"Create a [view type] floor plan for a [space type], [total area].
Include [room list].
Style: [architectural/interior style].
[Additional requirements like measurements, furniture, etc.]"
"创建一个[视图类型]平面图,适用于[空间类型],面积为[总面积]。
包含[房间列表]。
风格:[建筑/室内设计风格]。
[额外要求,如尺寸标注、家具布置等]"

Mode Selection

模式选择

Ask your users before generating:
"Do you want fast & cheap, or high quality?"
ModeBest ForSpeedQuality
max
Final presentations, client deliverables, detailed plansSlowerHighest
eco
Quick concepts, initial drafts, exploring optionsFasterGood
生成前请询问用户:
"您需要快速低成本的方案,还是高品质的成果?"
模式适用场景速度质量
max
最终演示、客户交付、详细方案较慢最高
eco
快速概念、初始草稿、方案对比较快良好

Multi-Turn Design Iteration

多轮设计迭代

Use
session_id
to iterate on floor plan designs:
bash
undefined
使用
session_id
进行平面图设计迭代:
bash
undefined

Initial floor plan

初始平面图

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a floor plan for a 1,500 sq ft 3-bedroom ranch house with open concept living", "session_id": "floorplan-project-001" }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a floor plan for a 1,500 sq ft 3-bedroom ranch house with open concept living", "session_id": "floorplan-project-001" }'

Request modification

请求修改

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Add a sunroom off the living area and make the master closet larger", "session_id": "floorplan-project-001" }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Add a sunroom off the living area and make the master closet larger", "session_id": "floorplan-project-001" }'

Convert to 3D view

转换为3D视图

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Now show this floor plan as a 3D visualization with modern furniture", "session_id": "floorplan-project-001" }'
undefined
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Now show this floor plan as a 3D visualization with modern furniture", "session_id": "floorplan-project-001" }'
undefined

Batch Generation for Comparisons

批量生成用于方案对比

Generate multiple layout options for comparison:
bash
undefined
生成多种布局选项以便对比:
bash
undefined

Option A - Open concept

选项A - 开放式布局

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a 2-bedroom apartment floor plan, 1,000 sq ft, with completely open concept living/dining/kitchen", "mode": "eco" }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a 2-bedroom apartment floor plan, 1,000 sq ft, with completely open concept living/dining/kitchen", "mode": "eco" }'

Option B - Defined spaces

选项B - 独立空间布局

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a 2-bedroom apartment floor plan, 1,000 sq ft, with separate defined living room, dining room, and kitchen", "mode": "eco" }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a 2-bedroom apartment floor plan, 1,000 sq ft, with separate defined living room, dining room, and kitchen", "mode": "eco" }'

Option C - Split bedroom layout

选项C - 卧室分离式布局

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a 2-bedroom apartment floor plan, 1,000 sq ft, with bedrooms on opposite sides of the unit for maximum privacy", "mode": "eco" }'
undefined
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Create a 2-bedroom apartment floor plan, 1,000 sq ft, with bedrooms on opposite sides of the unit for maximum privacy", "mode": "eco" }'
undefined

Error Handling

错误处理

ErrorCauseSolution
Failed to create prediction: HTTP 422
Insufficient balanceTop up at eachlabs.ai
Content policy violationProhibited contentAdjust prompt to comply with policies
TimeoutComplex generationSet client timeout to minimum 10 minutes
错误原因解决方案
Failed to create prediction: HTTP 422
余额不足前往eachlabs.ai进行充值
内容政策违规包含禁止内容调整提示词以符合政策要求
请求超时生成任务复杂将客户端超时设置为至少10分钟

Related Skills

相关技能

  • each-sense
    - Core API documentation
  • interior-design-generation
    - Room styling and decor
  • architectural-visualization
    - Building exteriors and renders
  • real-estate-marketing
    - Property marketing visuals
  • each-sense
    - 核心API文档
  • interior-design-generation
    - 房间风格与装饰设计
  • architectural-visualization
    - 建筑外观与渲染效果
  • real-estate-marketing
    - 房产营销视觉素材