Refining AI with Surveys and Tokens#
You can refine AI results by letting guests make choices in a survey. For example, guests can choose their skin tone, gender or hair colour, or pick different clothing, teams or brand colours. This video builds a custom trading card using face swap.
What the video covers#
- Setting up radio buttons for each choice.
- Building the Breeze FX URL from the survey data with tokens.
- Configuring Breeze FX to tailor the result to each guest's choices.
This video was recorded in February 2024. DSLR Remote Pro is now called Remote Pro, and some Breeze FX screens may look different today.
Related#
All right. So in this video, I want to have a look at how you can use BreezeFX in tokens, to create more dynamic, AI experiences. Now, this is particularly useful if you need to offer guests a choice of skin tone, gender, hair types, and things like that.
Now, I'm going to show you what we've done in our trading card. This is not going to be the full demo on the trading card, user experience, just I'm going to focus on how we've used, tokens. There will be a full demo and a template coming for this exact experience, but you'll have to bear with me for that one.
It's coming soon. So what I'm going to do is just quickly run through this from start to finish just so you can see how it works and we're going to concentrate on tokens and the AI side of things more so than the text. So I'll hit the start button.
So it's going to ask me to pick my position, which is just about, entering text on the final output, a shirt number, name. Now, this is the bit that we're more interested in here is, the gender and the skin tone. Cause this allows us to fine tune the AI towards the specific person that is in the image.
So we can choose a gender and then we can choose a skin tone. So in this case, we're going to choose a male. With say a light skin tone.
So go ahead and go ahead and hit next and I'll take the photo. And so that'll return once it's processed, that'll return a version of the AI as me, as a male, with a light skin tone. So we'll have a look at the result for that.
Should have taken my glasses off. So I'll probably see a little bit of a weirdness going on around the eyes. Yeah. So otherwise that's a, that's a pretty good result.
I'll go female, and I'll go, much darker skin. Take my glasses off this time, and we'll take a photo. And we'll see in this example how, the output's going to be tailored towards, a female with a lot darker skin, than I have.
So this is just a fairly, and you can take the sort of concept to the next level by adding a lot more options than I've got in this example. we can see here that, It still sort of resembles me, but the output has been tailored. So what I want to concentrate is on how we went about doing that.
So we'll jump into windows. All right. So what we've got here is our AI trading card event, and we need to get into the, touchscreen actions.
Now, I'm not going to show you how to set all of this up. I'm just going to show you how it's currently working. So in terms of the position and the name, these are all custom survey screens, including survey four, which is our gender and skin tone.
So we have two radio buttons here to select our gender. And if we edit each of those, you'll see that we have set the button group as gender, and then we have an option for male, and then we have an option for female. Now, of course, if you wanted to, you could add a non gender, option as well, and it just required a bit more set up, both in the breeze end and also in the AI end, which we'll get to in a sec.
Then we have another set of radio buttons for skin tone, and the group is called skin. And then we have the ID for each one. So I think we've got black, tan and white, and obviously there's more than three skin tones, so you could actually add a lot more.
And if you wanted to, you could also add ethnicities if you thought that would help. But all of that is just more setup work that you need to do, but all completely possible. So when they're selected, Breeze is going to return the result of the gender is either male or female.
The skin tone is either black, tan or white. Now, the important thing is here is to have a look at how we've set up our, post pressing URL. So previously, normally when you're adding in the URL, you're just copy and pasting something from here exactly as it is.
And you're going straight into Breeze. And that's it. That's all you have to do.
But what we're now doing is pulling the survey data and dynamically updating this URL based on the results. So what we've got here is the URL to our company Febreze FX, but then instead of the specific, token for a one particular FX, we're keeping it dynamic. So we're using survey for underscore radio underscore gender to return the gender that was selected dash survey for underscore radio underscore skin, which will then return the color of the skin.
So when the survey is filled in breeze will be sending this URL, but it will be male dash tan or will be female dash white. Now that's important because what we've done here in the setup and in, BreezeFX is we've created all those variations of the players and the skin tones. So you can see here I've got a basketball player, male, white, orange shirt, male, black, orange shirt, male, tanned, orange shirt, and we've got the same for the female, female, black, female, white, female, tanned.
Now, the important thing is, is the URL. And when you're doing something like this, you can change the token to something that's going to work for what you're doing in Breeze. So I have called this male dash black.
And if we go back and say, have a look at one of the options for, the female, female, black, and we go edit. The URL or the token is female dash black. So we're following a very consistent pattern here where the, URL or the token for that configuration is gender dash skin tone.
And that correlates directly to what we've set up in breeze. So therefore when someone selects the female survey option and the black female option, we're passing those variables, female dash black into the event editor here as part of this URL. then Breeze is looking for in BreezeFX the configuration that matches female black, male tanned, female white, etc.
And so that's why it's extremely powerful. it opens up a lot of opportunities, not just for skin tone and gender, it could be hair color, it could be, sporting choices, it could be color of the shirts people are wearing, anything you can think of. And there's really no limit to how many you could have.
So you could literally have thousands or hundreds of thousands of options. Of course, the downside is you have to also pre create, all of the output. so that's how we achieve that aspect of the trading card demo where people could easily select their gender and skin tone in a fun and intuitive way in the user interface.
And all the hard work and heavy lifting has been done behind the scenes using tokens in the event editor and breeze FX. It's a more advanced thing. So if you just jumped into breeze, this might be a little bit to get your head around, but anyone that's used surveys or tokens and breeze previously should be able to grasp this pretty quickly.
But if you have any questions, jump into the comments and let me know.
Was this page helpful?
Thanks, that helps us improve the guides.