Elon Musk's artificial intelligence company xAI has sued the state of Minnesota over a new law banning AI tools that create non-consensual nude images, setting up an early and high-profile constitutional clash over how far states can go in regulating generative AI. The lawsuit, filed just days before the statute takes effect on August 1, 2026, argues the measure amounts to an unconstitutional restriction on free speech. For more on the regulatory battles shaping the industry, follow our breaking AI news.
The complaint was filed in United States District Court in Minnesota and targets the state's attorney general. At issue is legislation passed during the 2026 session that prohibits accessing, downloading, or using a website or app to nudify an image or video, or doing so on behalf of someone else. The law also bans the advertising or promotion of products capable of nudifying images and videos, and allows victims to sue for damages of at least $500,000 for each unlawful access.
A Bipartisan Law With Broad Support
The bill drew overwhelming, bipartisan support in the Minnesota legislature. The House passed it 132 to 1, and the Senate approved it 65 to 0. State Senator Erin Maye Quade, a Democrat from Apple Valley who authored the bill alongside both Democratic and Republican colleagues, framed the measure as narrowly targeted. "My bill simply requires that apps, platforms, and websites have the nudification functions turned off," she said.
Nudification technology allows users to take an existing photo or video of a person and generate a nude version of them, frequently targeting women and minors. Lawmakers and victim advocates have described the tools as among the most urgent harms to emerge from the generative AI boom, with reports of the technology being used to harass classmates, extort victims, and spread non-consensual imagery at scale.
xAI's First Amendment Argument
In its lawsuit, xAI contends that the law imposes an overbroad, content-based ban on free speech and the tools of visual expression. The company argues it already strictly prohibits its users from generating nude or sexualized images of people without their consent, and says it has previously filed suit against users who evaded its technological blockers to produce such images.
By framing the challenge around the First Amendment, xAI is pressing a legal theory that has gained traction among critics of content-based AI regulation: that laws targeting what AI systems can produce risk restricting protected expression and the underlying tools themselves. The outcome could set an influential precedent for other states weighing similar restrictions on synthetic media and deepfakes.
Lawmakers Fire Back
The lawsuit drew an immediate and sharp rebuke from the bill's sponsors. Representative Jess Hanson, a Democrat from Burnsville who led the bill in the House, issued a blunt statement. "It's absolutely disgusting that Elon Musk and his xAI are fighting a law designed to protect children from sexual exploitation," Hanson said. "Nudification is simply an indefensible tool of AI. As the use of AI continues to grow, so does its potential harms, with nudification features being among the most urgent to address, and that's exactly why we banned them in Minnesota."
The clash highlights the tension between state-level efforts to move quickly against concrete AI harms and the constitutional protections tech companies argue shield their products. Minnesota's law targets a specific, widely condemned use case, yet xAI's challenge insists the statute sweeps too broadly by regulating the tools rather than only the resulting abuse.
A Patchwork Taking Shape
The Minnesota dispute is part of a fast-forming patchwork of AI legislation. In 2025, the United States Congress passed the Take It Down Act, which criminalizes the non-consensual publication of intimate images, including AI-generated deepfakes. But that federal law stopped short of penalizing the creation of such images, leaving a gap that states have raced to fill.
A favorable ruling for xAI could complicate similar legislation advancing in other states, where lawmakers are weighing everything from mandatory watermarking to liability for platforms that host synthetic intimate imagery. A ruling for Minnesota, by contrast, would embolden states to target the tools themselves rather than relying solely on after-the-fact criminal penalties.
The corporate backdrop adds another layer of intrigue. xAI, which operates the Grok chatbot, became a subsidiary of SpaceX early in 2026, tightening the ties between Musk's AI ambitions and his broader technology empire. Its decision to challenge a bipartisan child-protection measure reflects a broader industry strategy of contesting state AI laws in federal court, where companies can argue that a patchwork of local rules imposes unworkable compliance burdens.
With Minnesota's ban set to take effect Saturday and the lawsuit seeking to block it, the case will be closely watched by other AI companies, state legislators, and civil liberties groups. The central question, whether regulating the tools that produce harmful synthetic media crosses a constitutional line, is likely to recur as more states adopt their own AI laws in the absence of comprehensive federal rules.
Stay Ahead of AI
Follow the regulatory fights redefining the technology landscape with our ongoing AI news coverage.
Read more AI news
