Black Friday: DSLR Remote Pro $299, Breeze Booth $399 a year, 20% off more

See the deals
Breeze Help Center
Video tutorial 6:15

One time Code Example

On this page

One Time Code using HTML.#

This example demonstrates how to create a One Time Code for unlocking the photo booth, or allowing one time access to other parts of the UI (eg reprinting last photo). It may be useful for permanent installs and payment booths, where you need to issue a one time use code to allow a guest to run another session, or re-print a session.

Add the Demo Key to your Authenticator app of choice (eg Google Authenticator)

UYJNL7QUOK4H2WJ3SU5EMMAA24Y2D4S3



Details#

The demo script generates a new one time use code that is valid for 90 seconds from issue. The code can not be re-used. When the code is successfully entered it will display a Take Photo button which will send the "startPhotbooth" command. Upload the demo file to Claude or ChatGPT and have them make any changes you need. For example, you may want to display a "Re Print Last Session" button instead.

Ensure you create a new Unique Key. Do not use the demo key in a live environment.


The Prompt#

Example prompt used in conjunction with the Instruction Sheet to generate this:

I need to unlock Remote Pro using a one-time code generated by an authenticator app (like Google Authenticator). Codes should only be usable once, and only valid for about 120 seconds. Once unlocked, show a "Take Photo" button that fires the booth's "Start photobooth" action (see attached Remote Pro instruction sheet for how that integration works). Style it to match the booth's look — dark glass tiles, rounded, touch-friendly. Needs to run fully offline with no external dependencies. Test that it actually works before giving it to me — right code unlocks, wrong code rejected, and a reused code gets rejected too.

Download the AI Instruction sheet.