Low Level Graphic API

I think I have seen an API that provides low level graphic functions, such as:
An API method for running a difference comparison on 2 grey-scale images.
Does this exist, if so where to find the include and library?

Maybe you said is “simple GUI”。

I meant the TPU API. I think thats documented now.