A generator is a device that produces electrical energy from mechanical energy usually by rotating a coil in a magnetic field.
The output voltage of a generator can be increased by rotating it faster, increasing the number of turns on the coil or using stronger magnets
The faster the coil rotates the faster will it cut the magnetic field and the bigger will be the output voltage.
Output of an a.c generator