A federal judge in Minnesota has officially cleared the way for a landmark state law targeting "nudification" software to take effect, rejecting a last-minute legal challenge from xAI, the artificial intelligence company founded by Elon Musk. U.S. District Judge Donovan Frank denied xAI’s request for a temporary restraining order on August 1, 2026, ruling that the company’s delay in filing the challenge undermined its claims of "immediate and irreparable harm." The decision marks a significant victory for state-level regulators seeking to curb the proliferation of non-consensual sexualized deepfakes, a digital epidemic that has surged alongside the rapid advancement of generative artificial intelligence.
The ruling comes at a time of heightened tension between the technology sector and legislative bodies. Minnesota’s ban, the first of its kind in the United States to specifically target applications designed to digitally strip clothing from images of real people, has become a flashpoint in the debate over First Amendment protections versus the necessity of protecting individuals from digital sexual violence. While the lawsuit remains ongoing, the judge’s refusal to grant a preliminary injunction means that as of August 1, the law is enforceable across the state.
The Judicial Ruling and the Argument of Timing
In his memorandum accompanying the order, Judge Donovan Frank focused heavily on the procedural timeline of xAI’s legal maneuver. The Minnesota law was signed into effect nearly three months prior to the company’s filing. Despite this window, xAI—which is now integrated within the broader SpaceX corporate umbrella alongside the social media platform X—did not file its request for a temporary restraining order until July 29, 2026. This was a mere three days before the statutory implementation date of August 1.
Judge Frank noted that such a significant delay in seeking judicial intervention suggested that the perceived harm to the company was not as urgent as its legal counsel claimed. "Such a delay in bringing the action and the motion suggests that harm is not immediate," Frank wrote in the ruling. Under federal law, the granting of a temporary restraining order requires the moving party to demonstrate that they will suffer "irreparable harm" if the status quo is not maintained. By waiting until the eleventh hour, xAI effectively weakened its own argument that the law posed an existential threat to its operations or the constitutional rights of its users.
While the court did not rule on the ultimate merits of the case, the denial of the injunction serves as a procedural blow to xAI. The company had argued that the ban was "overinclusive" and that the state had failed to consider "far less restrictive alternatives" to achieve its goal of protecting citizens from non-consensual deepfakes.
Background of the Minnesota Nudification Ban
The legislation in question was prompted by a series of high-profile incidents involving the use of AI to create sexually explicit imagery of students, public figures, and private citizens without their consent. Unlike broader deepfake laws that might target political misinformation, this specific Minnesota statute focuses on the "nudification" process—the use of neural networks to estimate and render a person’s body under their clothing.
The law prohibits the distribution, sale, and operation of software or applications whose primary purpose or advertised function is the creation of non-consensual sexualized imagery (NCII). Legislators argued that these tools serve no legitimate artistic or commercial purpose that outweighs the psychological and reputational devastation they cause to victims.
For xAI, the stakes are particularly high. The company’s Grok chatbot and its associated image-generation capabilities have been at the center of multiple controversies. Earlier in 2026, Grok was criticized for its lack of guardrails, which allowed users on the X platform to generate and disseminate realistic, sexualized images of celebrities and private individuals. These incidents led to a cease-and-desist order from the California Attorney General and a total block of the Grok service in Indonesia.
Chronology of the Dispute
The path to this legal confrontation began in early 2026, following a surge in AI-generated sexual violence.
- January 2026: Users on X (formerly Twitter) began utilizing Grok’s integrated image generation tools to bypass standard safety filters. A flood of non-consensual sexualized images of high-profile figures began circulating, leading to international outcry.
- February 2026: The California Attorney General’s office issued a formal cease-and-desist to xAI, demanding immediate improvements to its moderation algorithms. Simultaneously, Indonesia became the first nation to block Grok entirely, citing the platform’s failure to prevent the spread of deepfake pornography.
- May 2026: Minnesota Governor Tim Walz signed the "Nudification Prevention Act" into law, following bipartisan support in the state legislature. The law provided a three-month grace period for tech companies to comply with new standards.
- July 29, 2026: xAI filed a federal lawsuit in the District of Minnesota, seeking to have the law declared unconstitutional on First Amendment grounds.
- August 1, 2026: Judge Donovan Frank denied the request for a temporary restraining order, allowing the law to take effect as scheduled.
Supporting Data: The Rise of AI-Generated Sexual Violence
The legal push in Minnesota is backed by alarming data regarding the misuse of generative AI. According to a 2025 report by the cybersecurity firm Sensity AI, approximately 96% of all deepfake videos found online are non-consensual pornography. The report further noted that the "nudification" niche—specifically apps that "undress" photos of women—has seen a 460% increase in traffic over the last 24 months.
Furthermore, a study by the University of Minnesota’s digital ethics department found that nearly 1 in 10 female high school students in the state reported being threatened with or victimized by AI-generated sexual imagery. These statistics provided the legislative "compelling interest" required to defend the law against constitutional challenges, which typically require the government to prove that a restriction on speech or software serves a vital public safety goal.

Arguments from xAI and SpaceX
In its filings, xAI argued that the Minnesota law is a form of "prior restraint" that stifles technological innovation. The company’s legal team contended that the software itself is a neutral tool and that the state should focus on punishing the individuals who misuse the tool rather than banning the technology.
"The Act is overinclusive, sweeping in legitimate uses of artificial intelligence and creating a chilling effect on developers," the complaint stated. xAI further argued that the law’s definitions are "fatally vague," potentially exposing developers to criminal liability for any image-generation tool that could theoretically be used for nudification, regardless of the developer’s intent.
The company also invoked Section 230 of the Communications Decency Act, arguing that as a platform and tool provider, it should not be held liable for the specific outputs generated by its users. However, legal experts note that the Minnesota law is carefully crafted to target the function and marketing of the software itself, rather than just the third-party content, which may circumvent traditional Section 230 protections.
Official Responses and Reactions
The ruling has drawn sharp reactions from both sides of the digital privacy debate. Minnesota Attorney General Keith Ellison praised the judge’s decision, framing it as a win for human dignity.
"No one has a constitutional right to use technology to violate the bodily autonomy and privacy of another person," Ellison said in a statement. "This law is a common-sense measure to ensure that our residents are protected from a particularly insidious form of digital harassment. We are prepared to defend this law through the entirety of the litigation."
Conversely, representatives for xAI and SpaceX issued a brief statement expressing disappointment: "We believe the court has overlooked the significant First Amendment implications of this law. While we are committed to safety, we believe that broad bans on software are the wrong approach to solving complex societal issues."
Privacy advocates and victims’ rights groups, such as the Cyber Civil Rights Initiative (CCRI), hailed the decision as a precedent-setting moment. "For too long, tech companies have hidden behind ‘innovation’ to avoid responsibility for the harm their products cause," said a spokesperson for CCRI. "Minnesota is setting the standard for the rest of the country."
Broader Impact and Implications for the AI Industry
The failure of xAI to block the Minnesota law is expected to embolden other states to pass similar legislation. Currently, at least 14 other states, including New York, Illinois, and Washington, are considering bills that would criminalize the creation and distribution of nudification software.
This case also signals a shift in the judiciary’s approach to AI regulation. By focusing on the "timing" and "immediacy" of the harm, Judge Frank avoided making a definitive ruling on the First Amendment early on, but his skepticism regarding xAI’s "immediate harm" suggests that courts may no longer grant tech giants an automatic pass when they claim that regulation will stifle progress.
For the AI industry, the Minnesota ban represents a move toward "safety by design." Companies may now be forced to implement hard-coded "redlines" in their models to prevent the generation of realistic human anatomy in non-consensual contexts. For xAI and Grok, this likely means a total overhaul of their image-generation architecture to ensure compliance with Minnesota law, or risk facing significant daily fines and potential criminal charges for its executives.
As the lawsuit moves into the discovery phase, the tech world will be watching closely. The final outcome of xAI v. Minnesota could determine whether the "wild west" era of generative AI is coming to an end, replaced by a new framework of digital accountability and state-level oversight. For now, in Minnesota, the tools of digital nudification are officially against the law.
