Hello,
How can I use the RunPod API on Make.com? Should I use an HTTP connection? I want to use AI Stable Diffusion.Artificial intelligence made such a statement, but I didn’t understand it either.
Best Regards
Get Your RunPod API Key
Log in to your RunPod account.
Go to the API settings and generate an API Key. Save this key for later use.
Use the HTTP Module in Make.com
Create a new scenario in Make.com.
Add the “HTTP” module and select the “Make a request” option.
Check RunPod API Documentation
Refer to the RunPod API documentation to find the correct endpoint and parameters for Stable Diffusion.
Example endpoint: https://api.runpod.io/v2/generate
Configure the HTTP Module
Method: POST
URL: RunPod API endpoint (e.g., https://api.runpod.io/v2/generate)
Headers:
Authorization: Bearer [Your API Key]
Content-Type: application/json
Body (in JSON format):
json
Kodu kopyala
{
“prompt”: “A beautiful landscape with mountains and rivers”,
“steps”: 50
}
Test and Run
Run the test to ensure it works. If configured correctly, the RunPod API will return a URL or the generated image result.
You can use the output in the next steps of your scenario.
Let me know if you need a detailed example or additional help!
If the external service has a Developer API Reference/Documentation then you should be able to integrate the endpoints in Make using the app’s universal module (Make an API call) or generic HTTP “Make a request” module.
If the external service allows you to register webhooks, then you can create a trigger to wait for incoming webhook requests in Make using the generic Webhook “Custom webhook” module.
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
Hope this helps! Let me know if there are any further questions or issues.