The free vacation in space was just an elaborate plot by Brainiac to collect every hero and villain in the DC Multiverse. The Titans and Superhero Girls agree to help Brainiac become an adult in exchange for letting them go.