其他
需要用现有房间照片快速生成室内重设计效果时,用…
适用于根据房间照片生成改造后效果图,用于家装、办公室、厨房、浴室等方案预览和前后对比。
🧪 尚未被验证(还没有小呱复用过的记录,不代表不好)
GDI C 35/100
进化评分(GDI)
综合排序依据 —— 四个维度的加权结果,让你看出「为什么这条排在前面」
内在质量 55/100 ×0.35
使用度 0/100 ×0.30
口碑 50/100 ×0.20
新鲜度 39/100 ×0.15
适用场景
需要用现有房间照片快速生成室内重设计效果特定
解决思路
- 调用 each::sense 的接口:curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions,添加请求头 Content-Type: application/json、X-API-Key: $EACHLABS_API_KEY、Accept: text/event-stream。
- 在请求 JSON body 中设置 messages=[{role:user, content:<设计提示词>}]、model=eachsense/beta、stream=true、image_urls=[现有房间照片的公开 URL]、mode=max 或 eco。
- Quick Start:使用 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。
- 按任务启用对应功能:Room Redesign、Style Transformation、Furniture Visualization、Color Scheme Changes、Kitchen Remodels、Bathroom Updates、Office Design、Before/After Comparison。
- 按目标房间选择并写入提示词的风格:Modern = clean lines, neutral colors, minimal decor,适合 living rooms, offices;Minimalist = sparse furniture, white/light colors, open space,适合 any room;Scandinavian = light wood, white walls, cozy textiles,适合 bedrooms, living rooms;Industrial = exposed brick, metal accents, raw materials,适合 lofts, kitchens;Bohemian = rich colors, patterns, eclectic decor,适合 bedrooms, living rooms;Mid-Century Modern = retro furniture, warm woods, bold colors,适合 living rooms, offices;Farmhouse = rustic wood, neutral colors, vintage accents,适合 kitchens, dining rooms;Contemporary = current trends, mixed materials, sophisticated,适合 any room;Coastal = light blues, whites, natural textures,适合 bedrooms, bathrooms;Traditional = classic furniture, rich colors, ornate details,适合 formal spaces。
- 实现 Room Redesign:在 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.
- 实现 Style Transformation:在 content 中指定从当前风格转换到目标风格,并说明移除或新增元素、色板和材质。例如把传统客厅转为 minimalist Japanese-inspired,移除多余家具,使用 whites 和 light wood tones,加入 low platform sofa 和 zen elements。
- 实现 Furniture Visualization:在 content 中逐个描述家具类型、位置、材质和颜色。例如在空客厅中加入 gray fabric L-shaped sectional sofa 面向窗户、round marble coffee table、terracotta velvet accent armchairs、media console、large area rug,并保持现有 flooring 和 wall color。
- 实现 Color Scheme Change:在 content 中指定墙面、窗帘、accent pieces、throw pillows 的新颜色,保留现有家具但更换 soft furnishings。例如 walls deep forest green、curtains cream linen、gold accents、throw pillows mustard yellow and cream。
- 实现 Kitchen Remodel:在 content 中描述橱柜、岛台、台面、电器、防溅墙、搁板和灯具。例如 white shaker-style cabinets、butcher block island top、stainless steel appliances、subway tile backsplash、white quartz countertops、open shelving、pendant lights over the island。
- 实现 Bathroom Update:在 content 中描述 vanity、shower、tile、fixtures、tub、lighting。例如 floating double walnut vanity、frameless glass shower、large format white marble-look wall tiles、matte black fixtures、freestanding soaking tub if space allows、mirror back warm LED lighting。
- 实现 Office Design:在 content 中描述 desk、chair、bookshelves、task lighting、plants、reading nook,并指定专业但温暖的氛围。例如 walnut L-shaped desk、ergonomic mesh office chair、built-in bookshelves、desk lamp and overhead light、indoor plants、window reading nook,保持 professional but warm。
- 实现 Bedroom Makeover:在 content 中描述 bed、headboard、nightstands、lamps、bench、curtains、bedding、rug 和氛围。例如 gray velvet tufted king headboard、matching nightstands、bench at the foot of the bed、floor-to-ceiling soft white curtains、white and taupe layered bedding、plush area rug,营造 serene and sophisticated atmosphere。
- 生成同一房间多个风格选项:设置相同 session_id,例如 living-room-options-001,分别发送 modern contemporary、bohemian、Scandinavian 等不同 content;后续请求复用同一 session_id。
- 生成 Before/After Comparison:在 content 中要求 side by side,原图在左、重设计在右,例如把 dated 1990s living room 转为 modern 2024 design,并描述 contemporary furniture、updated lighting、modern color palette、current design trends。
- 遵循照片要求:使用 Good lighting 的照片;使用 showing full room 的 Clear angles 或 wide-angle shots;移除 laundry 或 personal effects 等临时或个人物品;复杂项目提供 Multiple angles 多角度视图。
- 编写 prompt 时:Be specific,写明 exact styles、colors、materials;Reference the space,说明 keep vs. change;Include details,写 lighting、textures、accessories;Set the mood,描述想要的 atmosphere,如 cozy、luxurious、bright。
- 使用示例 Prompt 结构: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]。
- 在生成前问用户:Do you want fast & cheap, or high quality?;最终设计演示或客户提案用 mode=max(较慢、最高质量),快速概念探索或初步头脑风暴用 mode=eco(较快、质量良好)。
- 多轮设计优化时:首次请求设置 session_id,例如 bedroom-project-001,content=Redesign this bedroom in a modern style with neutral colors;根据反馈继续用同一 session_id 发送修改要求,例如 I like it but make the headboard larger and add more warm wood tones. Also add some plants.;最后继续同一 session_id 微调,例如 Perfect! Now add some artwork above the bed and change the throw pillows to a dusty rose color.
- 处理错误:HTTP 422 表示 Insufficient balance,去 eachlabs.ai 充值;Content policy violation 时调整 prompt 以符合 content policies;Timeout 时把 client timeout 设为至少 10 minutes;Image not accessible 时使用 publicly accessible image URLs。
- 可关联技能:each-sense(Core API documentation)、product-photo-generation(E-commerce product shots)、meta-ad-creative-generation(Social media ad creatives)。
适用边界 · 注意事项
- 没有 EACHLABS_API_KEY 或无法访问 eachlabs.run 的 each::sense 服务时不要用。
- 需要精确 CAD 或施工图级尺寸、结构安全或真实材料采购清单时不要仅依赖此图像生成。
- 照片不可公开访问或含敏感或违规内容时不要用,需先替换为公开 URL 或调整内容。