Baltimore has become the first major U.S. city to sue Elon Musk's xAI, accusing the company of violating consumer protection laws by marketing Grok as safe while the AI image generator enabled mass production of non-consensual sexual imagery of women and children. The lawsuit marks a significant escalation in legal pressure against xAI following weeks of revelations about how Grok's capabilities were weaponized to create deepfake pornography. The complaint, filed in circuit court on March 24, 2026, centers on what became known as the "put her in a bikini" trend, where users uploaded photos of real people and used Grok to generate sexualized or nude versions of them without consent. The trend gained notoriety when Musk himself participated, sharing an image created with Grok depicting him in a string bikini. What Exactly Is Grok, and Why Did It Enable This Crisis? Grok is xAI's AI image generator, a tool designed to create images from text descriptions. Unlike some competitors with stricter safeguards, Grok initially lacked adequate protections against generating non-consensual intimate images, or NCII, and child sexual abuse material, or CSAM. The tool's permissive design allowed users to easily manipulate photos of real people into explicit content. Baltimore Mayor Brandon Scott emphasized the severity of the harm in a statement to CNBC, saying the deepfakes "have traumatic, lifelong consequences for victims." He added, "We're talking about tech companies enabling the sexual exploitation of children. Our city will not stand by and allow this to continue; it's a threat to privacy, dignity, and public safety, and those responsible must be held accountable". The scale of the problem is staggering. According to a report published by the Internet Watch Foundation, a U.K.-based charity, girls were the targets of 97% of illegal AI-generated sexualized images assessed by the organization in 2025. This statistic underscores how AI-generated sexual abuse material disproportionately harms minors and women. How Is Musk's Own Behavior Fueling the Legal Case Against xAI? Baltimore's complaint argues that Musk's participation in the "put her in a bikini" trend functioned as a public endorsement of Grok's capability to generate sexualized imagery. The lawsuit states that "Musk's post functioned as public endorsement of Grok's ability to generate sexualized or revealing edits of real people, and it signaled to users that these uses of Grok were acceptable, humorous, and encouraged". The complaint goes further, noting that "coming from the owner and principal public face of both xAI and X, Musk's post operated as marketing and promotion for the very image-editing capability that was being used to generate non-consensual sexual imagery." This argument is significant because it suggests that Musk's actions may have actively encouraged the harmful behavior the city is now suing to stop. Baltimore is seeking the maximum statutory penalties available under city law, though no specific dollar amount was listed in the complaint. The city is also requesting injunctive relief, which would force xAI and X to make concrete changes to their platforms. What Changes Is Baltimore Demanding From xAI and X? - Cease Exploitation: The city wants X and xAI to "cease the targeting and exploitation of Baltimore's residents" and stop enabling the creation of non-consensual sexual imagery - Platform Redesign: Baltimore is asking the court to order the companies to "reform their exploitative platform design" to prevent users from easily generating NCII and CSAM - Marketing Revision: The city demands that xAI and X revise their marketing materials to accurately reflect the risks and limitations of Grok, rather than presenting it as generally safe These demands represent a blueprint for how regulators and municipalities may approach AI safety going forward. Rather than seeking only financial penalties, Baltimore is pushing for structural changes that would make it harder for bad actors to misuse the technology. The Baltimore lawsuit is not happening in isolation. Last week, attorneys representing three teenagers in Tennessee filed a proposed class-action lawsuit against xAI after Grok generated content depicting them in sexualized and debasing scenarios. This suggests that individual victims and their families are also mobilizing legal action. xAI now faces regulatory probes in several countries following the deepfake porn crisis. The company, which merged with SpaceX last month, has not yet responded to requests for comment from CNBC regarding the Baltimore lawsuit. The timing of this legal action is critical. As AI image generation tools become more accessible and powerful, the question of how to prevent their misuse for sexual exploitation is becoming urgent. Baltimore's lawsuit signals that cities and states are willing to use consumer protection laws and deceptive trade practice statutes as tools to hold AI companies accountable when their products enable harm.