ModelsLab/Exterior Restorer
exterior-restorerThis endpoint transforms damaged or unattractive exteriors into beautifully restored, visually appealing versions using AI
API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v6/interior/exterior_restorer
API Authentication
Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.
Integration Examples
Production-ready code samples for API integration
{"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","base64": "false","seed": "0","specific_object": null,"webhook": null,"track_id": null,"key": "YOUR_API_KEY"}
SDKs
Official SDKs
Production-ready SDKs and client libraries for all major programming languages
API Parameters
Technical specifications for API request parameters.
| Field Name | Parameter | Technical Description |
|---|---|---|
| prompt | prompt | A text prompt describing the content you want in the generated image. |
| init_image | init_image | A URL to the initial image. |
| strength | strength | The degree to which the prompt influences the initial image. 1.0 corresponds to full destruction of the initial image details. |
| num_inference_steps | num_inference_steps | The number of denoising steps. Acceptable values are 21, 31, or 41. |
| negative_prompt | negative_prompt | Descriptions of elements to avoid in the image (e.g., NSFW content, poor quality, distorted features). |
| guidance_scale | guidance_scale | The scale for classifier-free guidance. Minimum is 1, and maximum is 20. |
| base64 | base64 | Specifies whether the response should be returned as a base64 string. Defaults to false. |
| seed | seed | Seed is used to reproduce results, same seed will give you same image in return again. Pass null for a random number |
| specific_object | specific_object | Specific object parameter |
| webhook | webhook | A URL to receive a POST API call once the image generation is complete |
| track_id | track_id | An ID returned in the API response, used to identify the webhook request |