mcpField
F
floor-plan-generation

floor-plan-generation

github.com/eachlabsデザイン・UI44924 回インストール今日更新
リポジトリ

floor-plan-generation について

each::sense を使って 2D・3D の間取りやインテリアレイアウトを生成するスキルです。建築、不動産、インテリアデザイン向けに、住宅、商業施設、小売店、レストランの図面を家具や寸法付きで作成し、反復編集できます。

主な機能

  1. 012D・3D の間取り図
  2. 02住宅・商業施設のレイアウト
  3. 03小売店・レストランの図面
  4. 04家具の配置
  5. 05縮尺付き寸法と注釈
  6. 06セッションを使った反復編集

活用シーン

  1. 01説明文からアパートの間取りを作成
  2. 02オフィスやレストランの空間計画
  3. 03家具を配置した部屋の図面作成
  4. 04レビュー用の寸法入り図面の準備

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/eachlabs/skills --skill floor-plan-generation

インストール後、Claude Code で/floor-plan-generationを入力して読み込まれたか確認します。

同梱ファイルreferences/SSE-EVENTS.md

詳細

フロアプランの生成

each::sense を使用して、プロフェッショナルなフロアプランや建築レイアウトを生成します。このスキルでは、住宅、商業施設、小売スペース向けの 2D フロアプラン、3D ビジュアライゼーション、インテリアレイアウトを作成できます。

特長

  • 住宅のフロアプラン:戸建て住宅、アパート、コンドミニアム、複数階建て住宅
  • 商業施設のレイアウト:オフィススペース、コワーキングエリア、会議室
  • 小売店のデザイン:店舗レイアウト、商品配置、顧客の動線最適化
  • レストランのプラン:キッチンレイアウト、ダイニングエリア、バーカウンターの配置
  • 3D ビジュアライゼーション:奥行きと遠近感のあるレンダリング済みフロアプラン
  • 家具の配置:家具を配置したインテリアデザイン
  • 寸法と注釈:寸法入りの縮尺プラン

クイックスタート

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a floor plan for a modern 2-bedroom apartment, approximately 900 sq ft, with open kitchen and living area"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

フロアプランの種類とユースケース

種類説明主な用途
2D フロアプラン真上から見た概略図建築、不動産物件の掲載
3D フロアプランアイソメトリック図または透視図マーケティング、クライアントへのプレゼンテーション
家具付きプラン家具を配置したレイアウトインテリアデザイン、ホームステージング
技術図面寸法と注釈付き建設、許認可
概念プラン簡易スケッチ風初期の設計段階

ユースケースの例

1. 説明文からフロアプランを生成
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
2. アパートのレイアウト設計
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
3. 住宅のフロアプラン
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
4. オフィススペースのプラン
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
5. レストランのレイアウト
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
6. 小売店のレイアウト
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
7. 3D フロアプランのビジュアライゼーション
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
8. 家具配置プラン
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
9. 複数階建てのフロアプラン
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
10. 寸法入りフロアプラン
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

ベストプラクティス

フロアプランの仕様
  • 床面積を含める:AI が縮尺や比率を理解しやすくなります
  • 部屋の種類を指定する:必要な部屋を具体的に明示します
  • スタイルに触れる:モダン、伝統的、インダストリアル、ミニマリストなど
  • 動線を考慮する:各スペースのつながり方を説明します
詳細な説明
  • 機能上の要件:利用人数、具体的な用途
  • 部屋の隣接関係:互いに近くに配置する部屋
  • 特別な設備:ウォークインクローゼット、アイランドキッチン、造り付け家具
  • 方位:窓の配置、自然光に関する希望
ビジュアルスタイル
  • 2D 概略図:すっきりした線、建築記号
  • 3D レンダリング:リアルな質感と照明
  • スケッチ風:概念的な手描きの雰囲気
  • ブループリント:寸法入りの技術図面

フロアプランのプロンプトのヒント

フロアプランを依頼するときは、次の詳細を含めてください。

  1. スペースの種類:住宅、商業施設、小売店、レストラン
  2. 総面積:平方フィートまたは平方メートル
  3. 部屋の一覧:必要なすべての部屋とスペース
  4. スタイル:建築およびインテリアデザインのスタイル
  5. 表示形式:2D 真上からの図、3D アイソメトリック図、透視図
  6. 特別な要件:アクセシビリティ、特定の設備
  7. 詳細度:概念図、家具付き、技術図面
プロンプトの構成例
"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.]"

モードの選択

生成を始める前に、ユーザーに確認してください。

「高速で低コストな生成と、高品質な生成のどちらを希望しますか?」

モード最適な用途速度品質
max最終プレゼンテーション、クライアント向け成果物、詳細なプラン遅め最高
eco簡単なコンセプト、初期ドラフト、選択肢の検討速め良好

複数ターンでのデザインの反復

フロアプランのデザインを反復するには、session_id を使用します。

# Initial floor plan
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a floor plan for a 1,500 sq ft 3-bedroom ranch house with open concept living"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "floorplan-project-001"
  }'

# Request modification
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Add a sunroom off the living area and make the master closet larger"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "floorplan-project-001"
  }'

# Convert to 3D view
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Now show this floor plan as a 3D visualization with modern furniture"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "floorplan-project-001"
  }'

比較用の一括生成

比較用に複数のレイアウト案を生成します。

# Option A - Open concept
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a 2-bedroom apartment floor plan, 1,000 sq ft, with completely open concept living/dining/kitchen"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

# Option B - Defined spaces
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a 2-bedroom apartment floor plan, 1,000 sq ft, with separate defined living room, dining room, and kitchen"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

# Option C - Split bedroom layout
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a 2-bedroom apartment floor plan, 1,000 sq ft, with bedrooms on opposite sides of the unit for maximum privacy"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

エラー処理

エラー原因解決策
Failed to create prediction: HTTP 422残高不足eachlabs.ai でチャージしてください
コンテンツポリシー違反禁止されているコンテンツポリシーに準拠するようプロンプトを調整してください
タイムアウト複雑な生成クライアントのタイムアウトを最低 10 分に設定してください

関連スキル

  • each-sense - コア API ドキュメント
  • interior-design-generation - 部屋のスタイリングとインテリア
  • architectural-visualization - 建物の外観とレンダリング
  • real-estate-marketing - 物件のマーケティングビジュアル

コメント