Class RealtimeAudioConfigOutput
- 
                    
                    - All Implemented Interfaces:
 
 public final class RealtimeAudioConfigOutput
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classRealtimeAudioConfigOutput.BuilderA builder for RealtimeAudioConfigOutput. public final classRealtimeAudioConfigOutput.VoiceThe voice the model uses to respond. Voice cannot be changed during the session once the model has responded with audio at least once. Current voice options are alloy,ash,ballad,coral,echo,sage,shimmer,verse,marin, andcedar. We recommendmarinandcedarfor best quality.
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<RealtimeAudioFormats>format()The format of the output audio. final Optional<Double>speed()The speed of the model's spoken response as a multiple of the original speed. final Optional<RealtimeAudioConfigOutput.Voice>voice()The voice the model uses to respond. final JsonField<RealtimeAudioFormats>_format()Returns the raw JSON value of format. final JsonField<Double>_speed()Returns the raw JSON value of speed. final JsonField<RealtimeAudioConfigOutput.Voice>_voice()Returns the raw JSON value of voice. final Map<String, JsonValue>_additionalProperties()final RealtimeAudioConfigOutput.BuildertoBuilder()final RealtimeAudioConfigOutputvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RealtimeAudioConfigOutput.Builderbuilder()Returns a mutable builder for constructing an instance of RealtimeAudioConfigOutput. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        formatfinal Optional<RealtimeAudioFormats> format() The format of the output audio. 
 - 
                                        speedfinal Optional<Double> speed() The speed of the model's spoken response as a multiple of the original speed. 1.0 is the default speed. 0.25 is the minimum speed. 1.5 is the maximum speed. This value can only be changed in between model turns, not while a response is in progress. This parameter is a post-processing adjustment to the audio after it is generated, it's also possible to prompt the model to speak faster or slower. 
 - 
                                        voicefinal Optional<RealtimeAudioConfigOutput.Voice> voice() The voice the model uses to respond. Voice cannot be changed during the session once the model has responded with audio at least once. Current voice options are alloy,ash,ballad,coral,echo,sage,shimmer,verse,marin, andcedar. We recommendmarinandcedarfor best quality.
 - 
                                        _formatfinal JsonField<RealtimeAudioFormats> _format() Returns the raw JSON value of format. Unlike format, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _speedfinal JsonField<Double> _speed() Returns the raw JSON value of speed. Unlike speed, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _voicefinal JsonField<RealtimeAudioConfigOutput.Voice> _voice() Returns the raw JSON value of voice. Unlike voice, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal RealtimeAudioConfigOutput.Builder toBuilder() 
 - 
                                        validatefinal RealtimeAudioConfigOutput validate() 
 - 
                                        builderfinal static RealtimeAudioConfigOutput.Builder builder() Returns a mutable builder for constructing an instance of RealtimeAudioConfigOutput. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-