A Brazilian tourist accused of secretly filming himself having sex with his boyfriend and posting it online masturbated in front of a school while on bail, a Sydney court has heard.

Key points: Fabricio da Silva Claudino is in Australia on a tourist visa

Fabricio da Silva Claudino is in Australia on a tourist visa Today, a court heard "he's likely to commit more offences"

Today, a court heard "he's likely to commit more offences" He is accused of posting secretly filmed videos to the amateur porn platform OnlyFans

Appearing before Central Local Court, Fabricio da Silva Claudino was dressed in prison greens and dropped his head into his hands when his new bid for freedom was rejected.

Magistrate Robert Williams ruled the 31-year-old, who has more than 30,000 Instagram followers, posed "a serious risk to the community" and "endangerment to the safety of his victims".

The former Emirates flight attendant allegedly videoed himself having sex with his boyfriend without his consent before uploading it to OnlyFans, a website where subscribers pay amateur porn stars to post explicit content.

"It's effectively using a mobile phone to record their victim when they're at their most vulnerable moment during a sexual act," prosecutor Chris Manning said.

Mr Manning argued the Brazilian would almost certainly reoffend if bail was granted "given that's the only way he supports himself in Australia".

The court heard the amateur porn star had committed further serious offences while on bail, which led to his arrest at his Surry Hills apartment last Friday.

"He got his penis out and started masturbating ... doing it outside Cleveland Sydney Intensive High School," Mr Manning said.

"This is someone who is unable to manage his urges."

Fabricio da Silva Claudino has a large social media following. ( Supplied )

Defence lawyer Jessica Tohi argued any risk to the community could be mitigated with strict bail conditions, including having no access to social media and only one mobile phone.

"He is not in trouble for posting those images to forums … it is simply the matter that they appear to be taken in public places," she said.

"There is no evidence anyone saw him taking those photos or videos."

But Magistrate Robert Williams agreed it was a "strong prosecution case" and that the defendant could face up to five years in prison if found guilty.

According to court documents, Mr da Silva Claudino allegedly exposed himself on numerous occasions in or around his Chalmers Street apartment in Surry Hills, including in a building stairwell, and on a public bus.

The documents also detail allegations of offensive behaviour on a platform at Sydney's Central Station.

Outside court, his friend Elisa declined to comment, while his lawyer Jessica Tohi said her client was "doing as good as he could be" while being held in a cell at the Sydney Police Centre in Surry Hills.

The case returns to Central Local Court on February 26.