Skip to main content
POST
/
screenshot
capture 3D viewport as PNG
curl --request POST \
  --url http://localhost:3917/screenshot
{
  "ok": true,
  "path": "/tmp/euca_screenshot_1700000000000.png",
  "size_bytes": 123456
}

Response

200 - application/json

Viewport re-rendered offscreen, read back, and written to a temp PNG; returns the file path and size_bytes.