> ## Documentation Index
> Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Scenario Changer

> Swap the surroundings of a space to preview how the home looks in different scenarios.

## Request

Make a `POST` request to below endpoint and pass the required parameters in the request body.

```curl curl theme={null}
--request POST 'https://modelslab.com/api/v1/enterprise/interior/scenario_changer' \
```

## Body

```json json theme={null}
{  
    "key":"enterprise_api_key",  
    "init_image": "https://assets.modelslab.ai/generations/076185f5-4e80-4300-b7b7-bcf79f53149d", 
    "seed": 0,  
    "scenario": "beach",
    "guidance_scale": 8,  
    "strength": 0.99,  
    "num_inference_steps": 51,  
    "base64": false,  
    "temp": false,  
    "specific_object": null,  
    "webhook": null,  
    "track_id": null
}
```

## Body Attributes

<ParamField query="key" type="string" required>
  Your API Key used for authenticating your request.
</ParamField>

<ParamField query="init_image" type="string" format="url">
  A URL to the photo whose surroundings you want to transform.
</ParamField>

<ParamField query="scenario" type="string" enum="[beach, desert, plain, taiga]">
  The scenario to apply. Options: `beach`, `desert`, `plain`, `taiga`.
</ParamField>

<ParamField query="negative_prompt" type="string">
  Negative prompts are descriptions of things we don't want in our image (e.g., NSFW content, distorted faces, poor quality).
</ParamField>

<ParamField query="strength" type="number" min="0.0" max="1.0">
  The degree to which the prompt influences the initial image. `1.0` corresponds to full destruction of the initial image details.
</ParamField>

<ParamField query="base64" type="boolean" default="false">
  Specifies whether the response should be returned as a base64 string. Options: `true` or `false`.
</ParamField>

<ParamField query="num_inference_steps" type="integer" enum="[21, 31, 41]">
  The number of denoising steps. Acceptable values: 21, 31, or 41.
</ParamField>

<ParamField query="guidance_scale" type="integer" min="1" max="20">
  The scale for classifier-free guidance. Minimum is 1 and maximum is 20.
</ParamField>

<ParamField query="temp" type="boolean" default="false">
  Indicates if temporary links should be used. Valid for 24 hours.
</ParamField>

<ParamField query="seed" type="integer">
  Seed is used to reproduce results. Same seed will give you the same image in return again. Pass `null` for a random number.
</ParamField>

<ParamField query="webhook" type="string" format="url">
  A URL to receive a POST API call once the image generation is complete.
</ParamField>

<ParamField query="track_id" type="integer">
  An ID returned in the API response, used to identify the webhook request.
</ParamField>
