Search Results for

    Show / Hide Table of Contents

    Class SpeechSynthesisService

    Inheritance
    object
    CrudServiceBase<AwsClient>
    SpeechSynthesisService
    Implements
    ICrudService
    Inherited Members
    CrudServiceBase<AwsClient>.client
    CrudServiceBase<AwsClient>.ApiKey
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.AmazonAws.Polly.Services
    Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
    Syntax
    public sealed class SpeechSynthesisService : CrudServiceBase<AwsClient>, ICrudService

    Constructors

    | Edit this page View Source

    SpeechSynthesisService(AwsClient)

    Declaration
    public SpeechSynthesisService(AwsClient client)
    Parameters
    Type Name Description
    AwsClient client

    Methods

    | Edit this page View Source

    GetTaskAsync(string, RequestOptions)

    Declaration
    public UniTask<SynthesisTaskWrapper> GetTaskAsync(string taskId, RequestOptions options = null)
    Parameters
    Type Name Description
    string taskId
    RequestOptions options
    Returns
    Type Description
    UniTask<SynthesisTaskWrapper>
    | Edit this page View Source

    ListTasksAsync(SynthesisTaskQuery, RequestOptions)

    Declaration
    public UniTask<SynthesisTaskList> ListTasksAsync(SynthesisTaskQuery query = null, RequestOptions options = null)
    Parameters
    Type Name Description
    SynthesisTaskQuery query
    RequestOptions options
    Returns
    Type Description
    UniTask<SynthesisTaskList>
    | Edit this page View Source

    StartTaskAsync(StartSynthesisTaskRequest, RequestOptions)

    Allows the creation of an asynchronous synthesis task, by starting a new SpeechSynthesisTask. This operation requires all the standard information needed for speech synthesis, plus the name of an Amazon S3 bucket for the service to store the output of the synthesis task and two optional parameters (OutputS3KeyPrefix and SnsTopicArn). Once the synthesis task is created, this operation will return a SpeechSynthesisTask object, which will include an identifier of this task as well as the current status. The SpeechSynthesisTask object is available for 72 hours after starting the asynchronous synthesis task.

    Declaration
    public UniTask<SynthesisTaskWrapper> StartTaskAsync(StartSynthesisTaskRequest request, RequestOptions options = null)
    Parameters
    Type Name Description
    StartSynthesisTaskRequest request
    RequestOptions options
    Returns
    Type Description
    UniTask<SynthesisTaskWrapper>
    | Edit this page View Source

    SynthesizeAsync(SynthesizeSpeechRequest, RequestOptions)

    Declaration
    public UniTask<RESTResponse> SynthesizeAsync(SynthesizeSpeechRequest request, RequestOptions options = null)
    Parameters
    Type Name Description
    SynthesizeSpeechRequest request
    RequestOptions options
    Returns
    Type Description
    UniTask<RESTResponse>

    Implements

    ICrudService

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation