It's best to decorate the mini cakes as close to serving time as possible to ensure they stay fresh and visually appealing. However, you can prepare the decorations ahead of time. For example, if you plan to use buttercream frosting and colored sprinkles, you can make the frosting and set aside the sprinkles in separate containers. Then, when you're ready to serve the cakes, simply assemble and decorate them.