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