How create a new bucket in Firebase Cloud Storage from Javascript

I’m into a project which I need to uplate profile pictures to firebase users. Now we’re using firebase auth to manage the users so I need to change de profile photo. The problem is that I have not access to the firebase project by the web, so I need to create a firebase storadge bucket from javascript to upload the images and save them.
I already have the credentials so I don’t need to get it, no?
¿Is possible to create a new bucket from javascript without logging into the firebase website?

Thanks! (PD: sorry for my english?

I’ve made an answer to ChatGPT but it sent me a bad answer.