Low Image Quality from GET image API

When exporting an image from the GET image API the Quality is significantly worse compared to an Export from the Figma Desktop App.

Question: Can the Quality be Controlled from the GET image API?

Details
As a result of lower Quality from the GET image API, there are many Artefacts in the Image.
I tested in PNG and JPGs and got Artefacts for both Systems.

When analyzing the pictures with ImageMagic the images are different in multiple details.

In the Result that means that the REST API can’t be used as part of automatic Build Pipeline as the Quality of the Pictures can’t be centrolled.

Comparison of an Gradient exported from Figma App vs. exported from GET Image API

Colors differ in multiple ways.