You can use this other API
They have parameters you can use similar to the old Google Chart API.
data
QR Code data, needs to be HTML encoded
Error correction level: L, M, Q or H
Hex color code for the QR symbol
Hex color code for the background
Transparency of the background: True or False
Width of the whitespace around the QR code
Measurement unit for the quiet zone: mm (default), in (inch), mil (mils), mod (modules) or px (pixel)
Code page used for encoding data. Choose between UTF8 (default), Cyrillic and ANSI
Resolution (DPI - dots per inch) of the QR code image [96..600]
Size of the QR code: small, medium or large
Method used for returning the created QR code image (PNG): BASE64 (BASE64 encoded byte array for AJAX calls), Image or Download
I only cared about the error correction parameter and quietzone (border) parameters, it works without declaring every parameter.
I hope this helps other transition from the google API
It looks like peiyezhu has offered another option although I haven't tested it.