<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVSpeechSynthesisProviderRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:objc(cs)AVSpeechSynthesisProviderRequest"
  },
  "title" : "AVSpeechSynthesisProviderRequest"
}
-->

# AVSpeechSynthesisProviderRequest

An object that represents the text to synthesize and the voice to use.

```
class AVSpeechSynthesisProviderRequest
```

## Topics

### Creating a request

[`-  initWithSSMLRepresentation:voice:`](/documentation/AVFAudio/AVSpeechSynthesisProviderRequest/init(ssmlRepresentation:voice:)-7elh)

Creates a request with a voice and a description.

### Inspecting a request

[`ssmlRepresentation`](/documentation/AVFAudio/AVSpeechSynthesisProviderRequest/ssmlRepresentation)

The description of the text to synthesize.

[`voice`](/documentation/AVFAudio/AVSpeechSynthesisProviderRequest/voice)

The voice to use in the speech request.

[`AVSpeechSynthesisProviderVoice`](/documentation/AVFAudio/AVSpeechSynthesisProviderVoice)

An object that represents a voice that an audio unit provides to its host.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)