Integrating Stable Diffusion API with

Hello all automation wizards!

I am trying to set up the Stable Diffusion API through (not locally on a PC) and found that it should be possible to operate it through , which has direct integration in Make. The API connection is set up and working. Now, I’m at the point where I need to generate image outputs from this setup.

Could someone please advise me on the following steps?

  1. What data should I send in the HTTP “BODY” to generate an image?
  2. How can I process the output so that I can save the image to Google Drive?

At this moment, I haven’t paid for anything on Hugging Face, as I’m not sure about the functionality of the whole solution.

Thanks in advance to everyone for any advice or suggestions!

here is my “body” which i have now.:

  "inputs": "západ slunce nad horami",
  "parameters": {
    "num_inference_steps": 50,
    "guidance_scale": 7.5
  "options": {
    "use_gpu": true

Welcome to the Make community!

I’ve not used HuggingFace before, but you could try following the tutorial on the Make Academy (linked below) to guide you on how to use the HTTP module to connect to an external API:

You can also suggest for it to be made in the Idea exchange. Don’t forget to search for it first, just in case someone already suggested it, so that you don’t end up creating a duplicate.

If you need assistance in setting up the app’s universal module, or the generic HTTP module, please provide additional information about what you have tried with regards to the external service’s Developer API Reference – how you are setting the connection up, a link to the endpoint are you trying to connect to, and what errors you are encountering.

You can also complete this brand new course/tutorial in the Make Academy on how to use external APIs — API calls with HTTP modules

  • API and Endpoints
  • Header and body
  • Multipart/form-data
  • OAuth 2.0

samliewrequest private consultation