"The industry has raised them to believe it lessens their power [i.e financial value] to accept these roles, which is one of the reasons it's so hard to get financing for movies focusing on female stories," Wilde wrote.
"Enter: @harrystyles, our "Jack". Not only did he relish the opportunity to allow for the brilliant @florencepugh to hold center stage as our "Alice", but he infused every scene with a nuanced sense of humanity.
"He didn't have to join our circus, but he jumped on board with humility and grace, and blew us away every day with his talent, warmth, and ability to drive backwards."
It is the first time Wilde has talked about Styles since reports they were dating.
The New York Post reports their relationship is getting serious, after Wilde was seen moving several suitcases from her home she shared with ex-fiance Jason Sudeikis and into Styles' Hollywood Hills house on Valentine's Day.
Wilde split from Sudeikis, whom she was with for nine years and shared two children with, last year.
The couple were engaged in 2013 but were never married.
Styles has had a string of high-profile relationships, including with US supermodel Kendall Jenner and pop star Taylor Swift.