The gallery unlocks are persistent between releases, except on Steam Deck currently b/c of how it compartmentalizes files due to emulation. Currently you unlock them via random drops and by purchasing them from Mr. Black in the Slums stage, but this is just a placeholder system.