Due to the outstanding performance, composite materials are widely used and analyzing their properties and designing them based on performance has become a crucial task in the field of many manufacturing industries. Composite materials possess complex multiscale structures, and traditional fine-scale finite element modeling and analysis may lead to severe computational resource challenges. To overcome this difficulty, breakthroughs in key technologies of multiscale accelerated analysis algorithms are required. In this study, an innovative approach based on artificial intelligence and multiscale finite element method is presented. This approach involves partitioning the entire composite material structure into coarse grids that resemble homogenous structures of similar size, providing results consistent to fine-grid finite element analysis. By utilizing CNN for image feature recognition and employing the CGAN adversarial method, coarse-grid equivalent stiffness matrices and multiscale shape functions from completely random microstructures of composite materials can be obtained. Consequently, this enables a rapid response process from microstructure to low-resolution grid to high-resolution physical field, with remarkably accurate physical field results. Moreover, compared to traditional fine-grid finite element methods, this approach significantly reduces memory usage and computation time. This method is applicable to composite materials with varying shaped inclusions, different component properties, and diverse geometric distributions, allowing these materials to perform high-fidelity finite element calculations on coarse grids and predict their mechanical behavior. Furthermore, this breakthrough opens avenues for accelerating the optimization design of composite materials with diverse mechanical functionalities, by employing a bottom-up approach.