audio and image are input_references for voice cloning and voice design.
Supported Types
SpeechInputModalityText
SpeechInputModalityAudio
SpeechInputModalityImage
Union Discrimination
Use theType field to determine which variant is active, then access the corresponding field: