Elon Musk's social media platform has warned users not to use Grok to generate illegal content.

The BBC has seen several examples of it undressing women and putting them in sexual situations without their consent.

xAI says it is working to improve systems after lapses in safeguards led to wave of sexualized images this week