I WOULD ASSUME your Mini is 2014 Model (unless DIY Fusion drive).
If your Mini is 2014, then the PCI-e SSD is 128GB and HDD is 1T.
You might have to search on the web to find the compatible PCI-e 1T (OWC might be a good place to go to).
There will involve some tear down and secure T screw driver (check ifixit it for the needed tools -- again, my assumption of 2014 model).
Make sure back up (via Time Machine).
Try to make a USB boot drive of your desired OS (take extra time, but way worth it).
Because when you change the original drives, the original Fusion might not be function (that is why the bootable USB drive comes in handy).
You can partition the new SSD (I would think you will use the SSD for the boot drive) and install the OS.
After restoration, you might want to erase the HDD for data storage, or whatever you want.
FYI - 1T PCI-e SSD for 2014 Mini can be pricey.