@genkit-ai/compat-oai
Version:
Genkit AI framework plugin for OpenAI APIs.
17 lines • 493 B
JavaScript
import {
compatOaiSpeechModelRef as openAISpeechModelRef,
SpeechConfigSchema
} from "../audio";
const SUPPORTED_TTS_MODELS = {
"tts-1": openAISpeechModelRef({ name: "openai/tts-1" }),
"tts-1-hd": openAISpeechModelRef({ name: "openai/tts-1-hd" }),
"gpt-4o-mini-tts": openAISpeechModelRef({
name: "openai/gpt-4o-mini-tts",
configSchema: SpeechConfigSchema.omit({ speed: true })
})
};
export {
SUPPORTED_TTS_MODELS,
openAISpeechModelRef
};
//# sourceMappingURL=tts.mjs.map