IPFS upload for NFT Metadata

It seems correct to upload the image and metadata to same folder on IPFS, however the JSON is supposed to reference the URL of the image and we don’t know the URL until its uploaded… so what would be the way to handle this?

There should be a way to upload multiple files to the same folder (across multiple requests) right ?

I don’t know of a way to upload files in the same folder on IPFS in multiple requests, only all at the same time

You can upload the images in separate folders and then upload the metadata for all the images in a folder.