The AI-generated images of undressed women and children being shared on X were "unlawful and appalling."