BuildShipBBuildShip
Powered by
JSLJ
BuildShip•3y ago
JSL

Blob URLS

Hi

I have been trying to work on a solution to go from Flutterflow Recordings to OpenAi Whisper. It's seems that I can achieve this with Buildship.

Flutterflow gives you a Audio Path that is a blob url of an OPUS audio. I send this Audio Path to Buildship with an API. Something similar to: blob:https://d...

The part that I am getting stuck with is how to get the OPUS file from the blob url. I found this that works in the browser and downloads the file:

var xhr = new XMLHttpRequest();
xhr.responseType = 'blob';
xhr.onload = function() {
    var a = document.createElement('a');
    a.href = window.URL.createObjectURL(xhr.response);
    a.download = 'filename.opus'; // You can name the file here
    a.style.display = 'none';
    document.body.appendChild(a);
    a.click();
    document.body.removeChild(a);
};
xhr.open('GET', 'BLOB_URL_HERE');
xhr.send();
var xhr = new XMLHttpRequest();
xhr.responseType = 'blob';
xhr.onload = function() {
    var a = document.createElement('a');
    a.href = window.URL.createObjectURL(xhr.response);
    a.download = 'filename.opus'; // You can name the file here
    a.style.display = 'none';
    document.body.appendChild(a);
    a.click();
    document.body.removeChild(a);
};
xhr.open('GET', 'BLOB_URL_HERE');
xhr.send();


But I need to find a solution in Buildship that I can then use in an API to Whisper.

I have tried the AI Gen and various code version but no luck yet.

Appreciate any help.
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Authorize api request URLs
Your MajestyYYour Majesty / ❓・buildship-help
2y ago
Scrape all YouTube URLs of a specific channel.
Rosson LongRRosson Long / ❓・buildship-help
2y ago
google instant index
HummerHHummer / ❓・buildship-help
15mo ago
I am try to pass a variable on a GET request something like this bellow but no success until now.
I.K DesignsII.K Designs / ❓・buildship-help
2y ago