Elon Musk’s artificial intelligence company xAI has filed a lawsuit against the state of Minnesota, challenging a new law that bans so-called “nudification” technology — software capable of digitally removing clothing from images of real people without their consent. The suit, reported by The Guardian on July 29, 2026, argues the statute is unconstitutionally vague and infringes on free speech protections.

The filing comes at a sensitive moment for xAI, whose chatbot Grok has faced repeated criticism over the past year for generating sexually explicit and nonconsensual images of real, identifiable people, including public figures, through its image-generation tool known as Grok Imagine.
What Minnesota’s Law Prohibits
Minnesota’s statute is part of a broader wave of state-level legislation aimed at curbing the misuse of generative AI to produce nonconsensual intimate imagery. The law targets technology specifically designed or marketed to create “nudified” images — realistic depictions that make it appear a person is nude or partially nude when they were not, generated from an ordinary photograph without that person’s consent.
Lawmakers who backed the measure have framed it as a response to a surge in AI-generated exploitation, particularly affecting women and minors, as easy-to-use apps and chatbot features have made it possible for anyone to produce convincing fake explicit images within seconds. Similar bans and civil liability frameworks have advanced in other states as Congress has moved more slowly on federal legislation addressing AI-generated nonconsensual imagery.
xAI’s Legal Argument
In its complaint, xAI contends that Minnesota’s law sweeps too broadly, potentially criminalizing or imposing liability on general-purpose AI image tools that were not built for the purpose of creating nonconsensual nude imagery but could theoretically be misused by individual users. The company argues this exposes AI developers to liability for how third parties use their products, rather than targeting the actual bad actors who generate and distribute the harmful content.
xAI is also expected to argue that the law’s language is vague enough to chill legitimate speech and creative or artistic uses of image-generation technology, and that it conflicts with First Amendment protections against overly broad restrictions on expression. The company has not disputed that nonconsensual explicit imagery causes real harm, but maintains that Minnesota’s approach is the wrong legal remedy.
Grok’s Ongoing Controversy
The lawsuit lands against a backdrop of sustained criticism of Grok Imagine, the image and video generation feature built into Musk’s Grok chatbot and integrated across X, the social media platform he also owns. Users have documented instances of the tool producing sexualized images of real people, including celebrities, without their consent, prompting complaints from advocacy groups focused on digital exploitation and online safety.
Critics argue that xAI’s legal challenge to Minnesota’s law is difficult to separate from the company’s own product controversies, suggesting the timing raises questions about whether the suit is aimed at protecting broad free-speech principles or shielding Grok’s existing capabilities from regulation. xAI has not publicly detailed specific changes it has made to restrict nonconsensual image generation on the platform.
State officials who support the ban have said the law was written to target technology purpose-built for abuse, not general AI research or development, and that they intend to defend it vigorously in court.
A Broader Legal Battle Over AI Regulation
The Minnesota case is likely to become a bellwether for how courts balance free speech protections against emerging state efforts to regulate harmful uses of generative AI. Should xAI prevail, it could complicate similar nudification bans under consideration or already enacted in other states, potentially forcing lawmakers to narrow their statutory language to survive constitutional scrutiny.
Conversely, if Minnesota’s law withstands the challenge, it could embolden other states to pursue comparable restrictions on AI tools capable of producing nonconsensual intimate imagery, adding to a patchwork of state-level AI regulation that has emerged in the absence of comprehensive federal rules.
What Happens Next
The lawsuit was filed in federal court, and no hearing date has been set as of publication. Minnesota’s attorney general’s office is expected to defend the law, while xAI is likely to seek an injunction blocking enforcement while the case proceeds.
The case adds to a growing list of legal fights over AI governance playing out at the state level, as lawmakers, tech companies, and advocacy groups continue to clash over where to draw the line between innovation, free expression, and protection from AI-enabled abuse.