Voice
public struct Voice : Codable, Equatable
Information about an available voice.
-
The URI of the voice.
Declaration
Swift
public var url: String
-
The gender of the voice:
male
orfemale
.Declaration
Swift
public var gender: String
-
The name of the voice. Use this as the voice identifier in all requests.
Declaration
Swift
public var name: String
-
The language and region of the voice (for example,
en-US
).Declaration
Swift
public var language: String
-
A textual description of the voice.
Declaration
Swift
public var description: String
-
If
true
, the voice can be customized; iffalse
, the voice cannot be customized. (Same ascustom_pronunciation
; maintained for backward compatibility.).Declaration
Swift
public var customizable: Bool
-
Additional service features that are supported with the voice.
Declaration
Swift
public var supportedFeatures: SupportedFeatures
-
Returns information about a specified custom model. This field is returned only by the Get a voice method and only when you specify the customization ID of a custom model.
Declaration
Swift
public var customization: CustomModel?