ModelsLab/Scenario Changer
scenario-changerThis endpoint allows you to change the environment scenario to check how house will look in different scenario.
API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v6/interior/scenario_changer
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": "Modern luxury house exterior during golden hour, featuring large glass windows, clean white walls, lush green lawn, ambient garden lights, and dramatic shadows. Realistic lighting, cinematic tone, wide-angle view, high detail. Ideal for real estate or architectural visualization","init_image": "https://assets.modelslab.com/generations/076185f5-4e80-4300-b7b7-bcf79f53149d","strength": "0.99","scenario": "plain","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","num_inference_steps": "41","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.0.1 |
| scenario | scenario | The scenario to be changed, it includes beach , dessert , plain , taiga. |
| 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. |
| num_inference_steps | num_inference_steps | The number of denoising steps. Acceptable values are 21, 31, or 41. |
| base64 | base64 | Get response as base64 string, default: false, options: true or 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 |