Elon Musk's social media platform X has provoked outrage after people used its AI chatbot Grok to alter photos of women by removing their clothing.

The BBC has seen several examples of it undressing women to make them appear in bikinis without their consent, as well as putting them in sexual situations.

XAI, the company behind Grok, did not respond to the BBC's requests for comment, other than with an automatically-generated reply stating "legacy media lies".

A Home Office spokesperson said it was legislating to ban nudification tools, and under a new criminal offence, anyone who supplied such tech would "face a prison sentence and substantial fines".

The regulator Ofcom said tech firms must "assess the risk" of people in the UK viewing illegal content on their platforms, but did not confirm whether it was currently investigating X or Grok in relation to AI images.