I would like to upload an image that I previously generated with OpenAI and edited with Edit Images Nodes to Airtable. However, this does not work because Airtable only accepts URLs. This means that I first have to upload the image somewhere. I would like to do this on a temporary service (not on GDrive, for example). Ultimately, the image should only be stored in Airtable in the long term and nowhere else. Can you recommend an option? I asked ChatGPT about this and tried file.io and tmpfiles.org, but unfortunately they don’t return JSONs, only HTML files, without a URL to the file anywhere.
jabbson, I copied your HTTP Request Node exactly into n8n and uploaded a file via an n8n form. Here, I actually get the desired JSON back.
Then I pasted your HTTP request node into my workflow. But there, I only get the HTML back again. So the problem can only be with the input, if I’m right? As a reminder: I generate the image with DALL E and then edit it with a few nodes, and I want to upload the result.
The strange thing is: when I download the file from the ‘Website ergänzen’ and upload it to the test workflow, which only contains the N8N form submission and the HTTP request node, it works again.
Hello jabbson. Thank you very much. That worked. The result is now in JSON format.
I was also able to successfully complete the Airtable entry, but there is a problem with tmpfiles in general: Airtable does not upload the image itself, but rather an HTML file on which the image can be seen. When I click on the link manually, the same HTML file is displayed, and even when I upload an image manually to tmpfiles, I can’t get the URL for the image directly. When I right-click on the image, I am redirected to another website that has nothing to do with my image. This appears to be malware, so please do not use tmpfiles!!!
Do you know of another service where you can temporarily host images?