Here is an inexpensive way to make an LED conversion on almost any moped , scooter or motorcycle. Any decent H7 LED lamp can be used although depending on your AC voltage , a 6 volt lamp may be brighter. The 50A 1000v diode bridge rectifiers can be had almost anywhere for $2 . The diagrams show the AC input and the DC output to the light . This means less or no pulsing with voltage changes and the lamps will not blow out with voltage surges. You can also put a capacitor on the DC side with a diode across the terminals too to prevent voltage spikes , but I have not found it necessary for most applications.
This can also be done for the tail light or even both lights if you find a place to mount the rectifier near the stator. AC in - DC out .Just remember the the terminal turned differently is the DC positive and the pair of terminals are across (kitty corner) from each other.
I just finished this conversion on a broken sealed beam lamp . The lens was broken and I used an old headlight to cut the new lens and fit it in place. That is for another thread.