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

# Get SEM Overlay

> Download the SEM image with the detected mask overlaid

Returns the SEM image rendered with the detected segmentation mask overlaid. The response is a ZIP archive (`application/x-zip-compressed`) containing a single PNG named `{data_id}.png`, rather than a JSON body.

<ParamField path="data_id" type="string" required>
  The data entry UUID for the SEM image
</ParamField>

## Response

A ZIP archive containing the overlay image as a PNG. Write the response content to a file and unzip it to access the image.

<RequestExample>
  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://api.atomscale.ai/sem/images/d290f1ee-6c54-4b01-90e6-d701748f0851/overlay",
      headers={"X-API-KEY": "YOUR_API_KEY"}
  )
  with open("overlay.zip", "wb") as f:
      f.write(response.content)
  ```

  ```bash cURL theme={null}
  curl "https://api.atomscale.ai/sem/images/d290f1ee-6c54-4b01-90e6-d701748f0851/overlay" \
    -H "X-API-KEY: YOUR_API_KEY" \
    --output overlay.zip
  ```
</RequestExample>
