Luw.ai API & MCP
v2RESTMCP
APIUp & RunningMCP…
Integrate Luw.ai into your own app with the REST API, or connect it to AI assistants like Claude, Cursor and VS Code with MCP. Both use the same API keys.
API DocumentationSign in to create and manage your API keys.
REST API quick start
Terminal
curl -X POST https://api.luw.ai/v2/generate \
-H "Authorization: Bearer YOUR_LUW_API_KEY" -H "Content-Type: application/json" \
-d '{"model":"interior","image":"https://example.com/room.jpg","styles":"Japandi"}'
# → {"processing_url": "…"}; fetch the result:
curl -X POST https://api.luw.ai/v2/results \
-H "Authorization: Bearer YOUR_LUW_API_KEY" -H "Content-Type: application/json" \
-d '{"processing_url":"…"}'Send an Idempotency-Key header when retrying the same request and you won't be charged twice.