# Scenario Changer > This endpoint allows you to change the environment scenario to check how house will look in different scenario. ## Overview - **Model ID**: `scenario-changer` - **Category**: image - **Provider**: modelslab - **Status**: active - **Screenshot**: `https://assets.modelslab.com/generations/1cedbc10-0120-4821-87fe-bb5b92b43af6.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/scenario_changer` - **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.0.1 - Type: number (range: 0.1-1) - **`scenario`** (required): The scenario to be changed, it includes beach , dessert , plain , taiga. - Type: select (options: plain, dessert, beach, taiga) - **`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) - **`num_inference_steps`** (optional): The number of denoising steps. Acceptable values are 21, 31, or 41. - Type: number (range: 21-41) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v6/interior/scenario_changer \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "scenario-changer", "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" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v6/interior/scenario_changer", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "scenario-changer", "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" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v6/interior/scenario_changer", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "scenario-changer", "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" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/scenario-changer/scenario-changer) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)