> ## 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.

# Sketch Rendering

> This endpoint allows you to convert exterior house sketch into real world photo as per prompt.

## 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/sketch_rendering' \
```

## Body

```json json theme={null}
{  
    "key":"enterprise_api_key",  
    "init_image": "https://assets.modelslab.ai/generations/aa795482-98ca-4b22-9184-90f0a7121a38",  
    "prompt": "turn this pencil sketch of a modern home into a photorealistic render with warm evening lighting",  
    "seed": 0,  
    "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="prompt" type="string" required>
  Describe the materials, colors, and atmosphere you want applied when rendering the sketch.
</ParamField>

<ParamField query="init_image" type="string" format="url">
  A URL to the sketch or line art that should be rendered realistically.
</ParamField>

<ParamField query="negative_prompt" type="string">
  Negative prompts are descriptions of things we don't want in our image (e.g., NSFW content, extra limbs, 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 are `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" nullable="true">
  Seed is used to reproduce results. Same seed will give you 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>
