How should governments balance the regulation of AI-generated content with the protection of free speech and innovation?

The government has asked X to report on obscene AI content. I want to think about the complexities involved in regulating harmful digital content without stifling creativity or violating rights.