Generative design is an innovative and novel feature of Autodesk Fusion 360. This study delves into the innovative application of generative design strategies in Autodesk Fusion 360. Working on the generative design in the cloud is the built-in functionality of Fusion 360. As AI has become a common and compulsory tool in every search engine, the concept of generative design has also been included in software design to generate optimum design models. In this paper, four optimal outcomes of the generative design of leg-2 are discussed with tabular, pictorial, and graphical representations to evaluate factors such as stress distribution, mass reduction, and material selection. Leg-2 is the name given to a component of a glass cleaning robot, which is optimized by the generative design. This paper describes how a design is being created, limited by constraints (e.g., structural load), and optimized through multiple iterations. There are a total of four optimal case studies generated, for all four case studies and outcomes, mass vs. volume, mass vs. stress, and mass vs. displacement analyses are presented graphically to different materials provided by the author. The results of these case studies were found within the critical yield strength values of the respective materials, along with mass optimization through generative design analysis. Through graphical analyses and stress simulations, this study underscores the superiority of carbon fiber-reinforced plastic (CFRP) in terms of strength-to-weight ratio, stress resistance, and displacement characteristics. CFRP has emerged as the preferred choice for enhancing the longevity and efficiency of robot leg components.