public class SpeechRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
input
输入文本
Input text
The text to generate audio for.
|
private String |
model
模型
Model https://platform.openai.com/docs/models/tts
One of the available TTS models: tts-1 or tts-1-hd
|
private String |
response_format
响应格式
Response format
The format to audio in.
|
private Double |
speed
速度
Speed
The speed of the generated audio.
|
private String |
voice
声音
Voice
The voice to use when generating the audio.
|
| Constructor and Description |
|---|
SpeechRequest() |
private String model
private String input
private String voice
private String response_format
private Double speed
Copyright © 2024. All rights reserved.