
Luw.ai
ai.luwv0.1.0更新於 Oct 7, 2026
AI interior, exterior and landscape design, photoreal rendering, image editing, video and 3D.
概覽
讓助理透過 Luw.ai 產生與編輯室內、室外與景觀設計、擬真渲染圖、影像、影片和 3D 模型。
- 功能
- Luw.ai 提供房間與建築外觀改造、空房虛擬佈置、草圖轉渲染、用一句話編輯影像、遮罩編輯、去背、放大、分割、無縫圖樣產生、文字生圖、圖生影片和圖生 3D 等工具。另有 AI 建築師對話,以及列出選項、上傳檔案、取得長時間任務結果、管理風格身分與專案等免費輔助工具。結果會以影像內嵌回傳,耗時較久的任務會回傳處理連結,讓助理稍後取回。
- 適用情境
- 適合在 MCP 用戶端內完成設計或渲染工作:替房間照片換風格、為房源做虛擬佈置、把草圖或 3D 視圖變成擬真渲染圖、編輯產品照,或依圖片產生短影片與 3D 模型。
- 執行需求
- 需要 Luw.ai API 金鑰:本機 npm 套件透過環境變數 LUW_API_KEY 提供,託管端點透過 Authorization Bearer 標頭提供。本機套件需要 Node.js 18 或更新版本;託管伺服器免安裝。選用設定包括 LUW_OUTPUT_DIR、LUW_TOOLSETS、LUW_WAIT_TIMEOUT_SECONDS、LUW_INLINE_IMAGES 和 LUW_API_BASE_URL。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Luw.ai,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://mcp.luw.ai/mcp"
}
}
}README
Official Luw.ai MCP server
AI interior, exterior and landscape design, photoreal rendering, image editing, video and 3D,
inside Claude, Cursor, VS Code, Windsurf, Codex and any other MCP client.
[Add to Cursor] [Install in VS Code] [Add to Claude Desktop]
Quick start
1. Get an API key at app.luw.ai/dashboard/api. New accounts get free credits.
2. Add Luw.ai to your client. Pick one:
Claude Code
No-install alternative (hosted server):
Claude Desktop
One click: download luw.mcpb, double-click it, paste your API key. Nothing else to install.
Or add this to claude_desktop_config.json (Settings → Developer → Edit Config):
Cursor
Click Add to Cursor above and replace YOUR_LUW_API_KEY, or add to ~/.cursor/mcp.json:
VS Code (Copilot)
Click Install in VS Code above. VS Code asks for your key and keeps it in its secret storage. Or add to .vscode/mcp.json:
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
OpenAI Codex CLI
Or in ~/.codex/config.toml:
Gemini CLI
Add to ~/.gemini/settings.json:
Any client with remote MCP support (hosted, nothing to install)
If your client only accepts a URL and can't send headers (for example ChatGPT connectors), use https://mcp.luw.ai/mcp?api_key=YOUR_LUW_API_KEY. Anyone who has that URL can spend your credits, so keep it private.
The hosted server is stateless and stores nothing. Your key goes straight to the Luw.ai API on each request. It can't read files from your computer, so pass image URLs, or use the local npx setup to work with local files.
Windows: if npx isn't found, use "command": "cmd", "args": ["/c", "npx", "-y", "@luw-ai/mcp"]. Requires Node.js 18 or later. The Claude Desktop extension bundles everything it needs.
What you can ask
- "Redesign this bedroom (
~/Downloads/bedroom.jpg) as Mid-Century Modern, 3 variations." - "This listing photo is an empty room. Stage it as a cozy Scandinavian living room."
- "Render my sketch
plan-sketch.pngas a photoreal modern villa at golden hour." - "Change the floor in this kitchen to herringbone oak." (segments the floor, then swaps the material)
- "Remove all the furniture from this room."
- "Put this chair photo on a terrazzo floor in a sunlit gallery for an ad."
- "Turn this render into a drone fly-through video."
- "Make a 3D model of this armchair from these 3 photos."
- "Seamless blue zellige tile texture, 1024px."
- "Ask ArchiGPT how to improve the feng shui of this floor plan."
Built-in prompts show up as slash commands or prompt templates in your client: redesign_room, stage_empty_room, sketch_to_render, product_shot.
Tools
Every generation uses your Luw.ai credits. Variations are billed one generation each.
How it works
- Local files just work. Any image argument accepts an
https://URL, a local path (~/Desktop/room.jpg), or adata:URI. Local files are uploaded to Luw.ai storage as temporary files (deleted after 12 hours) and cached for the session, so repeated edits don't upload the same file again. - You see the results. Finished images are embedded in the tool result, so Claude and other clients show them inline. Set
LUW_OUTPUT_DIRto also save every result to disk. - Long jobs don't time out. A call waits up to 50 seconds and streams progress to clients that show it. If a job like a video takes longer, the tool returns a
processing_urland the assistant collects it withluw_get_result, without generating (or paying) twice. - Never billed twice. Every generation request carries an
Idempotency-Key, so if a network error forces a retry, Luw.ai returns the original job instead of charging again. - Masks are handled for you.
luw_segmentreturns masks as URLs, so "change the floor" becomes segment ⟶ magic wand with no manual masking. - Fast startup. The package is one bundled file with zero dependencies, so
npxdownloads a single ~260 KB package and starts right away.
Configuration
Self-hosting the remote server
The same package serves the hosted Streamable HTTP endpoint:
It's stateless and holds no secrets. Each request brings its own key in Authorization: Bearer …, X-Luw-Api-Key, or ?api_key=. It deploys to Vercel as-is (vercel.json is included), and a Procfile is included for Heroku. See docs/maintainers.md for deployment and release steps.
Development
Support
- API reference: luw-ai.gitbook.io/api
- Issues: GitHub Issues
- Email: [email protected]
MIT © Luvi Technologies, Inc.
來源:README.md,提交 4b53217
工具
0版本歷史
1- v0.1.0最新Oct 7, 2026

