# Exterior Restorer > This endpoint transforms damaged or unattractive exteriors into beautifully restored, visually appealing versions using AI ## Overview - **Model ID**: `exterior-restorer` - **Category**: image - **Provider**: modelslab - **Status**: active - **Screenshot**: `https://assets.modelslab.com/generations/9cadcfba-cf3a-4c42-8e01-acb6ddf96d1b.webp` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v6/interior/exterior_restorer` - **Method**: POST ### Parameters - **`prompt`** (required): A text prompt describing the content you want in the generated image. - Type: textarea - **`init_image`** (required): A URL to the initial image. - Type: file (image/jpeg,image/png) - **`strength`** (optional): The degree to which the prompt influences the initial image. 1.0 corresponds to full destruction of the initial image details. - Type: number (range: 0.1-1) - **`num_inference_steps`** (optional): The number of denoising steps. Acceptable values are 21, 31, or 41. - Type: number (range: 21-41) - **`negative_prompt`** (optional): Descriptions of elements to avoid in the image (e.g., NSFW content, poor quality, distorted features). - Type: textarea - **`guidance_scale`** (optional): The scale for classifier-free guidance. Minimum is 1, and maximum is 20. - Type: number (range: 1-20) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v6/interior/exterior_restorer \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "exterior-restorer", "prompt": "Redesign the building exterior in a modern minimalist architectural style", "init_image": "https://assets.modelslab.com/generations/4e717050-bf0c-4579-82fc-dafac50437ea", "strength": "0.4", "num_inference_steps": "41", "negative_prompt": "blurry, low resolution, bad lighting, poorly drawn furniture, distorted proportions, messy room, unrealistic colors, extra limbs, missing furniture, bad anatomy, low detail, pixelated, grainy, artifacts, oversaturated, asymmetry, ugly, cartoonish, out of frame, duplicate objects", "guidance_scale": "7.5" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v6/interior/exterior_restorer", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "exterior-restorer", "prompt": "Redesign the building exterior in a modern minimalist architectural style", "init_image": "https://assets.modelslab.com/generations/4e717050-bf0c-4579-82fc-dafac50437ea", "strength": "0.4", "num_inference_steps": "41", "negative_prompt": "blurry, low resolution, bad lighting, poorly drawn furniture, distorted proportions, messy room, unrealistic colors, extra limbs, missing furniture, bad anatomy, low detail, pixelated, grainy, artifacts, oversaturated, asymmetry, ugly, cartoonish, out of frame, duplicate objects", "guidance_scale": "7.5" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v6/interior/exterior_restorer", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "exterior-restorer", "prompt": "Redesign the building exterior in a modern minimalist architectural style", "init_image": "https://assets.modelslab.com/generations/4e717050-bf0c-4579-82fc-dafac50437ea", "strength": "0.4", "num_inference_steps": "41", "negative_prompt": "blurry, low resolution, bad lighting, poorly drawn furniture, distorted proportions, messy room, unrealistic colors, extra limbs, missing furniture, bad anatomy, low detail, pixelated, grainy, artifacts, oversaturated, asymmetry, ugly, cartoonish, out of frame, duplicate objects", "guidance_scale": "7.5" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/exterior-restorer/exterior-restorer) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)