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.crInstance Method Summary
-
#do_generate(options : CallOptions) : Result
Generates speech audio from text.
-
#model_id : String
Provider-specific model ID for logging purposes.
-
#provider : String
Name of the provider for logging purposes.
-
#specification_version : String
Returns the specification version.
Instance Method Detail
Generates speech audio from text.