module AI::Provider::SpeechModel::V3

Overview

Speech Model V3 interface.

Implement this module to create a text-to-speech model provider.

Direct including types

Defined in:

ai/provider/speech_model/speech_model.cr

Instance Method Summary

Instance Method Detail

abstract def do_generate(options : CallOptions) : Result #

Generates speech audio from text.


[View source]
abstract def model_id : String #

Provider-specific model ID for logging purposes.


[View source]
abstract def provider : String #

Name of the provider for logging purposes.


[View source]
def specification_version : String #

Returns the specification version.


[View source]