# Exterior from a sketch

> Turn a hand sketch or a massing model into a photoreal exterior.

Source: https://developers.mnml.ai/docs/sketch-to-exterior

Send the sketch with a prompt for materials and light, rendered as an exterior, then poll the job. The engine keeps the geometry of the drawing and fills in the rest.

### Step 1: Send the sketch

**render.sh**

```bash
curl -X POST https://api.mnml.ai/v2/renders \
  -H "Authorization: Bearer $MNML_API_KEY" \
  -F image=@sketch.jpg \
  -F engine=v4.6-ultra \
  -F mode=exterior \
  -F prompt="White render and oak cladding, overcast morning, wet pavement" \
  -F aspect_ratio=auto
```

The file goes in the same call, with no upload step. A sketch already online can go as JSON instead: `"image": "https://…"`. This charges $0.2475 for v4.6. `aspect_ratio: "auto"` keeps the sketch’s shape.

### Step 2: Get the result

**poll.sh**

```bash
curl https://api.mnml.ai/v2/jobs/10482 -H "Authorization: Bearer $MNML_API_KEY"
```

## Tips

- A loose sketch takes more interpretation: say what the lines are (“timber screen”, “glass corner”) in the prompt.
- Add a `references` image with `mode: "material"` or `"atmosphere"` to steer the look without writing it out.
- Keep a `seed` you like and reuse it to stay close to that result while you change the prompt.

What it does, prices and questions: [Sketch to render API](https://developers.mnml.ai/sketch-to-render-api).
