---
title: 'How to Make an AI Randomizer Effect in Effect Maker with @varunraikar'
source: 'https://youtube.com/watch?v=Egwuaa7zu2M'
video_id: 'Egwuaa7zu2M'
date: 2026-08-01
duration_sec: 546
---

# How to Make an AI Randomizer Effect in Effect Maker with @varunraikar

> Source: [How to Make an AI Randomizer Effect in Effect Maker with @varunraikar](https://youtube.com/watch?v=Egwuaa7zu2M)

## Summary

Learn how to create an AI-powered randomizer effect in Effect Maker that transforms a selfie into a spirit animal portrait. The video walks through the AI randomizer template, customizing icons and prompts, and publishing the finished effect to YouTube.

### Key Points

- **What the randomizer effect does** [00:02] — The effect cycles through different options, randomly picks one, and generates an AI portrait based on that choice. Ideal for personality quizzes, random character generators, and surprise transformations.
- **Starting with the template** [00:43] — Open Effect Maker in the browser, select the AI randomizer template from the gallery, and a card explains the effect and customization options.
- **Workspace layout** [00:56] — Main panels include the objects panel, assets panel (with images and prompts in folders), visual script panel (the effect's logic), and preview panel for real-time testing.
- **Default effect flow** [01:35] — Icons cycle, user taps, flash triggers, selfie is captured, loading screen appears, and the AI-generated portrait fades in, varying based on the randomly selected option.
- **Camera snapshot and AI image** [02:16] — The camera snapshot captures the selfie and sends it to the create AI image node. The background image, color filter, and loading spinner create the loading state.
- **Dynamically assigned icons** [03:22] — Both the cycling and tapped icons appear blank in the scene view because they are dynamically assigned by the visual script.
- **Uploading custom icons** [04:31] — Use same-resolution PNGs for new icons to ensure they fit perfectly, then replace each icon in the icon list variable.
- **Editing AI prompts** [05:00] — Open the prompts folder, rename entries (e.g., broccoli to croc), and adjust properties like post similarity, art style, and retain likeness.
- **Visual script sections** [05:44] — The 8-section script handles recording start, icon cycling, tap detection, random selection, snapshot, loading phase, and final fade-in. No customization needed.
- **Submitting the effect** [08:22] — Provide a clear before/after split thumbnail, name, description, and ticker, then submit for YouTube review and publication.

### Conclusion

The AI randomizer template works out of the box—only the visuals and prompts need customizing. After a quick review, your effect goes live on YouTube.

## Transcript

show you how to build an AI-powered randomizer effect that transforms your selfie into a spirit animal portrait. We'll be using the AI randomizer the end of this video, you will have your own randomizer AI effect ready to
publish on YouTube. Here's how it works. The effect cycles through different options, randomly picks one, and based on that choice, an AI portrait is generated. You can use this template to create personality quizzes, random
character generators, or even surprise transformations. Basically, any effect where people will get a different result every time they try it. Let's dive in and customize. First, open Effect Maker on your browser and here select the AI
randomizer template from the gallery. Once you open the template, you'll see this card pop up that tells you about the effect and ways to customize it. workspace. On your left, you'll have your objects panel, where you'll see all
the objects in your effect. And here some objects are visible and some are hidden. You see the visible objects in the scene view. Just beside that, we have the assets panel, which has all the images and prompts neatly organized in
folders. This is where we'll customize the prompts, adjust the image generation properties, and also update the icons to match our theme. Below the scene view, you've got the visual script panel. This is the brain of your effect. Click on
this X icon to see all the variables. You can toggle the visibility of this panel by using the change in your button on top, right. And finally, here we have the preview panel where you can test everything in real time. Let me show you
the default effect first. Here at the top, we see the vegetable icon cycling and the title says vegetable portrait. I hit record and tap the screen. Immediately, we see a flash and it stops on a vegetable. Here the user's image is
captured. Then we get a loading screen while the AI is generating the image. Once generated, the transformed image fades in and the coolest part about this is the AI result changes based on the vegetable that got randomly selected.
This is what makes people try this effect again and again. Now, let me show you what's happening behind the scenes. I'll scale down the preview panel and jump to the objects panel. Here, the first object we have is the camera
snapshot, which captures your selfie and sends it to the create AI image node. This is hidden until the photo is taken and the visual script controls when it background image, which is currently
invisible. That is because its opacity is set to 0%. It is just a black image whose opacity slightly increases during the loading phase to visually tell the user that the AI is generating the image. Next, we have the color filter,
which is also hidden by default. I will enable it and adjust the color grading here. Watch what happens when I drag the saturation all the way to the left. We get a black and white image. I'll adjust this to give me a vibrant color effect.
Below that, we have a loading spinner. It rotates while the AI is generating the image. Its opacity currently is set to 0%. If I increase it, you can see the loading spinner. Let's change it to match our theme. To change it, select
the object, click on add asset, and here upload your new loading spinner. I made this one using the nano banana pro model on the Google Gemini app. Once uploaded, it will be automatically applied to the loading spinner object. Next, we have
icon stabbed and icon cycling. If I enable icon stabbed, it's blank because its asset is being dynamically assigned by the visual script. This is the same for icon cycling. It looks blank here in the scene view, but we see the icons
shuffling in the preview panel. That is because its assets are also being dynamically assigned in the visual script. Next is the AI image. This is where you'll see the transformed image appear. It's hidden by default and only
fades in once the generation completes. Below that, we have body segmentation, which is used to capture the user's reaction as the AI generates the image. And finally, we have got our title text and a flash image.
The flash image is just a white image whose opacity goes from zero to one and back to zero, mimicking a camera flash. I'll modify the title to match our spirit animal?" Once written, I'll reposition it using
Time to swap these vegetables for our cute animals. To do that, I'll go to the assets panel, click on upload asset, and upload my new icons. A quick tip here is when you are creating these new icons, check the
make your new PNGs in the same resolution, so that the new icons fit perfectly without any adjustment. Once uploaded, I'll open the variables panel, find the icon list variable, and here, replace each vegetable icon with
here, replace each vegetable icon with my animal icons. text, and even the color filter to match our theme. It's time to edit the AI
image prompts. To do that, I'll go to the assets panel, and here, open the prompts folder. Select the first one, which currently says broccoli, I'll rename it to croc, short for crocodile. Then I'll customize its properties.
post similarity, art style, retain likeness, go watch my AI transformation tutorial where I've covered all of this in detail. It will be linked in the description down below. Now, back to the video. I've updated all the seven
prompts to generate images that match my theme. Now that we are done customizing this effect, let's quickly take a look at the visual script. The visual script has eight sections. This is the part where the recording starts, and it sets
the is recording output to true, and fades out the title. Here we have the cycling loop for icons. This continuously shuffles the icons till the user taps. The continuous shuffling is being handled via the frame update node.
And then here we have the main logic which checks if the user has tapped. Once the user has tapped, it will set the tap variable to true and it will also disable the icon cycling and enable the icon tapped.
This icon tapped asset is dynamically using a random number and each number using a random number and each number maps to a unique icon. start using the start node and it takes the length of the cycling icons and
randomly selects one number in that range. And that same number is used to decide which prompt should be sent to the create AI image node. When the icon tapped is enabled, it also takes a user snapshot using the camera snapshot node
and sends it to the create AI image node. Once the creation has started, this set of nodes enable the loading phase. First, they will trigger a flash, then enable the body segmentation and color filter. The loading spinner is
faded in along with the background. Now, once the image is generated, this set of nodes here at the bottom take the output from create AI image node and it will set the generated image to the AI image canvas asset. Once set, the AI
image canvas is also enabled, then its opacity increases from zero to one to give it that fade in animation look. As soon as it is faded in, the background loading spinner, icon stabbed and the color filter, all of them are hidden.
And finally here we have some more of these scripts. This little section allows us to drag the body segmentation around on the screen and the logic just below that rotates the loading spinner using the frame update node.
That is the logic flow. You don't need to customize any of this, it just works. And now, before you submit, test it on different models in the preview panel. Here, click on view video button and select different models that you want to
select different models that you want to test the effect on.
clicking on the preview on phone button and scan this QR code. Once everything works as expected, click on submit and it will prompt you to upload a thumbnail for your effect. For AR effects, use clear split image that shows before on
one side and after on the other. This makes it super obvious for the user to understand what your effect does. Click on continue and I'll name it spirit animal. Next, for description, I'll write what the effect does. This effect
transforms your selfie into an artistic portrait infused with your spirit animal. And for the ticker, I'll leave it at record and tap. Once done, I'll submit and that's it. Your effect will be published to YouTube once reviewed
and approved by the YouTube team. For more information on using Effect description below and thank you so much for watching till the end. Don't forget to hit the subscribe button for more news and tutorials just like this.
