Hi
Does anyone know how to upload images generated by an external API (apy hub) to Bubble’s file storage?
I have the following API Connector settings for image generation.
Use as: Action
Data Type: JSON
Method: POST
endpoint: https://api.apyhub.com/generate/image-thumbnail/url
header: key: content-type, value: multipart/form-data
parameter: video_url (default: https://assets.apyhub.com/samples/sample.mp4)
I have tried to combine a plugin that generates PNG images from URLs and uploads them in a custom state, but that failed.
Here is the flow I am assuming
Upload video with Bubble’s FileUploader.
Generate thumbnail images automatically from the video using an external API.
Obtain the URL of the generated image and save it to Bubble’s file storage.