A 17-year-old schoolboy in Spain is under investigation after allegedly using artificial intelligence to create deepfake nude images of his female classmates, which he is suspected of selling online.

The investigation began after 16 young women, all students at an educational institute in Valencia, southeastern Spain, reported disturbing incidents of AI-generated sexual images of themselves circulating on social media.

The images showed the minors naked and were allegedly being sold to others.

The first complaint was lodged in December, when a teenage girl informed police that an account had been created under her name, with AI-generated videos and images depicting her in a compromising position.

'Photos of various people, all of them minors, appeared on this account. All these photos had been modified from the originals, which had been manipulated so that the people in them appeared completely naked,' the Spanish Civil Guard said in a statement.