Ryan Reynolds
Actors Ryan Reynolds (L) and Blake Lively pose with their daughters as Ryan Reynolds is honored with star on the Hollywood Walk of Fame on December 15, 2016 in Hollywood, California. Getty

Both her parents are stars of the big screen so it was only a matter of time before Ryan Reynolds and Blake Lively's daughter James followed them into showbiz.

The two-year-old has contributed to Taylor Swift's latest album Reputation, and received a credit for her troubles.

Swift unveiled the 15-track record on Friday (10 November) and the accompanying booklet confirmed James lent her vocals to the track, Gorgeous. "Baby intro voice by James Reynolds," it reads.

The uptempo song, which is said to be an ode to her new British actor boyfriend Joe Alwyn, features the lines: "You're so gorgeous / I can't say anything to your face / 'Cause look at your face." She continues over boxy synths: "And I'm so furious / At your for making me feel this way / But what can I say / You're gorgeous."

The 27-year-old let a few lucky Swifties in on the identity of the child at private "secret sessions" ahead of the album's release.

Recalling Swift's account of how the feature came about on Twitter, fans @Jessxtn wrote: "Taylor was with Blake and Ryan at the beach and was playing gorgeous for them on her guitar, and then their daughter, James, kept saying "gorgeous" over and over .. so Taylor was like, "could i use that?" and the intro was born".

Taylor Swift's new album Reputation releases on 10 November Instagram/Taylor Swift

The 10-time Grammy winner has been BFFs with Lively since 2015 and they celebrated Fourth of July at Swift's Rhode Island home last year when Swift was dating actor Tom Hiddleston. Reynolds and Lively names were also featured in her Look What You Made Me Do music video.

James is not the only famous kid to feature on an album in recent years. Five-year-old Blue Ivy Carter dropped a freestyle rap on her dad Jay-Z's album 4:44, and DJ Khaled's son Asahd was named executive producer on his album Grateful at just four months old.