I printed & liked Diplomator's filament winder https://www.printables.com/model/515427-awesome-filament-spool-rewinder-upgraded but I had some trouble. As mentioned by others, the https://www.amazon.com/gp/product/B072R5G5GR motor would stall when the destination spool became heavy (near 1kg).
I designed a smaller gear (12 teeth instead of 25 teeth) to connect to the motor, to deliver more torque to the winder. Thanks to @StephenHall_1919804 for https://www.printables.com/model/1015491-bambu-filament-winder-50tooth-gear-step , from which I was able to confirm some measurements.
Note: This gear replaces the “MotorGear” in the “ElectricDrive” folder of Diplomator's filament winder, but causes one new problem: Diplomator's “Awesome Spool Winder Motor Housing” won't allow this smaller gear to engage where it should. One corner of the housing was in the way, until I flipped the housing upside down. A minor redesign of the housing could solve this problem, but I haven't done that in this model.
To create this gear, I used Fusion360 and followed this tutorial from 3D Printer Academy Tutorials .
The GF Gear Generator utility needs 5 parameters. The values I used are below. If you vary the number of teeth and keep the other parameters constant, I believe you can generate custom gears that will interface with those in this filament winder design.
For definitions of these parameters, I found https://drivetrainhub.com/notebooks/gears/geometry/Chapter%203%20-%20Helical%20Gears.html
The author remixed this model.
12 tooth gear for the motor, replacing the 25 tooth gear.