A Brisbane teenager has been granted bail after facing court accused of bullying a younger boy into sending him nude photos and bribing him for a sex act.

A Brisbane high school student allegedly bullied a younger boy at his school into sending him nude photos and tried to bribe him into engaging a sex act.

The 17-year-old male Year 12 student appeared in the Brisbane Magistrates Court on Friday charged with a string of offences including stalking, making and distributing child porn, indecent treatment of a child, using the internet to procure children and using a carriage service to harass.

Queensland Police prosecutor Scott Pearson said the boy sent numerous unwanted sexually explicit messages via Facebook earlier this year to two 13-year-old students and a 14-year-old student who attended his east Brisbane school.

Sergeant Pearson said the older boy bombarded the first victim with requests for explicit photos in July this year.

Eventually the younger boy, feeling pressured and scared, sent several naked images of himself via the mobile video app Snapchat.

At least one of the photos allegedly fell into the hands of another student, who showed the image to the victim at a blue light disco.

The accused then sent his victim a Facebook message in which he said he would delete the picture if the victim allowed him to perform a sex act on him.

The 17-year-old, who has been expelled from the school, sat in the dock with his head in his hands while the allegations were read out.

His father sat in the public gallery.

Sgt Pearson said the teen in the same month allegedly sent images of his penis to another 13-year-old along with explicit messages.

In August, a 14-year-old student allegedly received pornographic photos from the accused, along with messages begging him to engage in a sex act.

Legal Aid lawyer Nicholas Hanly said his client had been diagnosed with autism and depression and had diminished intellectual capacity.

He said the teen identified as homosexual, had been bullied at the school, and one day hoped to be a make-up artist.

The teen was granted bail on condition he have no contact with his alleged victims, stay off the internet and adhere to a curfew at night.