MIAMI — Carmelo Anthony never objected to Knicks president Phil Jackson selecting Kristaps Porzingis at No. 4, but had told insiders he wouldn’t have minded Duke swingman Justise Winslow or Arizona forward Stanley Johnson at that slot either.

Of course, Anthony is ecstatic how it is playing out for the surging Knicks, who face the Heat on Monday at AmericanAirlines Arena. Anthony may square off against Winslow, who comes off the bench but often matches up against an opponent’s top scorer.

In the wake of another masterpiece by Porzingis on Saturday in Houston that included an otherworldly fourth quarter, the prospect of Anthony and the 7-foot-3 Latvian becoming a long-term star tandem is happening sooner rather than later.

Anthony, who has four years left on his contract, recently told confidants about Porzingis: “He’s gonna lead this organization long after I’m retired. Hopefully we can hoist one or two [championship trophies] before that happens.’’

Jackson may have the final nugget for his lofty résumé for taking Porzingis over Winslow, point guard Emmanuel Mudiay, and big man Willie Cauley-Stein.

Instead of jealousy over Porzingis’ sudden fame, Anthony is relishing it, becoming “a big brother’’ as promised in training camp. Anthony is almost always looking for the rookie-of-the-year candidate. And he wants no credit for the kid’s stunning start.

“We’re just building it,’’ Anthony said of their relationship. “I’m here to help him and use my experience and help him get his feet wet, and he’s doing a pretty good job. I don’t want any credit for that. He’s doing a good job on his own. Learning the game and getting a feel for the game. You can see each game he’s getting better.’’

The Anthony-Porzingis pairing is going a lot smoother than Houston’s James Harden/Dwight Howard coupling.

“It’s the most important thing,’’ interim Rockets coach J.B. Bickerstaff said in Houston. “If they’re not on the same page between the lines, we don’t get where we need to go.’’

There wasn’t the same bond between Anthony and Jeremy Lin during the Linsanity days of 2012. One source said the situations are different. Lin never even excelled at practice, contrary to Porzingis always working hard.

Grounded and basketball-focused, he was unmoved when asked about looking forward to his very first visit to South Beach.

“I’m looking forward to getting another win,’’ Porzingis said.

The Knicks are 8-6 after sweeping the first two games of the four-game trip — 5-2 on the road after going 7-34 last season.

In two of the last three games, Porzingis has posted 29 and 24 points. His Rockets blitz was historic — 24 points, 14 rebounds, seven blocks. At 20 years, 111 days, he’s the youngest player to post numbers that high in the three categories for a single game, edging Shaquille O’Neal. He’s the first rookie to do so since Tim Duncan in 1998. Porzingis’ seven blocks tied a franchise record for a rookie, set by Lonnie Shelton.

“I’m not too surprised,’’ said starting shooting guard Arron Afflalo. “He’s so smart and committed. He’s got God-given gifts to play this game in terms of rebounding and scoring. He’s tall and skilled, but more importantly he’s mentally prepared for a kid at 20. That’s very impressive and only getting better with time.’’

As Anthony said afterward, “I think we’re just scratching the surface right now of what we can be and where we’re trying to go.”

Porzingis said he’s got to be a more consistent force, admitting it was an issue in Spain. He has saluted mentors Anthony, Jose Calderon and Sasha Vujacic.

“This past two seasons when playing in Spain, I used to have ups and downs,’’ Porzingis said. “I really wasn’t consistent. It’s a level higher, better basketball. It’s even harder to be that consistent when guys go into detail watching film on you and get you out of your rhythm. That’s the thing with every game, every season I got to get better at and be more consistent to make sure I help the team every game.’’

Last Sunday against the Pelicans, Anthony Davis gave Porzingis fits, as did Serge Ibaka on Friday in Oklahoma City. He caught a break Saturday in Houston when the built-like-a-brick Howard sat out, though Porzingis didn’t see it that way.

“I never played against Dwight,’’ Porzingis said. “I’ve seen a lot of film of him. He’s a big presence in the paint. I wasn’t thinking about Dwight’s not playing I can have a better game.’’

As recently as a week ago, Porzingis struggled with his touted perimeter jumper. Before the road trip, he said only Davis can block it, so he needed to take his time. His percentages have risen to 42.7 from the field — 30.8 percent on 3s. His free-throw rate is a golden 82.3 percent. As one scout said, he draws a lot of non-shooting fouls, too.

“It’s just working on it in the practice, having that confidence even if I’m missing,’’ Porzingis said of his 3-point shot. “Now finally a few shots are going in and hopefully I can keep shooting this way.’’

He’s got so much in his arsenal, even unveiling a lefty sky hook Saturday and a “Euro-step’’ on a fast break that he botched. Just leading the break at his height was jaw-dropping.

“Whatever presents itself, he’s taking advantage,’’ Derek Fisher said. “That’s a sign of a really good player that can make it — not necessarily look easy — but comfortable in making the game simple.’’