Pope Leo XIV has told the Vatican's first Mass for Catholic social media influencers that human dignity needs to be protected online as the world faces the "challenge" of artificial intelligence (AI).

"Nothing that comes from man and his creativity should be used to undermine the dignity of others," the Pope said in St Peter's Basilica.

He said the developing technology should be used for the "benefit of all humanity" during comments at the Vatican's Jubilee of Youth, a week-long gathering for young worshipers which is held every 25 years.

It is the latest in a string of interventions the Pope has made on the subject of AI since he was elected in May.

During Tuesday's speech, the Pope called on the world to protect "our ability to listen and speak" in a "new era".