According to the caption on the video, it was Ellen's idea! The description reads: "Ellen called me a few weeks ago with an idea. Here's the master herself, singing Birthday by Katy Perry."
Check out Ellen DeGeneres "singing" Katy Perry's latest hit, "Birthday" below!
Watch Ellen talk about the collaboration: