ModelsLab/Sketch Renderer
sketch-rendererThis endpoint transforms exterior house sketches into realistic photographs based on your prompt as well as interior
API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v6/interior/sketch_rendering
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
{"init_image": "https://assets.modelslab.com/generations/aa795482-98ca-4b22-9184-90f0a7121a38","strength": "0.45","prompt": "Modern 3-story house with boxy design, large black-framed windows, glass balconies, wood accents, flat roof, minimalist style, surrounded by tall trees, ultra-realistic.","guidance_scale": "7.5","num_inference_steps": "51","base64": "false","seed": "0","specific_object": null,"track_id": null,"webhook": 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 |
|---|---|---|
| Sketch Image | init_image | Please provide a URL to the original image of the room that will serve as the basis for the floor plan |
| Strength | strength | Strength shows how much the AI should copy the image — 0.1 means it copies just a little, and 1.0 means it copies almost everything |
| Prompt | prompt | Text prompt describing the desired layout and features for the generated floor plan image |
| Guidance Scale | guidance_scale | Guidance scale (1–20) Controls how strongly the prompt influences the image generation. |
| Steps | num_inference_steps | The number of denoising steps. Acceptable values are 21, 31, or 41. |
| 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 |
| num_inference_steps | num_inference_steps | The number of denoising steps. Acceptable values are 21, 31, or 41 |
| specific_object | specific_object | Specific object parameter |
| track_id | track_id | An ID returned in the API response, used to identify the webhook request |
| webhook | webhook | A URL to receive a POST API call once the image generation is complete |