Rewiring AC motor with 8 wires to vfd
The motor you have is a single phase motor and it has nothing to do with the link you have pointed to. The link is talking about a way to make a 3 phase induction motor work on 1 signle phase supply.

Single phase motors can not be connected to 3 phase output VFDs. These type of motors have their own type of VFDs which are called single phase output VFDs as this one.

Other things to be taken into consideration:


Capacitors on the output of variable frequency inverters are a bad thing unless otherwise stated in the VFD's user manual.
Single phase motors aren't ideal for inverter applications, the motor may not be rated for inverter use, and if they have switches or whatever inside for starting that can cause problems.


Look here for more information.

Assuming you have taken these considerations into account, just two wires should go from the motor to the VFD. This link has a schematic that could help you make the motor section connections.

My recommendation is that 3 phase induction motors are cheaper, have higher torque, have more efficiency, and you can easily find the VFD that suits your application's requirements.