Package | Description |
---|---|
cn.hutool.ai.model.openai |
对openai的封装实现
|
Modifier and Type | Method and Description |
---|---|
static OpenaiCommon.OpenaiSpeech |
OpenaiCommon.OpenaiSpeech.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenaiCommon.OpenaiSpeech[] |
OpenaiCommon.OpenaiSpeech.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
OpenaiService.textToSpeech(String input,
OpenaiCommon.OpenaiSpeech voice)
TTS文本转语音 请设置config中model为支持TTS功能的模型 TTS系列
|
InputStream |
OpenaiServiceImpl.textToSpeech(String input,
OpenaiCommon.OpenaiSpeech voice) |
Copyright © 2025. All rights reserved.