Michael Beasley was invited by Knicks president Steve Mills and coach David Fizdale to join them on a float in the Gay Pride parade last Sunday in New York. Perhaps it was a way for Fizdale to see how much Beasley has changed.

As the Knicks figure out how to fill their stopgap starting power forward position during their expected quiet free agency, Beasley is still in the mix, according to NBA sources, but hardly a given.

Knicks brass is doing their due diligence in investigating the rest of the midlevel power forward market as they are expected to wield an $8.6 million exception when free agency begins Sunday. Enes Kanter’s expected decision to opt into his $18.6 million contract will leave the Knicks without cap space but they don’t have a lot of open spots on their 15-man roster anyway.

The Knicks have added their two draft picks, Kevin Knox and Mitchell Robinson, to the roster. Only Jarrett Jack, Kyle O’Quinn and Beasley are not under contract for next season, if formerly exiled Joakim Noah attends training camp. That really leaves just one spot — two if the Knicks use the stretch provision on Noah before Sept. 1.

But other than Beasley, the Knicks have no ideal starter at power forward to fill in for Kristaps Porzingis, who could be out as late as February as he recovers from ACL surgery.

As team president Steve Mills has confirmed, the Knicks are only offering one-year deals to protect their 2019 cap space for their next big splash, perhaps Kyrie Irving. Who knows? LeBron James, friends with Fizdale, could sign another one-year deal with an opt-out, leaving him free in 2019.

For now, that means they may have to overpay to get a viable power forward for this lottery-bound season.

One emerging forward of interest is Pistons journeyman forward Anthony Tolliver, 33, who ranked sixth in 3-point shooting percentage last season at 43.6 percent. Tolliver shot 51 percent from 3-point land in March and April after adopting a new technology/analytics service. He’s turned into the stretch-4/hustling defensive type Fizdale likes. Fizdale coached Tolliver on the Miami summer league team in 2008.

The Knicks have interest as do the Pistons, but they have a new coach in Dwane Casey. The Pistons are too close to the luxury-tax line to re-sign Tolliver unless they move a contract.

According to sources, the Knicks may want a high-character veteran to come in with their midlevel exception and be a good influence on their young players. Beasley was a scoring machine at times this season (13.2 points, 50.7 FG percentage), but he has had his career quirks. Fizdale coached Beasley during two separate terms in Miami.

There are other candidates the Knicks like in their price and term range on the market. Jeff Green improved his stock with a decent season in Cleveland after signing for the vet’s minimum. Veteran Ersan Ilyasova is a nice 3-point shooter, which is a priority for Fizdale at that position. Defensive forward Luc Mbah a Moute, who suffered a major shoulder injury last season for the Rockets, and Ed Davis have credentials.

Beasley’s market value is an unknown after signing for the veteran’s minimum last summer on his way to becoming a Garden favorite. According to sources, Portland, Atlanta and Milwaukee could have interest. Kevin Durant lobbied last season for Golden State to make a play for Beasley, his buddy from Washington, DC. The Warriors have discussed Beasley internally for the veteran’s minimum, but it doesn’t look like they will make a move.

The Knicks have another way of signing Beasley — using the non-Bird exception, which would increase Beasley’s starting salary to $3 million and then use the midlevel exception on O’Quinn. If they use the midlevel, they’d have to offer a second year non-guaranteed since that exception cannot be for one year.

Mills said the Knicks won’t “be players” in free agency, as they need every cent of cap room for 2019, which is why signing Porzingis to a contract extension this summer as opposed to waiting until his free agency is prudent for all parties.

But they need a stopgap power forward on a one-year deal to fill the bill until Porzingis is back.