Skip to main content
GET
/
rheed
/
images
/
{data_id}
/
overlay
import requests

response = requests.get(
    "https://api.atomscale.ai/rheed/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)
Returns the RHEED image rendered with the detected 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.
data_id
string
required
The data entry UUID for the RHEED image

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.
import requests

response = requests.get(
    "https://api.atomscale.ai/rheed/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)