Hi,
I’m making calls to Stability AI using the Stability AI connector. My goal is to save the image to Airtable.
The module returns a data element which is the PNG (I’m assuming) version of the image. The file name is simply “file.png” so it doesn’t look like I can store it directly into AirTable since it’s not a complete URL.
What are my options at this point?
L
Here’s what I’ve done:
- I put an HTTP request between the Stability AI call and Airtable in the hopes that I could get the an Airtable webhook to receive the data and store it in the database. However, I get “request too large” error. And I checked: the webhook max size is 100KB
- My next approach is going to be to create the image as a Google Drive file then take that file and add it to the airtable field. It’s a roundabout way to do things, but I should be able to complete my POC.
- Once that works, I might have to create my own API handler for Stability AI. I believe the one that’s in Make works, but there is no documentation anywhere so I don’t know how to use it.
If I want to make my own reusable module to access Stability, what documentation should I read? Is it this:
https://academy.make.com/courses/take/AdvancedC02/texts/54158974-course-2-introduction
or something else?
I don’t really want to create my own API handler but I need some features (like unique job ID, possibly a URL for Airtable to read the data, access to SD 3, etc.) that it doesn’t seem that the current API has.
Thanks,
L
Hi @L_Duperval
Request too large comes if the size exceeds on file. So please check the same and see if it complies with your plan.
Regarding image upload, it is best to push to DropBox or Google Drive and feed the direct image URL to the Airtable so it will be reflect in records.
If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support | Book Live Implementation
Visit us here
Youtube Channel
2 Likes
HI,
Thanks, that’s what I’m doing (Using Google Drive). It seems to work for my purposes. I might need something more robust in the future, but it’s good enough for now.
So now I need to decide whether I’ll do my own stability implementation or not.
Thanks,
L