“Our Idiot Brother” director Jesse Peretz will helm the independent romance “Juliet, Naked,” based on the novel by Nick Hornby.

“Juliet, Naked” centers on Annie, the long-suffering girlfriend of Duncan, and her unlikely transatlantic romance with once revered singer-songwriter Tucker Crowe, who also happens to be the subject of Duncan’s musical obsession.

Los Angeles Media Fund (LAMF) is financing the picture. Judd Apatow, and the team of Albert Berger and Ron Yerxa, Barry Mendel and Jeffrey Soros are producing. Simon Horsman is an executive producer.

The script was written by Tamara Jenkins (‘The Savages”) and Jim Taylor (“Sideways, “About Schmidt”) with revisions by Phil Alden Robinson and Evgenia Peretz.

CAA and UTA set up “Juliet, Naked” and are co-repping the rights.

Jesse Peretz directed nine episodes of Lena Dunham’s “Girls” and five eps of Zooey Deschanel’s “New Girl.”

“I’m thrilled to extend my long collaboration with Jesse to this film,” Apatow said. “He’s a master of bringing complicated characters to life with empathy and humor, and he’s just the perfect director to tell Nick Hornby’s great story.”

Jeffrey Soros and Simon Horsman of LAMF said in a joint statement: “We are very excited to have Jesse on board as the director of ‘Juliet, Naked.’ Jesse’s background as a musician and his command of character-driven comedy are ideal for this wonderful project.”

Apatow has been a prolific producer of comedies including “Trainwreck,” “Knocked Up,” “Superbad,” “Pineapple Express,” “This Is 40,” “The 40-Year-Old Virgin” and the “Anchorman” movies. Berger and Yerxa teamed on “Nebraska,” “Little Miss Sunshine” and “Election.”

Hornby’s novel was published in 2009. The British writer also authored “About a Boy” and “High Fidelity” and has received Oscar screenwriting nominations for “An Education” and “Brooklyn.”

LAMF was launched in September 2014 by Soros and Horsman with a mandate to finance and produce an eclectic slate of highly commercial pictures with individual budgets of up to $50 million. It’s in post-production on two pictures co-financed and co-produced with STX Entertainment: “The Space Between Us (starring Gary Oldman, Asa Butterfield, Carla Gugino and Britt Robertson), slated for Aug. 19; and the supernatural horror film “The Bye Bye Man,” set to bow on Dec. 9.

LAMF is also in post-production on the Jim Carrey-starring thriller “True Crimes,” financed by LAMF and co-produced with RatPac Entertainment and David Gerson.