pub trait AudioGenerationModelDyn: Send + Sync {
// Required methods
fn audio_generation(
&self,
request: AudioGenerationRequest,
) -> BoxFuture<'_, Result<AudioGenerationResponse<()>, AudioGenerationError>>;
fn audio_generation_request(
&self,
) -> AudioGenerationRequestBuilder<AudioGenerationModelHandle<'_>>;
}๐Deprecated since 0.25.0:
DynClientBuilder and related features have been deprecated and will be removed in a future release. In this case, use AudioGenerationModel instead.Available on crate feature
audio only.Required Methodsยง
fn audio_generation( &self, request: AudioGenerationRequest, ) -> BoxFuture<'_, Result<AudioGenerationResponse<()>, AudioGenerationError>>
๐Deprecated since 0.25.0:
DynClientBuilder and related features have been deprecated and will be removed in a future release. In this case, use AudioGenerationModel instead.fn audio_generation_request( &self, ) -> AudioGenerationRequestBuilder<AudioGenerationModelHandle<'_>>
๐Deprecated since 0.25.0:
DynClientBuilder and related features have been deprecated and will be removed in a future release. In this case, use AudioGenerationModel instead.