I'd fill out your profile so that people at least know where you're located. Some of us may be able to recommend some alternative sources for motors and such.
Treadmill motors (and their controllers) aren't really worth the aggravation, even at a $0 price tag. The vast majority of them burn out in short order, due to their typically open frames, which do not mix well with the constant barrage of metal dust and other debris that are constantly being sucked into them.
I've seen a number of guys work out pretty creative filters and/or cooling systems that mitigate the dust and debris somewhat, but what's the point? By the time you cobble all that together with a controller and a dozen other odds and ends, you may as well have just bought a decent used/surplus 3 phase motor and a VFD.
If you keep an eye on your local craigslist, facebook marketplace (and other selling groups), local motor repair shops, and even eBay, you're bound to find a decent 3 phase motor for less than $100. I see 1hp to 2hp motors go for $50 regularly. You can buy a decent VFD for $60 to $100 all day long. Now, these will typically be open framed, so you do want to put them in an enclosure, or at least wrap some filter media around them.
Keep in mind, if you only have 110VAC available, you're gonna be limited to 1hp (unless you splurge on a KBAC-27 VFD which can supply up to 1.5HP at 110VAC), or you can find 2 to 3hp VFDs that run on 220VAC all day long.
BTW, I'm not sure where or how you sourced your treadmill motor, but there may be a reason that it was in the trash, if that's where you found it.