Brax's Mystery Machine - Casino Royale Edition
Details
Download Files
About this version
Model description
Brax’s Mystery Machine - Casino Royale Edition (NSFW + SFW VERSIONS)
Hi sharks,
Are you down bad with the autism, and looking for a way to randomize variables in your COMFYUI prompts?
Well, I’ve got the tool for you!
I’m looking for a 0% stake in my company, for 1,000,000 dollars.
I’ve created a simple python script, called “Brax’s Mystery Machine” that loads variables from .txt files in the same directory as the script and attaches them to a prompt that is well built for most AI image / video generators.
These versions replace the main ui with more of a slot machine type look with animations. All functions are the same for the most part!
I know wildcards exist, and other add-ons for comfyui, but I always seem to have difficulty transitioning to another type of pose / scenario for the character.
The current script serves as a bridge to help randomize attributes of a character (female) in different prompts. It can also be a good bridge for folks that aren’t using COMFYUI
Here’s some things that this script currently randomizes:
Hair (type and color)
Skin Color
Body Type
Breast Size
Eye color
facial expression
makeup
Clothing (type and color) (The script can handle tops and bottoms or dresses)
stockings / leggings
shoes (type and color)
Pose / Scenario that the character is in
Here are some other add-ons that can be toggled in app manually:
Topless (removes top type / color and replaces this with: No top, Breasts exposed, Nipples exposed)
Bottomless (removes bottom type / color and replaces this with: no bottoms, crotch exposed, pussy exposed)
Shoeless (removes shoe type / color and replaces this with: no shoes, bare feet exposed)
Top Lift (This toggle still adds the top type / color to the prompt, and adds this line to the prompt as well: top lifted, breasts exposed, nipples exposed)
Nipple Piercings (I find that nipple piercings while wearing any top makes images come out weird, so I made this setting only work if the character is topless or is lifting their top in the prompt)
Dresses (This disables top / bottom and pulls a dress type / color from dresses.txt and dress_color.txt)
Glasses (this will add glasses to the character)
No Makeup (disables makeup from being pulled into the prompt)
No Stockings (disables stockings from being pulled into the prompt)
Don’t like a current item that’s in the mix? Remove it from the .txt file! Want more options? Add them to the .txt file!
Have a lora you’d like to add in to a prompt / item? Add it to the respective .txt file, and it’ll always get created. I didn’t add any items / poses with lora’s, as I would hate for you to have to download a bunch of stuff you might not use.
EXAMPLE: Lifting her top, blushing, looking away from viewer, lora:cfg\_scale\_boost\_854525:0.5 | top lift | glasses |
Find a certain item / color that makes you go “WOW!”? Lock it by clicking on the title for that item, it will turn red and be immune to randomizing!
Each one of the .txt files are where variables are stored, follow this formatting when adding / removing items and scenarios:
1
2
3
Apple
Banana
Horse
ETC….
I spent a lot of (autistic) energy on the way that poses / scenarios are handled from the pose.txt file in the main.py logic.
Essentially, you can hardcode different modifiers for the character at the end of a pose / scenario so that it’s always handled that way.
Here’s the modifiers:
Topless
Bottomless
Shoeless
Nude
Top Lift
No Makeup
Nipple piercings
Glasses
No Stockings
Dress
With any of these predefined in your pose / scenario, it will act the same as manually clicking the checkbox in app.
You can have multiple modifiers running on a pose / scenario at the same time, you just need to format them with a break symbol at the end of your prompts, IE:
Sitting on a couch, legs spread, looking away from viewer | top lift | bottomless | shoeless
Whatever modifiers you predefined on your pose / scenario in pose.txt will show up in app while the pose is selected:
I have also created pose categories, as I was getting lost trying to find certain prompts that were in the pose.txt file.
There are some categories built out already, and you can create new ones by using [category name here], at the top of a said category in pose.txt
Here’s the categories that I’ve already built out:
[ALL] (Built in) (This will show all poses / scenarios for pose.txt, no matter the category)
[MASTURBATION]
[FLASHING]
[POSE]
[AFTER SEX]
[BLOWJOB]
[MISSIONARY]
[DOGGY]
[HANDJOB]
[COWGIRL]
The default start of any prompt piece is as follows:
score_9, score_8_up, score_7_up, 1 woman,
You can modify the main.py file so the start of your prompts will look how you’d like:
Not a big NSFW person? No Problem! I’ve created a different version of this app that doesn’t have that stuff in it!
Requirements / usage:
Python 3.10+
https://www.python.org/ftp/python/3.13.5/python-3.13.5-amd64.exe
PYPERCLIP
open command prompt, after python is installed, and run:
pip install pyperclip
After these two, just double click the .bat file and the program should launch!
If you have any issues getting this to launch though, please let me know.
All in all, I know this creation is a lot (super autistic), and I accept that, but I like when I can randomize things, and this… helps my sanity when I build images / videos.
Got a question, suggestion, or just want to call me autisic AF? Bleep Bloop it down in the comments, and I’ll read / answer accordingly.
I’m always down for looking at your creations! If you’ve modified a .txt file or the entire script, send it my way, and I’ll be sure to shout you out and post a link to your creation!
Post your created media at the bottom of this page! I’d love to see whatever you can make!
I will never monetize this package, or will ever reach out to you for any kind of monetary values, please be careful when talking to strangers gamers! If you take this package and try to sell it, I will blow your house up and subscribe your phone number to a bunch of scammer call centers.
Nonetheless, have fun my discord kittens, and let me know if you need anything.
-Brax

