Voice

public struct Voice : Codable, Equatable

Information about an available voice.

  • url

    The URI of the voice.

    Declaration

    Swift

    public var url: String
  • The gender of the voice: male or female.

    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; if false, the voice cannot be customized. (Same as custom_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?