Have you checked this fit on your lathe? The frame size is a 184, so most likely larger than the 1hp motor. I have a Taiwanese 12x36, there are very few motors that will fit without significant modifications to the motor area.
It looks to be wired to low voltage. There is one bundle with three wires, that should be 4-5-6, and I can see two other bundles of two wires, those bundles would be 1-7, 2-8, and 3-9. Each of those bundles would be connected to your three leads from the VFD. You can see where they cut those wires.