API tips on AI Art QR Codes

Go through our Developer Alex's pro tips for using the AI Art QR Code API

Question: I'm running the API but how do I add my own QR image?

STEP 1:

You can click the first link on gooey.ai/qr-code/api to see the complete api documentation with field names, response and request formats, etc. In this case what you are looking for is the qr_code_input_image field which takes a file url corresponding to an existing qr code as a string:

STEP 2:

The easiest way to figure out how to format a specific request is to run it in the UI (e.g. upload an existing wifi QR code like this https://gooey.ai/qr-code/?run_id=v6lsozk6&uid=2pZJQouaP2Okm18cbEhIpOQpqCg1) hit submit and then go to the api tab. If you select "show all fields" and "python", it should give you the full api code to replicate the web ui run you are looking for:

Last updated