U5 generate random props on a specific figure character

Hello, im new to U5 and ive been tasked to randomize props (parts like sunglasses, clothes, hats etc) in a specific character, is for an NFT collection. I want to code and be able to generate multiple pictures with the same character with different backgrounds, clothes, skins and much more. If anyone at least could explain me or give me a hint on how to start, i would be very grateful.