James Corden was "terrified" singing in front of Justin Timberlake.

James Corden

James Corden

The 38-year-old talk show host voices Biggie in the animated adventure and though he enjoyed laying down vocals for the soundtrack, he was wary about getting in the studio in front of the 'Can't Stop the Feeling' hitmaker, who served as musical producer on the film, as well as voicing grumpy troll Branch,

James told 'Entertainment Tonight': "I spent like half a day doing singing which is always quite, you know, terrifying if you're me and it's him, but I think I got away with it.

"I think it was fun. I certainly loved it."

James often shows off his singing talents on the 'Carpool Karaoke' segment of his 'Late Late Show', but he insists that's different to making a record.

He said: "Not in a studio, not like actually singing like it matters."

The British star's next guest on the show will be Lady Gaga, and having recently recorded their segment, he teased viewers are in for a surprise.

He said: "Something happens in that Carpool that's never happened before."

Gaga revealed earlier this month she had joined the likes of Sir Elton John, Mariah Carey, Justin Bieber, Adele, Coldplay's Chris Martin, Britney Spears and Gwen Stefani in singing her greatest hits on 'Carpool Karaoke'.

She took to Twitter and Instagram to share a picture of herself and the host wearing matching pink cowboy hats and wrote: "Had a lil fun with @JKCorden today!"

James - who has two children, son Max, five, and 23-month-old daughter Carey, with his wife Julia - recently admitted he worries about having enough time to fulfill all his goals.

He said: "My biggest worry is that I'll run out of time - I really want to make the most of the time that I have. When you're lying in your death bed, you're not going to think, 'Oh I wish I'd made one more TV show ... I try to remember that all I've really got is right now. Everything that's behind you is gone, everything in front of you is unknown, so if you try to do your best in the time that you're here, then you will have a good and successful life."