关于 interior-design-visualization
此室内设计可视化 Skill 可将现有房间照片转换为不同风格、家具、配色和布局的改造方案,适用于厨房、浴室、办公室和卧室等空间,并支持连续迭代。
主要功能
- 01根据照片重新设计房间
- 02应用多种室内风格
- 03预览家具摆放效果
- 04更换配色与饰面
- 05生成改造前后对比图
- 06通过会话连续迭代
适用场景
- 01探索客厅的新风格
- 02预览家具在现有空间中的效果
- 03可视化厨房或浴室改造
- 04并排比较不同房间方案
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ eachlabs/ skills --skill interior-design-visualization安装后在 Claude Code 中输入/interior-design-visualization确认已加载。
附带文件references/SSE-EVENTS.md
详细介绍
室内设计可视化
使用 each::sense 改造并可视化室内空间。这项技能可根据现有房间的照片,生成采用不同风格、家具、配色和布局的改造效果图。
功能
- 房间改造:将现有房间改造成全新的设计
- 风格转换:应用现代、极简、波西米亚、工业等风格
- 家具可视化:查看新家具摆放在您的空间中的效果
- 配色方案更改:预览不同颜色的墙面、点缀色和装饰
- 厨房翻新:可视化橱柜、台面和电器的更新效果
- 浴室改造:预览瓷砖、浴室柜和卫浴配件的更换效果
- 办公室设计:打造兼顾效率与美感的工作空间
- 前后对比:生成并排可视化效果图
快速开始
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": "Redesign this living room in a modern minimalist style with neutral colors and clean lines"}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/my-living-room.jpg"],
"mode": "max"
}'
室内设计风格
| 风格 | 特点 | 适用空间 |
|---|---|---|
| 现代 | 线条简洁、配色中性、装饰简约 | 客厅、办公室 |
| 极简 | 家具稀少、以白色和浅色为主、空间开阔 | 任何房间 |
| 斯堪的纳维亚 | 浅色木材、白墙、舒适的纺织品 | 卧室、客厅 |
| 工业 | 裸露砖墙、金属点缀、原始材质 | Loft、公寓厨房 |
| 波西米亚 | 色彩浓郁、图案丰富、装饰不拘一格 | 卧室、客厅 |
| 世纪中叶现代 | 复古家具、暖色木材、大胆配色 | 客厅、办公室 |
| 农舍 | 质朴木材、中性色、复古点缀 | 厨房、餐厅 |
| 当代 | 紧随潮流、材质混搭、格调优雅 | 任何房间 |
| 海岸 | 浅蓝色、白色、天然肌理 | 卧室、浴室 |
| 传统 | 经典家具、浓郁配色、精致细节 | 正式空间 |
使用场景示例
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": "Completely redesign this room. Keep the same layout but update all furniture, decor, and colors. Make it feel more luxurious and sophisticated with a contemporary style. Include a statement light fixture and add some greenery."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/current-room.jpg"],
"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": "Transform this cluttered traditional living room into a minimalist Japanese-inspired space. Remove excess furniture, use a neutral color palette with whites and light wood tones, add a low platform sofa, and incorporate zen elements like a simple indoor plant and natural light."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/traditional-room.jpg"],
"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": "Add furniture to this empty living room: place a large L-shaped sectional sofa in gray fabric facing the window, a round marble coffee table in the center, two accent armchairs in terracotta velvet, a media console against the wall, and a large area rug underneath. Keep the existing flooring and wall color."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/empty-living-room.jpg"],
"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": "Change the color scheme of this room. Paint the walls in a deep forest green, update the curtains to cream linen, add gold accent pieces, and change the throw pillows to mustard yellow and cream. Keep all existing furniture but change the soft furnishings."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/beige-room.jpg"],
"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": "Remodel this dated kitchen into a modern farmhouse style. Replace the cabinets with white shaker-style cabinets, add a large kitchen island with a butcher block top, install stainless steel appliances, add subway tile backsplash, change countertops to white quartz, and include open shelving on one wall. Add pendant lights over the island."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/old-kitchen.jpg"],
"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": "Transform this outdated bathroom into a spa-like retreat. Replace the vanity with a floating double vanity in walnut wood, add a frameless glass shower enclosure, install large format white marble-look tiles on the walls, add matte black fixtures and hardware, include a freestanding soaking tub if space allows, and add warm LED lighting behind the mirror."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/bathroom-before.jpg"],
"mode": "max"
}'
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": "Design this spare bedroom as a professional home office. Add a large L-shaped desk in walnut, an ergonomic mesh office chair, built-in bookshelves on one wall, proper task lighting with a desk lamp and overhead light, some indoor plants for freshness, and a comfortable reading nook by the window. Keep it professional but warm."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/spare-bedroom.jpg"],
"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": "Give this master bedroom a luxury hotel makeover. Add an upholstered king bed with a tall tufted headboard in gray velvet, matching nightstands with elegant table lamps, a bench at the foot of the bed, floor-to-ceiling curtains in a soft white, layered bedding in white and taupe, and a plush area rug. Create a serene and sophisticated atmosphere."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/bedroom-current.jpg"],
"mode": "max"
}'
9. 客厅风格选项(多轮对话)
利用会话连续性,为同一房间生成多种风格方案。
# First option - Modern 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": "Redesign this living room in a modern contemporary style with clean lines, neutral colors, and sophisticated furniture. Include a sectional sofa, modern coffee table, and contemporary art."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/living-room.jpg"],
"session_id": "living-room-options-001",
"mode": "max"
}'
# Second option - Bohemian 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 redesign the same living room in a bohemian style. Use rich colors, layered textiles, eclectic furniture, lots of plants, and global-inspired decor. Make it feel cozy and collected."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "living-room-options-001",
"mode": "max"
}'
# Third option - Scandinavian 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": "Create a third option with Scandinavian style. Light wood floors, white walls, minimal furniture in light colors, cozy textiles like sheepskin throws, and plenty of natural light. Keep it simple and hygge."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "living-room-options-001",
"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 dramatic before and after comparison. Take this dated 1990s living room and transform it into a modern 2024 design. Show both versions side by side - the original on the left and the redesigned version on the right. The new design should feature contemporary furniture, updated lighting, modern color palette, and current design trends."}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/dated-room.jpg"],
"mode": "max"
}'
最佳实践
照片要求
- 光线充足:使用光线充足的照片,以获得最佳效果
- 角度清晰:展示整个房间的广角照片效果最佳
- 减少遮挡:移走洗衣物或个人物品等临时物品
- 多个角度:对于复杂项目,请提供多个视角的照片
提示词建议
- 描述具体:明确说明具体风格、颜色和材质
- 说明空间情况:描述需要保留和更改的内容
- 提供细节:说明灯光、肌理和配饰
- 设定氛围:描述您想要的氛围(舒适、奢华、明亮)
提示词结构示例
"Transform this [room type] into a [style] design.
[Specific changes for major elements like walls, floors, furniture]
[Color palette preferences]
[Lighting requirements]
[Accessories and decor]
[Overall mood/atmosphere]"
模式选择
生成前请询问用户:
“您想要速度快、成本低,还是质量高?”
| 模式 | 适用场景 | 速度 | 质量 |
|---|---|---|---|
max | 最终设计演示、客户提案 | 较慢 | 最高 |
eco | 快速探索概念、初步构思 | 较快 | 良好 |
多轮设计优化
使用 session_id 迭代设计:
# Initial design
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": "Redesign this bedroom in a modern style with neutral colors"}],
"model": "eachsense/beta",
"stream": true,
"image_urls": ["https://example.com/bedroom.jpg"],
"session_id": "bedroom-project-001",
"mode": "max"
}'
# Refine based on feedback
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": "I like it but make the headboard larger and add more warm wood tones. Also add some plants."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "bedroom-project-001",
"mode": "max"
}'
# Final 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": "Perfect! Now add some artwork above the bed and change the throw pillows to a dusty rose color."}],
"model": "eachsense/beta",
"stream": true,
"session_id": "bedroom-project-001",
"mode": "max"
}'
错误处理
| 错误 | 原因 | 解决方案 |
|---|---|---|
Failed to create prediction: HTTP 422 | 余额不足 | 在 eachlabs.ai 充值 |
| 内容政策违规 | 内容被禁止 | 调整提示词,使其符合内容政策 |
| 超时 | 生成过程复杂 | 将客户端超时设置为至少 10 分钟 |
| 图片无法访问 | URL 无效或为私有链接 | 使用可公开访问的图片 URL |
相关技能
each-sense- 核心 API 文档product-photo-generation- 电商产品图片meta-ad-creative-generation- 社交媒体广告创意
评论
支持 Markdown