This is my case. I’m creating a document (Google Document) from template that has {{xyz}} tags to be replaced with some info I’m getting in a previous step.
The output from the document creation is a pdf format, so looking into it, I see that it has rendered the URL instead the image:
After the doc creation, I got all the images I created using the id from each one of them (when the images are created are saved in GDrive), and created a batchUpdate json to patch the created document. To do the patch correctly, I got all the placeholders where the images are supposed to be, to get the index for each one, and lastly I run the batchUpdate instruction to put the images replacing the placeholders.