Generators are generally used outside. There are some rated for use inside, but they also have strict regulations on how that is done. (there are also some used inside but they will kill someone soon)
Though what is "inside" is debatable. My car can sit outside because it has the batteries in a case that is climate controlled when needed, and so the batteries count as inside even though they are in a car that is outside.