Lois Bujold wrote a gender flipped Beauty and the Beast story as part of her ongoing Vorkosigan Saga. The series title character, interstellar super spy Miles Vorkosigan, is captured by his enemies and dumped in a pit with a failed subject from a super-soldier experiment:
“The huge rippling shadow struck out of nowhere, at incredible speed… Miles first saw the fangs as they bit and tore and buried themselves in the rat’s tissues. They were functional fangs, not just decorative, set in a protruding jaw, with long lips and a wide mouth; yet the total effect was lupine rather than simian. A flat nose, ridged, powerful brows, high cheekbones. Hair a dark matted mess. And yes, fully eight feet tall, a rangy, tense-muscled body.”
Turns out, though, that she’s got human intelligence, and isn’t any more of a fan of being thrown in a pit than Miles is. They team up and (after a bit of fooling around - Miles is basically Space James Bond, so that’s sort of obligatory) escape. Much later in the series, when she’s a guest attending a wedding, she even gets a transformation sequence, courtesy of someone with impeccable fashion sense:
“A stunning vision in hunter green stepped through behind her. Oh, it was still Taura, certainly, but … the skin that had been sallow and dull against the pink was now revealed as a glowing ivory. The green jacket fit very trimly about the waist. Above, her pale shoulders and long neck seemed to bloom from a white linen collar; below, the jacket skirt skimmed out briefly around the upper hips. A narrow skirt continued the long green fall to her firm calves. Wide linen cuffs decorated with subtle white braid made her hands look, if not small, well-proportioned. The pink nail polish was gone, replaced by a dark mahogany shade. The heavy braid hanging down her back had been transformed into a mysteriously knotted arrangement, clinging close to her head and set off with a green … hat? feather? anyway, a neat little accent tilted to the other side. The odd shape of her face seemed suddenly artistic and sophisticated rather than distorted.”
The only way it doesn’t quite fit the “Beauty and the Beast” motif is that Miles is no beauty, conventionally speaking: he’s a scarred hunchback who’s just this side of dwarfism. But a major theme of the series is, “What exactly does ‘conventional beauty’ mean in a post-human society?”