01 - Preheat the oven to 350°F. Grease and flour a 9-inch round or square cake pan, tapping out any excess flour.
02 - In a large mixing bowl, beat together the mashed bananas, vegetable oil, granulated sugar, eggs, and vanilla extract until smooth and well blended.
03 - In a separate bowl, whisk together the all-purpose flour, baking soda, baking powder, salt, and ground cinnamon if using, until evenly distributed.
04 - Gradually fold the dry ingredient mixture into the wet ingredients using a spatula, mixing until just combined. Avoid overmixing to keep the cake tender.
05 - Gently stir in chopped walnuts, pecans, or chocolate chips if desired, distributing them evenly throughout the batter.
06 - Pour the batter into the prepared cake pan and use a spatula to smooth the surface evenly.
07 - Bake on the center rack for 35 to 40 minutes, or until a toothpick inserted into the center of the cake comes out clean.
08 - Allow the cake to cool in the pan for 10 minutes, then carefully transfer it to a wire rack to cool completely before serving.