How can I made 50,000+ bitcoin addresses to my main address (wallet)?

I will need more than 50,000+ addresses to my main wallet.I use bitcoin armory, bitcoin qt and im tring right now Blockchain.info.

Is it possible to generate 50,000+ addresses and linked to my wallet? If I use bitcoin qt or armory I can made manually (button) addresses, but I need something to automated this sistem.

Is it possible? Is there some API for this?