Stable Diffusion API Response

Due to an increase in costs I have started to move my Make.com workflows over to a newly installed self-hosted version of n8n.

One of my workflows is generating images via the Stable Diffusion API (simple http request) but I’m stuck on actually getting the image since SD does not include it in its response. My only options are to download the image or preview it in the n8n UI.

Hoping someone has a solution for this as I’m stumped.

Information on your n8n setup

  • n8n version:
  • **Database - SQLLite
  • **Running n8n via Docker

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @Imperol,

Welcome to the community!

Tip for sharing your workflow in the forum

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!


What do you want to do after getting the image? Depending on what you want to do with the image, here are some nodes you can connect to the HTTP request node to access it:

  • Use Google Drive node to upload your image to your Google Drive

You can also read more about how to handle binary data here: Binary data | n8n Docs

Hope that helps!

I’m looking to store in an Airtable database as an attachment then use it in an additional step for uploading to a Wordpress image library.