Restructuring Images Generated By AI