Eliot Spitzer lusted after violence, a former hooker says in a new tell-all book — revealing in graphic detail how the love gov pinned her to a bed inside a posh, Murray Hill apartment and then gripped her by the neck until she feared for her safety.

The violence was scripted by Spitzer, who wanted his hooker to follow a role-play dialogue in which she would pretend she had just taken a self-defense class.

The kinky politician would then pretend to test her skills by announcing, “Well, then, let’s see if you learned anything,” and attacking her.

“The more struggle there was, the more he was into it,” foxy blond escort Rebecca Woodard recalls of her sadistic tryst with Spitzer, whom she serviced for $1,500 at the behest of notorious hooker booker Kristin Davis.

“When he grabbed my throat, that was too much,” Woodard says in her book, “Call Girl Confidential,” written for Simon & Schuster under the nom-de-plume of Rebecca Kade.

Woodard would go on to work for Hockey Mom Madam Anna Gristina — eventually allowing her phone calls to be recorded to help prosecutors take down Gristina’s far more upscale operation.

“He wasn’t squeezing,” she recalls of the governor’s hands at her neck. “He was pushing down. I was on my back. I don’t know if he was trying to really hurt me, but he was . . .

“I was nervous. I was worried. This is not OK, I thought . . .

“It got rough,” she writes. “And then he put his hands around my throat, strangling me.

“He wasn’t pretending to be a rapist. But he was like an attacker. I still had my lingerie on. He was naked. He was aroused,” she writes.

“I thought, What do I do to get this part over with? What can I do? At some point, we have to get down to having sex and move on,” according to the book, which The Post obtained at a New York City bookstore.

The assaultive role play went too far, Woodard reveals.

Anna Gristina

Photo: Steven Hirsch

Former madam Kristin Davis

Photo: Reuters/Eduardo Munoz

Spitzer opening the door for apparent girlfriend Lis Smith.

Photo: Robert Kalfus

Then-New York Governor Eliot Spitzer addresses the media with his wife Silda Wall Spitzer in March 2008. Former New York Governor Spitzer and his wife said on Dec. 24 they were ending their marriage.

Briefed on the client’s “script,” Woodard waited for her mystery date at Davis’ “in-call” cathouse, an apartment at the high-rise Corinthian on East 38th Street.

Coincidentally, the building was developed by Spitzer’s billionaire father, Bernard.

It was the middle of the afternoon; the gov arrived wearing a shirt and tie — but had already ditched his jacket.

There’s no word from Woodard as to the notorious, calf-length black dress socks, which he reportedly kept on during the hooker trysts that became his political downfall.

Spitzer allegedly told Woodard he didn’t want to wear a condom, she says. She told him that was “not negotiable.” And then her all-too-real “self-defense” demonstration began.

“He was like some of the guys who envision themselves in a porn movie,” she said of the role-play’s start.

“It was I who was taking control of him initially,” she writes. “I felt really stupid at first. But then I got it. I’m pretty strong. I think he was gauging my strength.”

Spitzer then wrested control.

“I didn’t feel I was acting after a while,” she recalls of starting to struggle for real.

“I remember holding his wrists, him pushing back, me trying to hold my stance, and then we moved to the bed. My clothes came off in the fray,” she writes.

“It was all about restraint and holding me down until I was nearly helpless. He really put on a lot of pressure, pinning me to the bed,” she writes.

“It takes a lot to scare me. I’ve been through a lot. But at this point I was starting to get worried . . .

There was no ‘safety code word,’ and Spitzer ignored her pleas that he stop, halting the attack only when he was sated,” she said.

“He never said, ‘I’m sorry, are you OK?’ ” she recalled. He did leave her a big, undisclosed tip.

Woodard had one more creepy recollection — Spitzer sweated profusely. So much so that she joked to a friend that she’d had a date with “Governor Shvitzer.”

Woodard says in her book that she is a “Southern girl” and single mom who turned to prostitution to help finance a nasty custody battle against a “rock star.”

She coyly doesn’t name names in her tell-all, but Woodard’s battle was in the news at the time, in 2005, when she took the rocker — Spin Doctors front man Chris Barron — to court for allegedly kidnapping their little girl.

The rocker attacked Woodard in court as a Vicodin-popping mental case who was shacking up with a convicted rapist while raising their then-6-year-old daughter.

Reached about the book Saturday night, Gristina graciously showed no ill will toward Woodard for flipping against her.

“She was worried about losing her kid,” Gristina said.

Some of the book does appear a bit exaggerated, Gristina couldn’t help but add.

“She was just one of my budget, all-American girls,” Gristina said. “She only earned $400 an hour. She had no boobs.”