A man has been charged with torturing and raping a woman during a 14-hour ordeal on Queensland's Sunshine Coast, during which he allegedly poured petrol over her and threatened to set her alight.

Key points: Police said they believed the victim knew the man and went to the house voluntarily

Police said they believed the victim knew the man and went to the house voluntarily A man has been charged with multiple offences and is in hospital being treated for a stab wound

A man has been charged with multiple offences and is in hospital being treated for a stab wound A neighbour said it was normally a quiet town and neighbourhood

Police alleged the 31-year-old man also repeatedly assaulted the woman at the Maroochydore home between 8:00pm Wednesday and 10:00am Thursday.

Police said initial investigations suggested the victim knew the man and had gone to the home voluntarily.

"It would have been absolutely terrifying for the victim," Detective Sergeant Chris Eaton said.

"We'll allege that she was detained for a 14-hour period, she wasn't able to leave the house, we'll be alleging that she was tied up for protracted periods of that.

"Police will allege part of those assaults included the woman having petrol poured over her and threatened to be set alight, as well as being assaulted with objects."

A cleaner at the house raised the alarm to police, who attended the scene shortly after. ( ABC News: Tessa Mapstone )

It is believed an employee of the household, a cleaner, called police, who arrived at the scene a short time later.

"The person … had simply witnessed something that was concerning to her so she contacted police who subsequently attended," Detective Sergeant Chris Eaton said.

The victim managed to call her friends for help when her alleged captor was distracted, they too came to the house before police arrived.

"It was at the address at that time that the male person has sustained the stab wound and police are investigating that particular matter," Detective Eaton said.

The alleged attacker had stab wounds when police arrived and was taken to hospital. ( ABC News: Tessa Mapstone )

"One can only speculate what could have possibly happened if she hadn't been able to reach that telephone."

The man, 31, is in hospital being treated for a stab wound and faced a bedside court hearing on Friday afternoon after being formally charged by police.

The matter was adjourned for committal mention on July 19.

He faces one count of intending to cause grievous bodily harm, one count each of rape, torture, and deprivation of liberty and three counts of assault occasioning bodily harm while armed and in company.

The woman's friends came to the house after she managed to make calls when the alleged attacker was distracted. ( ABC News: Tessa Mapstone )

Neighbour Lachlan Craven lives directly across the road from the house where the attack allegedly occurred.

"I've never met the guy personally, I think he moved in quite recently," he said.

"I'm a bit surprised because you never really hear about things like that around here, it's normally just a quiet neighbourhood.

"I've been living here for a while now and this is the first time I've ever heard of something like this happening, it's pretty scary really."