Skip to main content

Diff Run Row Image

GET 

/runs/diff/row/image

Return browser-renderable image bytes attached to one side of a diff row.

Without overlay, the endpoint returns the embedded input image unchanged. When both columns exist, image takes precedence over images; images returns its first embedded entry. With ground_truth or prediction, the endpoint decodes the selected semantic/instance mask using the shared GDI adapter and returns a bounded, modal-resolution PNG. Dataset paths and URLs are never dereferenced server-side. A missing row or absent side returns 404. A present side without embedded bytes returns 422, an unsupported image format returns 415, and an oversized preview returns 422.

Request​

Responses​

Successful Response