The term solar generator can be a bit misleading. Some use it to describe a standard grid-connected residential solar power system. To the extent the phrase is being used in this sense then these links will help you find out about the different components of residential solar power systems:
However, often the phrase solar generator is used to describe a situation where a solar power system is used to supply power as an alternative to a fuel-driven generator. In this sense, a solar generator is very different to a standard generator. With a standard generator that is used to supply stand-alone loads there is a constant output of power from the generator but there is no storage of power to supply the loads when the generator is not running. In this case, solar panels are not able to replace a generator on their own because solar panels cannot reliably produce a steady flow of instantaneous power.
For a solar generator to be used instead of a regular generator to supply off-grid loads, then battery storage needs to be added to the solar system to provide a more reliable supply of power. The idea here is that the solar will supply a varying amount of power to the batteries, the batteries will store this power until it is needed and then supply loads with a constant supply of power as necessary. Of course the system needs to be designed, both the solar panels, the solar storage batteries, and the battery inverter to allow for enough power to be stored in total to meet the loads and this is why sometimes off-grid systems need to either be over-sized for their normal daily requirements or to also include a backup fuel generator that can service the loads when the solar system and batteries do not have enough power stored to meet the needs.