"It's not much of a setback," Bryant said. "They played very well. They obviously have a familiarity, been playing together, and they know where they want to be in their spots. They executed down the stretch. LeBron made some tough shots."
Pau Gasol had 12 points and four rebounds in his return from a five-game absence with a concussion for the Lakers, who had hoped to build on consecutive victories following a six-game losing streak that knocked them well out of the West playoff picture.
James and Wade got little help until Allen's late flurry, but they didn't need it. Chris Bosh had just seven points and six rebounds in 35 minutes for Miami.
"LeBron is going to get his points, but if we control Dwyane and Chris Bosh, we have a better chance of winning," Howard said. "Tonight, D-Wade, he had it going on the offensive end."
Bryant scored at least 20 points in his 23rd consecutive game, but the NBA's leading scorer missed 14 of his first 17 shots.
The game featured four of the 10 starters in next month's All-Star game, with Bryant edging James by roughly 7,800 votes as the top vote-getter in the final results announced earlier in the day. Wade and Howard also will start in Houston.
Bryant is headed to his 15th All-Star game in 17 NBA seasons, starting a record 15 consecutive times, while Howard will be a seven-time All-Star.
Earl Clark stayed in the Lakers' starting lineup on his 25th birthday, but Gasol played well off the bench in his first game since Denver's JaVale McGee elbowed him in the face Jan. 6.
NOTES: The Lakers visit Miami on Feb. 10 in the final stop of their seven-game road trip while the Grammy Awards take over Staples Center. Los Angeles hasn't won at American Airlines Arena since Feb. 10, 2008. ... Bryant scored at least 20 points in 62 straight games from December 2005 to April 2006. ... Mark Wahlberg, Floyd Mayweather Jr., Queen Latifah, Ellen Pompeo, director Ron Howard and Los Angeles Kings players Dustin Penner, Drew Doughty and Trevor Lewis watched from courtside.