Cupcake ATM dangerous for dieters

? Sprinkles, the Beverly Hills bakery that helped inspire the craze for sweet frosting in snack-size portions, will launch a cupcake-dispensing machine at its flagship store.

Founder and owner Candace Nelson said her company is rolling out the first high-tech vending machine on Tuesday, with three more in the works for New York City by the summer.

The ATM-like machine features a touchscreen and a robotic arm that pulls the right flavored cupcake from a wall of single-serving boxes inside the store.

Nelson said the custom-built gadget is in response to demand for increased hours at the popular store.

“After dinner people want a cupcake. But we can’t be open all night long because of our poor employees. So we’ll just stock it fresh before they leave for the evening, and it’ll be good to go,” she said.

The machines will be restocked constantly throughout the day so the goods stay fresh.

Customers think the vending machines are a sweet idea.

“You can never have too much access to your cupcakes,” said Patrick Swope of Rogers, Ark., who was visiting the Sprinkles New York City shop with his family.

Nelson, who is a featured judge on the Food Network’s “Cupcake Wars,” started this bakery with her husband 10 years ago.