TextToAudioService Interface

Implements

public interface TextToAudioService
extends AIService

Provides audio to text service.

Method Summary

Modifier and Type Method and Description
static Builder builder()

Gets the builder for the TextToAudioService.

abstract reactor.core.publisher.Mono<AudioContent> getAudioContentAsync(String sampleText, TextToAudioExecutionSettings executionSettings)

Get audio content from text.

Method Details

builder

public static TextToAudioService.Builder builder()

Gets the builder for the TextToAudioService.

Returns:

The builder.

getAudioContentAsync

public abstract Mono getAudioContentAsync(String sampleText, TextToAudioExecutionSettings executionSettings)

Get audio content from text.

Parameters:

sampleText - The sample text.
executionSettings - The AI execution settings.

Returns:

Audio content from text.

Applies to