mcpField
V
virtual-staging

virtual-staging

github.com/eachlabs创意与媒体44298 次安装今天更新
代码仓库

关于 virtual-staging

virtual-staging 是使用 each::sense 将空置或陈旧房间图像布置成家具齐全空间的技能,面向房地产从业者及房产展示制作人员。它支持多种室内风格、商业空间布置,以及移除旧家具后重新布置。

主要功能

  1. 01布置客厅、卧室和厨房
  2. 02生成家庭办公室及户外空间
  3. 03支持多种室内设计风格
  4. 04布置办公室和零售等商业空间
  5. 05移除旧家具并重新布置

适用场景

  1. 01为房源照片添加家具与装饰
  2. 02为同一房间制作多种风格方案
  3. 03将空房间转为家庭办公空间
  4. 04更新陈旧家具并重新布置房间

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/eachlabs/skills --skill virtual-staging

安装后在 Claude Code 中输入/virtual-staging确认已加载。

附带文件references/SSE-EVENTS.md

详细介绍

虚拟布置

使用 each::sense 将空荡或陈旧的房间改造成布置精美的空间。这项技能可为房地产挂牌房源创建逼真的虚拟布置,帮助房产快 73% 售出,并使房源浏览量增加 72%。

功能

  • 客厅布置:将空荡的空间改造成温馨宜人的起居空间
  • 卧室布置:打造舒适、令人向往的卧室
  • 厨房布置:通过现代电器和装饰展现厨房的潜力
  • 家庭办公室布置:以实用的工作空间吸引远程办公者
  • 户外/庭院布置:呈现户外生活空间
  • 多种风格选项:现代、传统、极简、当代等
  • 商业空间布置:办公室、零售店和商业房产
  • 清理杂物并重新布置:移除现有家具,并以更佳设计重新布置

快速开始

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": "Stage this empty living room with modern furniture, neutral tones, and natural lighting. Add a sectional sofa, coffee table, area rug, and minimal decor."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/empty-living-room.jpg"]
  }'

为什么选择虚拟布置?

指标效果
更快售出比未布置的房源快 73%
更多浏览量房源浏览量增加 72%
节省成本比实体布置便宜 95%
周转时间只需几分钟,而非几天

用例示例

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": "Stage this empty living room with warm, inviting furniture. Add a large comfortable sofa, accent chairs, coffee table, area rug, floor lamp, and subtle wall art. Use neutral earth tones that appeal to broad buyers."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/empty-living-room.jpg"]
  }'
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": "Stage this empty bedroom as a master suite. Add a king-size bed with plush bedding, nightstands with lamps, a bench at the foot of the bed, and soft curtains. Keep it elegant but not cluttered. Neutral color palette with subtle blue accents."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/empty-bedroom.jpg"]
  }'
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": "Stage this kitchen with lifestyle elements. Add bar stools at the island, pendant lighting, a fruit bowl on the counter, fresh flowers in a vase, and coordinated dish towels. Make it look lived-in but immaculate, ready for a real estate photo."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/empty-kitchen.jpg"]
  }'
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": "Transform this empty room into a professional home office. Add a modern desk with ergonomic chair, bookshelf with books and decor, desk lamp, and a small plant. Include good task lighting and keep it organized and productive-looking."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/empty-room.jpg"]
  }'
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": "Stage this empty patio/deck area as an outdoor living space. Add comfortable outdoor seating with cushions, a coffee table, potted plants, string lights, and outdoor rug. Make it feel like an extension of the home, perfect for entertaining."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/empty-patio.jpg"]
  }'
6. 不同的家具风格

以不同的设计美学呈现同一房间。

# Modern/Contemporary Style
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": "Stage this room in modern contemporary style. Clean lines, minimal furniture, neutral colors with bold accent pieces, geometric patterns, and sleek finishes. Include a low-profile sofa, glass coffee table, and abstract wall art."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/empty-room.jpg"],
    "session_id": "staging-styles-demo"
  }'

# Traditional Style (same session for comparison)
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 stage the same room in traditional style. Classic furniture with curved lines, rich wood tones, warm colors, elegant fabrics, and ornate details. Include a classic sofa, wooden coffee table, and traditional artwork."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "staging-styles-demo"
  }'

# Minimalist Style (same session)
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 stage it minimalist style. Very few furniture pieces, lots of negative space, monochromatic color scheme, essential items only. Simple sofa, single plant, minimal decor. Less is more."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "staging-styles-demo"
  }'
7. 商业空间布置

布置办公楼、零售空间和商业房产。

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": "Stage this empty commercial office space. Add modern workstations, ergonomic chairs, a reception area with seating, plants, and professional decor. Make it look like a productive, appealing workplace that companies would want to lease."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/empty-office-space.jpg"]
  }'
8. 布置前后对比——多视图

为多个房间创建布置效果,完善整套房源展示。

# Living room
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": "Stage this living room photo for a real estate listing. Modern farmhouse style with comfortable furniture, cozy textiles, and warm lighting. Keep architectural features visible."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/listing-living-room.jpg"],
    "session_id": "full-home-staging"
  }'

# Master bedroom (same listing, same session)
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 stage the master bedroom in the same modern farmhouse style. Maintain consistency with the living room staging. King bed with white linens, wooden nightstands, soft lighting."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/listing-master-bedroom.jpg"],
    "session_id": "full-home-staging"
  }'
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": "Stage this empty living room in 3 different styles: 1) Coastal - light blues, whites, natural textures, beachy vibe 2) Mid-century modern - iconic furniture shapes, warm wood tones, retro accents 3) Scandinavian - light woods, white and gray palette, cozy hygge feel. Generate all three versions."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/empty-living-room.jpg"]
  }'
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": "This room has old, dated furniture. Remove all existing furniture and restage with modern, neutral furniture that will appeal to more buyers. Keep the room layout logical but update everything - sofa, chairs, tables, decor. Make it look like a model home."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max",
    "image_urls": ["https://example.com/dated-living-room.jpg"]
  }'

布置风格参考

风格主要元素适用场景
现代简洁线条、中性色彩、极简装饰城市公寓、新建房屋
传统经典家具、温暖的木材、优雅的面料成熟社区、殖民风格住宅
极简只保留必需家具,空间宽敞小型公寓、现代住宅
农舍质朴木材、舒适纺织品、复古点缀郊区住宅、乡村房产
海岸浅蓝色、白色、天然质感海滨房产、温暖气候地区
世纪中期标志性造型、暖色调、复古点缀20 世纪 50 至 60 年代住宅、时尚城区
斯堪的纳维亚浅色木材、白色调、舒适宜人的氛围现代公寓、年轻买家
工业裸露结构、金属点缀、都市风格阁楼、公寓改造空间

模式选择

模式适用场景速度质量
max最终房源照片、交付客户的成果较慢最高
eco快速预览、风格探索、批量处理较快良好

多轮创意迭代

使用 session_id 优化布置结果:

# Initial staging
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": "Stage this empty living room with modern furniture"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/empty-room.jpg"],
    "session_id": "living-room-project"
  }'

# Request adjustments
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": "The sofa looks good, but can you add more warmth? Add some throw pillows, a cozy blanket, and warmer lighting"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "living-room-project"
  }'

# Try a different arrangement
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": "Actually, lets try a different furniture arrangement with the sofa facing the window instead"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "living-room-project"
  }'

最佳实践

房地产挂牌房源
  • 风格大众化:使用能吸引尽可能广泛受众的颜色和风格
  • 展现空间尺度:摆放家具,帮助买家了解房间尺寸
  • 保留房屋特色:确保建筑细节(壁炉、窗户、装饰线条)清晰可见
  • 保持一致性:确保整套房源中的风格一致
实现最逼真的效果
  • 匹配光线:要求家具与房间现有的光线相匹配
  • 尺寸适宜:确保家具在空间中摆放自然
  • 阴影与反射:高质量的布置效果应包含逼真的阴影
专业建议
  • 始终提供高分辨率的源图像
  • 提前指定风格,避免反复调整
  • 使用 session_id,在多个房间中生成风格一致的效果
  • 对于空置房屋,为主要的待售房间布置家具:客厅、主卧和厨房

错误处理

错误原因解决方案
Failed to create prediction: HTTP 422余额不足在 eachlabs.ai 充值
内容政策违规内容被禁止调整提示词
超时生成过程复杂将客户端超时时间设为至少 10 分钟

相关技能

  • each-sense - 核心 API 文档
  • product-photo-generation - 电商产品照片
  • image-edit - 通用图像编辑功能

评论

支持 Markdown