Thanks @Flawless , but in that adalo tuturial, nothing about the Curl - F , is a Filter ? ( where to insert that to get returne? @theadaloguy you can help? This is for image edit AI in Open ai.
yes @Flawless , I know about the custom action, and the tutorial you send is about text in open ai, thats ok, we can do that, and is easy.
But in this case, is for generate image in Open AI,
first: we had made a custom action easy for generate images from prompt, ok, we get a image.
second: After that we need to edit a image, bur we dont know where insert the -F and whats is the -F to get the image edited.
-F, --form <name=content> (HTTP) This lets curl emulate a filled-in form in which a user has pressed the submit button . This causes curl to POST data using the Content-Type multipart/form-data according to RFC 2388. This enables uploading of binary files etc.
Currently, I’m looking at using Zapier, to connect adalo to Firebase, then use a cloud function to make the call, and return the response in a firebase collection - and then update Adalo record.
It seems very complicated though. I wish this was supported through custom actions
You are correct here. Adalo custom actions do not currently support uploading multi-part form data like this and so they cannot be placed into a typical JSON object, header, or as query parameters. The best option for making this happen is to setup a Make, n8n, or Zapier webhook to receive this for you from a custom action, then setup a multipart form upload in a subsequent module/step.