Skip to content

relight_room

relight_room relights a finished interior visualization as day, evening or night, with lamps on or off, keeping the wall colour. It needs the project_id and the color_key returned by /mcp/tools/visualize-room/. Interiors only.

Cost:

  • Muro credits: 1 credit per call.
  • x402 price: $0.25 per call (USDC on Base). See /x402/.
Name Type Required Default Description
project_id string, 1 to 100 chars yes project_id from visualize_room.
color_key string, 1 to 40 chars yes color_key of the painted result, e.g. "c1".
time enum: day, evening, night yes Time of day.
lamps boolean no false Lamps on.

Three MCP content items:

  1. Text: <time>[, lamps on] — color_key "<color_key>".
  2. An image item (base64 data and mimeType) with the relit photo.
  3. Text with the full-resolution link https://app.usemuro.com/wynik/<project_id>. When paid with credits it is prefixed with Cost: N credit(s), M left.; under x402 the cost is omitted.

There is no structuredContent.

Arguments:

{ "project_id": "proj_123", "color_key": "c1", "time": "evening", "lamps": true }

Result text items for a successful call (illustrative; the image item is omitted):

evening, lamps on — color_key "c1"
Cost: 1 credit, 17 left. Full resolution: https://app.usemuro.com/wynik/proj_123

With x402 enabled and no payment attached, the call returns (captured) an error with the payment requirements:

This call costs 0.25 USDC on Base, paid with x402. Pay with an x402-capable client, or use a Muro API key (https://app.usemuro.com/ustawienia) to pay with Muro credits instead.
  • Run visualize_room first, with surface: "interior"; the color_key values (c1, c2, …) follow the order of the colors you sent.
  • The project must belong to the account that ran it. Otherwise the call fails with an error and, under x402, is not charged.
  • Without a key and without x402 enabled, the tool returns an error that says where to create a Muro API key.