There is a website forvo.com which has a bunch of community-generated pronunciations of words in a ton of languages. I used to use it a lot when I was playing around w/ learning languages.
There's also a paid API. I made a very basic command-line client which might still work: https://github.com/erinok/forvosay