Ben Affleck is in talks to star in, co-write and possibly direct a standalone “Batman” movie.

Sources have confirmed to Variety that Affleck is in negotiations to pen the solo “Batman” film with Geoff Johns after he has finished directing “Live by Night,” which is set to begin production in November.

Warner Bros. had no comment.

Additional details are still under wraps other than the fact that Affleck will star as the Caped Crusader, a role he will first assume in “Batman v Superman: Dawn of Justice,” and then in “Justice League,” which bows in 2017.

Given how much time and effort goes into directing, it might be a long while before Affleck puts pen to paper. He’s currently focused on getting “Live by Night,” based on Dennis Lehane’s Prohibition-era crime novel, off the ground.

Affleck is expected to be promoting “Batman v Superman: Dawn of Justice” this weekend at Comic-Con in San Diego.

He can be seen next in Warner Bros.’ “The Accountant,” which bows in January. Affleck is repped by WME.

Popular on Variety

The news was first reported by Deadline Hollywood.