AC is the way to go, unless you have plenty of the DC stuff around.
DC is old-school and obsolete in all but a tiny number of extremely niche industrial applications.
DC varies the Voltage supplied to brushed motors. Speed varies with Voltage on these motors, as does available power, and maximum rated Voltage is reached at Maximum rated speed.
AC varies the Voltage and Frequency together up to the rated Frequency and Rated Voltage. However, AC can hold the Voltage at the rated value whilst increasing the Frequency further. The speed varies with Frequency. The available power varies with the Voltage. This is how a VFD can run an 1800 RPM-rated motor to 3600 RPM.
If you happened to be around when an industrial plant got refitted from DC to AC and have tons of suitable DC drives and motors to hand, using DC makes sense. Otherwise, you need to accept that something will fail at some point and you'll need access to replacements. Replacement industrial-grade AC stuff will continue to be available off-the-shelf for a good while yet. Industrial-grade DC stuff is already obsolete.
Note that there are VFDs that have "Sensorless Vector" capability. Without getting too nerdy, non-SV drives tend to run motors smoothly down to 10 Hz or perhaps a little less. SV drives will run down to 1 or 2 Hz smoothly. SV effectively brings the low-speed capability of AC drive/motor systems up to the same sort of level as DC.
All else being equal, the premium for an SV drive is now very small indeed. The only non-SV drives I see recommended are the KBAC (which, in electronics terms, were designed shortly before Noah made landfall) and some of the ultra-low-cost drives on ebay, etc. I think the KBDA range of drives are SV and they have the same environmental protection as the KBAC drives. I have used a few of the ebay drives and actually been quite impressed by the drives. Much less so by the documentation.