Make a new texture and plug the Object Coordinates into a Viewer Node (Emission). Select the Texture Node with the texture you created and Bake the Emit pass.
Then you get something like this and you can use the Image Texture instead of the Object Coordinates.
