I was able to get this to work with convertAPI (see here ) - query5 is a POST request to https://v2.convertapi.com/convert/pdf/to/jpg with a generic token (you'd need to create your own) which includes the PDF base64 and returns a jpeg file.
{
"request": {
"url": "https://v2.convertapi.com/convert/pdf/to/jpg",
"method": "POST",
"body": {
"Parameters": [
{
"Name": "File",
"FileValue": {
"Name": "my_file.pdf",
"Data": "<Your PDF Base64 string>"
}
}
]
},
"headers": {
"User-Agent": "Retool/2.0 (+https://docs.tryretool.com/docs/apis)",
"Authorization": "---sanitized---",
"Content-Type": "application/json",
"X-Retool-Forwarded-For": "10.60.24.168"
}
}
}
I can now use this jpeg a Retool image component

(docs here)
