New Mexico Attorney General Raúl Torrez sued Elon Musk and X in state court Tuesday, alleging the social media platform deployed its AI chatbot Grok without adequate safeguards to prevent creation and dissemination of child sexual abuse material and nonconsensual intimate imagery.

Torrez says Grok generated dozens of pornographic and sexualized artificial images of adult and underage New Mexicans without consent or knowledge, then disseminated that material to users in the state. X Premium subscribers can use Grok to generate images via AI. The feature was originally available to all users in 2023 but X restricted image generation to premium users after public backlash over deepfakes and nonconsensual pornography.

According to the complaint, X and Musk received repeated warnings from employees, testers and users that Grok was prone to generating child sexual abuse material and nonconsensual intimate imagery, even unprompted. The company dismissed or ignored those warnings and failed to adopt safeguards, Torrez alleges. X marketed Grok image generation features by emphasizing its ability to create "spicy" content that other AI models prohibited, the lawsuit states.

Torrez also contends X used photographs posted by X users as training material without notice or consent so that AI-images would more closely resemble real people. He further accuses the platform of designing Grok to attract and retain underage users, including children under 13, through homework assistance and emotionally responsive chatbot interactions, while lacking effective age verification.

New Mexico asserts six causes of action, including violations of the New Mexico Unfair Practices Act, unconscionable trade practices, unfair collection and exploitation of children's data, unauthorized practice of law and medicine, unjust enrichment and public nuisance. Torrez seeks a permanent injunction barring X from the described practices, civil penalties of $5,000 for each willful violation of the Unfair Practices Act, disgorgement of profits obtained through unlawful conduct, and other measures to abate the public nuisance. X has not replied to a request for comment.