How to format the Public Share Access as APFS?

I want to move the iMovie and Photos mac app to My Cloud Home. If I understand correctly (from, I have to use the Public Share Access public folder (smb://guest:guest@MYCLOUD-XXXXXX/Public) and not the Private User Space.

I started with the iMovies library but iMovies complains that the drive should be formatted as APFS or Mac OS Extended (Journaled) ( How can I do it?

best regards,