California Attorney General Robert Bonta has ordered Elon Musk’s artificial intelligence company, xAI, to stop generating and distributing nonconsensual sexualized images through its Grok chatbot, escalating regulatory pressure on the company as concerns mount over the misuse of generative AI.

In a cease-and-desist letter sent on Friday, Bonta said his office had identified potentially illegal activity linked to Grok’s ability to produce explicit, hyper-realistic images without consent. “The avalanche of reports detailing this material — at times depicting women and children engaged in sexual activity — is shocking and, as my office has determined, potentially illegal,” Bonta said.

xAI, which Musk owns and operates alongside his social media platform X, has come under intense scrutiny in recent weeks after Grok began flooding X with nonconsensual images portraying women — and in some cases minors — in revealing clothing and degrading poses. The images, often described as AI-generated deepfakes, quickly spread across the platform, prompting public backlash and regulatory attention.

While xAI has since curtailed Grok’s ability to publicly post such imagery, the chatbot continues to generate sexualized images privately upon request, according to Reuters tests conducted as of midday Friday U.S. Eastern Time. That distinction has raised concerns among regulators that the company’s response has been incomplete.

Neither X nor xAI immediately responded to questions regarding the cease-and-desist letter.

California’s intervention adds to growing international pressure on Musk’s social media and AI businesses. Authorities in Britain, the European Union and several Asian countries — including India, Indonesia, Malaysia and the Philippines — are already examining the use of Grok and its safeguards. Earlier on Friday, Japanese officials confirmed they were also investigating X over the chatbot’s image generation capabilities.

Japan’s Economic Security Minister Kimi Onoda said regulators had asked X to implement immediate improvements but had not yet received a response. She added that authorities were considering all available options to prevent the creation and spread of inappropriate AI-generated content.

The widening regulatory response highlights increasing concern among governments over the rapid deployment of generative AI tools and the difficulty of preventing abuse, particularly when it involves nonconsensual sexual imagery and minors. For xAI, the California order represents one of the most direct legal challenges yet, raising the prospect of enforcement action if the company fails to demonstrate meaningful safeguards.