Namespace: lmnt
Functions
Api
▸ Api(settings
): LmntApiConfiguration
Creates an API configuration for the LMNT API.
It calls the API at https://api.lmnt.com/v1 and uses the LMNT_API_KEY
env variable by default.
Parameters
Name | Type |
---|---|
settings | Omit <BaseUrlPartsApiConfigurationOptions , "baseUrl" > & { baseUrl? : string | Partial <UrlParts > } & { apiKey? : string } |
Returns
Defined in
packages/modelfusion/src/model-provider/lmnt/LmntFacade.ts:9
SpeechGenerator
▸ SpeechGenerator(settings
): LmntSpeechModel
Synthesize speech using the LMNT API.
Parameters
Name | Type |
---|---|
settings | LmntSpeechModelSettings |
Returns
A new instance of LmntSpeechModel.
See
https://docs.lmnt.com/api-reference/speech/synthesize-speech-1
Defined in
packages/modelfusion/src/model-provider/lmnt/LmntFacade.ts:24