This tool will convert JSON styles intended for the Google MAPS Javascript API into a query string for use with Google static maps API.
All you have to do is pass your JSON styles into the get_static_styles function and it will return the converted string. You could for example, create a html page, include the converter.js file and log the output of the return statement in order to get the string.
There is an issue with colors, hue and saturation with static maps. Check it out here
This code comes from this stackoverflow answer. All I did was add unit tests :)
MIT. Do you want you want with it I don't care.