GET /v1/images/:key?ids=:node-id

I have a file with several frames and individual elements (text, buttons, components) not a member of a specific frame. Some of these elements are layered on top of certain frames so when viewing the image in Figma it looks like a complete design image. However, with using the /images endpoint, the results URL does not render these elements since they are not a member of the specific frame node.

Is it possible to use this endpoint to get a rendered image exactly as it appears within Figma? or is there a different endpoint or approach that can be taken to generate a PNG, SVG, etc exactly as it appears?

Any help or suggestions would be much appreciated. Thanks.