📄Using Variables in EmProps Studio
Using Variables in EmProps Studio
Introduction
One of the core features in the Studio is 'Variables'.
Variables in EmProps Studio offer a way to introduce diversity, precision, and control in the image generation process. This guide will take you through the steps of creating, editing, and applying variables to your projects.
Accessing the Variables Editor

Open your project in Studio.
Navigate to the “Variables” section on your project page.
Click on the “MANAGE” button to open the Variables Editor.
Creating Variables
Character Strings
Click on “ADD ANOTHER” under the Character Strings section.
Enter a name for your variable, for example, ‘color’.
Choose 'Weighted Pick' as the Type if you want certain values to be more likely than others.
Enter the values you want to assign (e.g., red, blue, green), and assign weights to them if necessary.
Click on “SAVE CHANGES” to keep your new variable.
Image Variables
In the Images section, click “ADD ANOTHER” or “ADD MULTIPLE” if you wish to upload several images.
Name your image variable, such as 'Image Variable Group 2'.
Use the "CHOOSE IMAGE" button to upload images from your device.
Once uploaded, they will be available for selection during image generation.
Number Variables
Select “ADD ANOTHER” in the Numbers section.
Input a name for your variable, like ‘seeds’.
Set the variable type to 'Pick' for random selection.
Enter the numerical values you want to include.
Applying Variables to Your Prompt
Return to your project editor where your prompt is configured.
Double-click on the variable in the Variables section to add it to the prompt.
Your chosen variables will now influence the image generation according to the parameters you set.
Best Practices for Variables
Use meaningful names for variables to keep track of their use in different projects.
When using weighted picks, ensure the weights reflect the desired frequency of the values in the generated images.
For number variables like 'seeds', consider using values that significantly alter the output for distinct results.
If you write a {{variable}} within your variables, it will not parse the nested variable. At the moment, variables can only contain a text string; no infinite variable loops allowed!
Managing and Editing Variables
To edit a variable, click the “Edit” button next to it in the Variables Editor.
Adjust the values, weights, or type as needed and save your changes.
You can delete a variable by selecting the “Delete” option.
Importing and Exporting Variables
Use the "IMPORT FROM CSV" function to bulk add variables from a CSV file.
To export your variables for use in another project or for backup, select the "DOWNLOAD AS CSV" which will contain your current variable settings.
Conclusion
Variables are a potent feature in EmProps Studio, giving you the ability to customize and randomize your creative outputs extensively. Experiment with different variable types and values to find the best combination for your projects.
Last updated
Was this helpful?